body {
    background: #f2f8fa;
}

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.auth-card {
    width: 600px;
    padding: 50px 45px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 45px rgba(0,0,0,0.10);
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
    color: #374151;
}

.input-box {
    position: relative;
    margin-bottom: 22px;
}

.input-box input {
    height: 58px;
    border-radius: 16px;
    padding-left: 50px;
    background: #f3f8fb;
    border: 1px solid #e3e7ed;
    font-size: 15px;
    color: #374151;
}

.input-box input:focus {
    border-color: #1ecbe1;
    box-shadow: 0 0 0 3px rgba(30,203,225,0.25);
}

.input-box .icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #6c7a92;
}

.bottom-link {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
    color: #6b7280;
}

.bottom-link a {
    color: #1ecbe1;
    font-weight: 600;
}

.bottom-link a:hover {
    color: #17b9cd;
}

.btn-auth {
    height: 55px;
    border-radius: 16px;
    background: #1ecbe1;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    border: 2px solid #1ecbe1;
}

.btn-auth:hover {
    background: #17b9cd;
    border-color: #17b9cd;
}

.btn-auth:focus,
.btn-auth:focus-visible {
    outline: none;
    border-color: #1ecbe1;
}

.btn-auth:active {
    border-color: #14a7ba !important;
}

.auth-logo {
    width: 300px; 
    height: auto;
    margin-bottom: 5px;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: #374151;
}

.auth-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 25px;
}
/* ===== Mobile-only overrides — paste at the END of auth.css ===== */
/* Targets phones and small tablets (max-width: 767px) */
@media (max-width: 767px) {
  /* Wrapper: use full viewport height and give breathing room */
  .auth-wrapper {
    min-height: 100dvh;         /* keeps card vertically centered reliably on mobile */
    padding: 18px 14px;        /* small screen padding */
    align-items: center;
    justify-content: center;
  }

  /* Card: full width with a sensible max so it never gets huge */
  .auth-card {
    width: 100%;
    max-width: 420px;          /* caps width on wider phones */
    margin: 18px auto;
    padding: 26px 18px;        /* tighter padding for phones */
    border-radius: 14px;       /* slightly smaller radius on mobile */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* subtle mobile shadow */
  }

  /* Logo and heading */
  .auth-logo {
    width: 140px !important;   /* force mobile logo size (use !important only here to beat inline sizing) */
    margin-bottom: 8px;
  }

  .auth-subtitle {
    font-size: 0.95rem; /* ~15px */
    margin-bottom: 16px;
  }

  /* Inputs + icons */
  .input-box {
    margin-bottom: 16px;
  }

  .input-box .icon {
    left: 12px;
    font-size: 16px;
  }

  .input-box input {
    height: 48px;
    padding-left: 44px;      /* keeps room for icon */
    font-size: 0.95rem;
    border-radius: 12px;
  }

  /* Button */
  .btn-auth {
    height: 48px;
    font-size: 0.98rem;
    border-radius: 12px;
  }

  /* Bottom link */
  .bottom-link {
    font-size: 0.92rem;
    margin-top: 14px;
  }
}

/* Very small phones (narrower than 360px) — make tiny adjustments */
@media (max-width: 360px) {
  .auth-card {
    padding: 18px 12px;
    max-width: 360px;
  }
  .auth-logo { width: 120px !important; }
  .input-box input { height: 44px; padding-left: 40px; font-size: 0.92rem; }
  .btn-auth { height: 44px; font-size: 0.95rem; }
}
