:root {
  --accent: #ffd05a;
  --accent-dark: #f0b93a;
  --muted: #888;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f5f5f5;
}

/* Layout */
.wrap {
  display: flex;
  height: 100vh;
}

/* LEFT SIDE */
.left {
  flex: 0 0 48%;
  padding: 60px;
  background: #ffffffdd;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.left-container {
  width: 100%;
  max-width: 480px;
}

/* BRAND */
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.brand img {
  width: 120px;
  height: 120px;
  border-radius: 14px;
  object-fit: cover;
}

.brand h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
}

.brand p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* FORM CARD */
.card {
  padding: 30px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(207, 225, 14, 0.08);
}

.title {
  font-size: 22px;
  margin: 0 0 6px;
}

.subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #444;
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  margin-bottom: 15px;
  background: #fff;
}

/* Focus Effects */
input:focus,
select:focus {
  outline: none;
  border-color: #e7ee55;
  box-shadow: 0 0 6px #e7ee55;
}

/* Select Arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23888' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: right 14px center;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}


/* Hover Effects */
select:hover {
  border-color: #e7ee55;
  box-shadow: 0 0 8px rgba(231, 238, 85, 0.5);
}

select option {
  font-size: 14px;
  padding: 10px;
}

/* Button */
.btn {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  cursor: pointer;
}

.others {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.others a {
  color: #2575fc;
  text-decoration: none;
  font-weight: 600;
}

.others a:hover {
  text-decoration: underline;
}

/* RIGHT SIDE */
.right {
  flex: 1;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  transition: transform .4s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.hero-img:hover {
  transform: scale(1.02);
}

/* MESSAGE STYLES */
.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
}

.info-message {
  background-color: #d1ecf1;
  color: #0c5460;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 1px solid #bee5eb;
}


/* -----------------------
   RESPONSIVE DESIGN
-------------------------*/

/* Tablets */
@media (max-width: 1024px) {
  .wrap {
    height: auto;
    flex-direction: column;
  }

  .left {
    width: 100%;
    padding: 40px;
  }

  .right {
    width: 100%;
    height: 350px;
    padding: 20px;
  }

  .brand img {
    width: 100px;
    height: 100px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .left {
    padding: 30px 20px;
  }

  .right {
    height: 260px;
    padding: 15px;
  }

  .card {
    padding: 20px;
  }

  .brand h1 {
    font-size: 20px;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .brand {
    flex-direction: column;
    text-align: center;
  }

  .brand img {
    width: 90px;
    height: 90px;
  }

  .hero-img {
    border-radius: 20px;
  }

  input,
  select {
    font-size: 13px;
  }

  .btn {
    font-size: 14px;
  }
}

/* Ultra-Small Screens */
@media (max-width: 360px) {
  .left {
    padding: 20px 15px;
  }

  .card {
    padding: 18px;
  }
}