



  :root {
    --color-primary: #FDCA0B;
    --color-primary-hover: #e0b000;
    --color-bg: #f7f7f7;
    --color-dark: #222937;
    --color-white: #ffffff;
    --font-family: 'Inter', Arial, sans-serif;
  }

  body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-dark);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }

  .login-container {
    background: var(--color-white);
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    width: 100%;
    max-width: 400px;
    position: relative;
  }

  .logo img {
    height: 70px;
    margin-bottom: 20px;
  }







h1 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 30px;

  margin: 20px 0 40px 0;   /* 👈 space above + below */

  color: var(--color-dark);
}











  form {
    text-align: left;
  }

  label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
  }

  /* 🔑 FIX: include email inputs */
  input[type="text"],
  input[type="email"],
  input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 18px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(253, 202, 11, 0.25);
    outline: none;
  }

  .password-wrapper {
    position: relative;
    margin-bottom: 18px;
  }

  .password-wrapper input {
    margin-bottom: 0;
  }


  .toggle-password:hover {
    color: var(--color-primary);
  }

  .toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
  }

  .switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
  }

  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: 0.3s;
  }

  .slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
  }

  input:checked + .slider {
    background-color: #ffd500;
  }

  input:checked + .slider:before {
    transform: translateX(20px);
  }

  .login-btn {
    width: 100%;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease;
  }

  .login-btn:hover {
    background: var(--color-primary-hover);
  }

  .flash {
    padding: 12px 16px;
    margin-bottom: 18px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
  }

  .flash-success { background: #d4edda; color: #155724; }
  .flash-danger  { background: #f8d7da; color: #721c24; }

  @media (max-width: 480px) {
    .login-container { margin: 0 15px; padding: 30px 20px; }
    h1 { font-size: 1.3rem; }
  }















body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-dark);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.login-container {
  background: var(--color-white);
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.logo img {
  height: 70px;
  margin-bottom: 20px;
}

h1 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 30px;
  margin: 20px 0 40px 0;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: var(--color-primary);
  border: none;
  border-radius: 6px;
  color: white;
}








        /* Modern styling for the toggle button */
        .password-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .toggle-password:hover {
            opacity: 0.7;
        }
        .toggle-password svg {
            width: 22px;
            height: auto;
        }






/* Force mobile browsers to respect styling */
.mobile-login input[type="text"],
.mobile-login input[type="email"],
.mobile-login input[type="password"] {

  -webkit-appearance: none;   /* 👈 critical */
  appearance: none;

  width: 100%;
  height: 60px;

  padding: 0 20px;

  border: none;
  border-radius: 999px;

  font-size: 18px;            /* WILL now apply */
  color: #444;

  line-height: 60px;          /* 👈 vertical centering fix */

  background: #ffffff;
  box-sizing: border-box;
}

/* Placeholder styling */
.mobile-login input::placeholder {
  color: #999;
  font-size: 16px;
}



/* PAGE */
body {
  font-family: "Quicksand", sans-serif;
  background: #f4f4f4;

  margin: 0;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* CARD */
.login-container {
  background: #ffffff;
  padding: 35px 40px;

  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  width: 100%;
  max-width: 360px;

  text-align: center;
}

/* LOGO (SMALL + STACKED) */
.logo {
  margin-bottom: 20px;
}

.logo img {
  height: 45px;   /* 👈 smaller logo */
}

/* TITLE */
h1 {
  font-size: 22px;
  margin-bottom: 25px;
  color: #222937;
}

/* FORM */
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* LABELS */
label {
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* INPUTS */
input[type="email"],
input[type="password"] {
  width: 100%;
  height: 42px;

  padding: 0 14px;

  border-radius: 999px;
  border: none;

  background: #e9eef5;
  font-size: 14px;
}

/* BUTTON */
.login-btn {
  margin-top: 10px;

  height: 42px;
  border-radius: 999px;

  background: var(--color-primary);
  color: #fff;
  border: none;

  font-weight: 600;
  cursor: pointer;
}

.login-btn:hover {
  background: var(--color-primary-hover);
}



/* Hide mobile-specific layout */
.login-mobile-panel,
.login-logo-bar {
  display: none;
}

/* Desktop container center */
.desktop-login {
  margin: auto;
}


.logo img {
  height: 70px;   /* 👈 bigger */
}





.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-90%);   /* 👈 vertical centering */

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  color: #666;
}




















