* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary-purple: #5a4bff;
    --dark-navy: #0a2540;
    --text-gray: #64748b;
    --bg-light: #f8f9fc;
}

body {
    background: white;
    overflow-x: hidden;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
}
 .logo img {
      height: 40px; /* Adjust based on your logo size */
      display: block;
    }
/* --- ASIDE SECTION (IMAGE) --- */
.login-aside {
    flex: 1.2;
    background: linear-gradient(rgba(10, 37, 64, 0.4), rgba(10, 37, 64, 0.4)), 
                url('https://images.unsplash.com/photo-1493809842364-78817add7ffb?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: white;
}

.aside-content {
    max-width: 500px;
}

.brand-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
    color: white;
}

.brand-logo span { color: #a89fff; }

.aside-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.aside-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* --- MAIN SECTION (FORM) --- */
.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: white;
}

.login-form-container {
    max-width: 420px;
    width: 100%;
}

.mobile-logo {
    display: none;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--dark-navy);
}

.mobile-logo span { color: var(--primary-purple); }

.form-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-gray);
    margin-bottom: 32px;
}

/* Social Buttons */
.social-login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.social-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.social-btn img { width: 20px; }

.divider {
    text-align: center;
    position: relative;
    margin-bottom: 24px;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    font-size: 13px;
    color: var(--text-gray);
}

/* Form Groups */
.input-group {
    margin-bottom: 20px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 14px 14px 48px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    transition: 0.3s;
}

.input-wrapper input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(90, 75, 255, 0.1);
}

.forgot-link, .auth-footer a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.form-options {
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-gray);
    cursor: pointer;
}

.login-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 24px;
}

.login-submit-btn:hover {
    background: #4335e6;
    transform: translateY(-2px);
}

.auth-footer {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;


} /* =====================================================
   MOBILE — BG IMAGE OUTSIDE FORM (MATCH SIGNUP PAGE)
   ===================================================== */
@media (max-width: 768px) {

  /* 🔥 Move background image to BODY */
  body {
    background:
      linear-gradient(rgba(10, 37, 64, 0.55), rgba(10, 37, 64, 0.55)),
      url('https://applescoop.org/image/wallpapers/iphone/88687086508350787-93966135943258583.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
  }

  /* Remove image section completely */
  .login-aside {
    display: none;
  }

  /* Ensure background is not blocked */
  .login-wrapper,
  .login-main {
    background: transparent !important;
  }

  /* Center the card */
  .login-main {
    min-height: 100vh;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* White floating card */
  .login-form-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 22px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  }

  /* Optional: show logo inside card */
  .mobile-logo {
    display: block;
    text-align: center;
    margin-bottom: 18px;
  }
}
/* General Logo Styling */
.login-main .logo {
    margin-bottom: 2rem; /* Adds gap between logo and "Create Account" text */
}

.login-main .logo img {
    height: 45px; /* Adjust height as needed */
    display: block;
}

/* Mobile Specific Adjustments */
@media (max-width: 768px) {
    .login-main .logo {
        display: flex;
        justify-content: center; /* Centers the logo horizontally */
        align-items: center;
        margin-bottom: 2.5rem; /* Increased gap for mobile readability */
    }

    .form-header {
        text-align: center; /* Centers the "Create Account" text to match centered logo */
    }
}