:root {
      --primary: #0b3c74;
      --secondary: #ffffff;
      --accent: #e6f0fb;
      --dark: #0a1f33;
      --muted: #6b7c93;
    }

    * {
      box-sizing: border-box;
      font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    }

    body {
      margin: 0;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      background: linear-gradient(135deg, var(--primary), #06274d);
    }

    .auth-wrapper {
      width: 100%;
      max-width: 900px;
      background: var(--secondary);
      border-radius: 18px;
      box-shadow: 0 25px 60px rgba(0,0,0,0.25);
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr 1fr;
      animation: fadeIn 0.6s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* LEFT PANEL */
    .auth-info {
      background: linear-gradient(160deg, var(--primary), #094a8f);
      color: #fff;
      padding: 60px 45px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .auth-info h2 {
      font-size: 2rem;
      margin-bottom: 14px;
    }

    .auth-info p {
      font-size: 0.95rem;
      line-height: 1.6;
      color: #dbe9ff;
    }

    .toggle-btn {
      margin-top: 35px;
      align-self: flex-start;
      background: transparent;
      border: 2px solid #fff;
      color: #fff;
      padding: 12px 22px;
      border-radius: 30px;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .toggle-btn:hover {
      background: #fff;
      color: var(--primary);
    }

    /* RIGHT PANEL */
    .auth-form {
      padding: 55px 50px;
      position: relative;
    }

    .form {
      display: none;
      animation: slideIn 0.5s ease;
    }

    .form.active {
      display: block;
    }

    @keyframes slideIn {
      from { opacity: 0; transform: translateX(25px); }
      to { opacity: 1; transform: translateX(0); }
    }

    .form h3 {
      font-size: 1.6rem;
      color: var(--primary);
      margin-bottom: 6px;
    }

    .form span {
      font-size: 0.85rem;
      color: var(--muted);
    }

    .input-group {
      margin-top: 22px;
    }

    .input-group label {
      display: block;
      font-size: 0.8rem;
      margin-bottom: 6px;
      color: var(--dark);
      font-weight: 600;
    }

    .input-group input {
      width: 100%;
      padding: 14px 16px;
      border-radius: 10px;
      border: 1px solid #d0d9e4;
      font-size: 0.9rem;
      outline: none;
      transition: border 0.2s, box-shadow 0.2s;
    }

    .input-group input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(11,60,116,0.15);
    }

    .submit-btn {
      margin-top: 30px;
      width: 100%;
      padding: 14px;
      border-radius: 30px;
      border: none;
      background: var(--primary);
      color: #fff;
      font-size: 0.95rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.3s ease, transform 0.1s ease;
    }

    .submit-btn:hover {
      background: #094a8f;
    }

    .submit-btn:active {
      transform: scale(0.98);
    }

    .form-footer {
      margin-top: 18px;
      font-size: 0.8rem;
      text-align: center;
      color: var(--muted);
    }

    .form-footer a {
      color: var(--primary);
      text-decoration: none;
      font-weight: 600;
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .auth-wrapper {
        grid-template-columns: 1fr;
      }

      .auth-info {
        text-align: center;
      }

      .toggle-btn {
        align-self: center;
      }
    }

        /* Quick styles for logo and home button */
    .auth-header {
      text-align: center;
      margin-bottom: 20px;
    }

    .auth-header img {
      height: 100px;
      object-fit: contain;
      border-radius: 50%;
    }

    .home-btn {
      display: inline-block;
      margin-top: 10px;
      padding: 8px 16px;
      background-color: #0b3c74;
      color: white;
      border-color: #fff;
      text-decoration: none;
      border-radius: 5px;
      font-weight: bold;
      transition: background 0.3s;
    }

    .home-btn:hover {
      background-color: #092b55;
    }