/* ============================================
   MockBee - Sign Up Page Styles
   Theme: Vintage Parchment / Warm Cream / Lumina
   ============================================ */

.signup-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #E9E4E2;
    position: relative;
    overflow: hidden;
    padding: 10px 20px; /* Reduced vertical padding */
    gap: 12px; /* Tightened from 30px */
}

/* ---- Welcome Minimal Styling (Synced) ---- */
.welcome-minimal {
    text-align: center;
    z-index: 5;
    animation: fadeInDown 0.6s ease-out;
    margin-bottom: 0px; /* Ensure no extra space */
}

.welcome-minimal__title {
    font-family: var(--font-heading);
    font-size: 2rem; /* Reduced from 2.4rem */
    font-weight: 900;
    color: #1A1A1A;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.welcome-minimal__subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem; /* Reduced from 1.1rem */
    color: #666;
    max-width: 480px;
    margin: 0 auto;
    padding-left: 0;
    line-height: 1.4;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Falling Blocks Animation (Synced with Login) ---- */
.bg-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-bubbles li {
    position: absolute;
    list-style: none;
    display: block;
    width: 40px;
    height: 40px;
    background-color: rgba(140, 140, 140, 0.25);
    bottom: -160px;
    animation: square 18s infinite;
    transition-timing-function: linear;
}

.bg-bubbles li:nth-child(1) { left: 10%; }
.bg-bubbles li:nth-child(2) { left: 20%; width: 80px; height: 80px; animation-delay: 2s; animation-duration: 17s; }
.bg-bubbles li:nth-child(3) { left: 25%; animation-delay: 4s; }
.bg-bubbles li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-duration: 22s; background-color: rgba(135, 135, 135, 0.35); }
.bg-bubbles li:nth-child(5) { left: 70%; }
.bg-bubbles li:nth-child(6) { left: 80%; width: 120px; height: 120px; animation-delay: 3s; background-color: rgba(140, 140, 140, 0.15); }
.bg-bubbles li:nth-child(7) { left: 32%; width: 160px; height: 160px; animation-delay: 7s; }
.bg-bubbles li:nth-child(8) { left: 55%; width: 20px; height: 20px; animation-delay: 15s; animation-duration: 40s; }
.bg-bubbles li:nth-child(9) { left: 25%; width: 10px; height: 10px; animation-delay: 2s; animation-duration: 40s; background-color: rgba(140, 140, 140, 0.35); }
.bg-bubbles li:nth-child(10) { left: 90%; width: 160px; height: 160px; animation-delay: 11s; }
.bg-bubbles li:nth-child(11) { left: 15%; width: 50px; height: 50px; animation-delay: 1s; animation-duration: 20s; }
.bg-bubbles li:nth-child(12) { left: 65%; width: 30px; height: 30px; animation-delay: 5s; animation-duration: 15s; }
.bg-bubbles li:nth-child(13) { left: 45%; width: 100px; height: 100px; animation-delay: 8s; animation-duration: 25s; }
.bg-bubbles li:nth-child(14) { left: 5%; width: 15px; height: 15px; animation-delay: 12s; animation-duration: 35s; }
.bg-bubbles li:nth-child(15) { left: 75%; width: 45px; height: 45px; animation-delay: 3s; animation-duration: 18s; }
.bg-bubbles li:nth-child(16) { left: 37%; width: 130px; height: 130px; animation-delay: 14s; animation-duration: 30s; }
.bg-bubbles li:nth-child(17) { left: 50%; width: 25px; height: 25px; animation-delay: 9s; animation-duration: 22s; }
.bg-bubbles li:nth-child(18) { left: 85%; width: 70px; height: 70px; animation-delay: 6s; animation-duration: 26s; }
.bg-bubbles li:nth-child(19) { left: 22%; width: 35px; height: 35px; animation-delay: 10s; animation-duration: 20s; }
.bg-bubbles li:nth-child(20) { left: 95%; width: 90px; height: 90px; animation-delay: 17s; animation-duration: 45s; }

@keyframes square {
    0% {
        transform: translateY(-1100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(1100px) rotate(600deg);
        opacity: 0;
    }
}

/* Card Container */
.signup-card {
    position: relative;
    z-index: 5;
    background: var(--white);
    border-radius: 20px; /* Slightly smaller radius */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05), 0 0 30px rgba(216, 196, 182, 0.15);
    width: 100%;
    max-width: 880px; /* More compact width */
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(216, 196, 182, 0.25);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    max-height: 92vh; /* More flexible height */
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Left: Illustration Side */
.signup-card__visual {
    flex: 1;
    background: #FDFBFA; /* Lighter beige for cleaner look */
    padding: 20px 30px; /* Reduced vertical from 40px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.signup-card__visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(216, 196, 182, 0.6), transparent);
    pointer-events: none;
}

.signup-card__img {
    width: 50%; /* Further reduced mascot */
    max-width: 150px;
    height: auto;
    object-fit: contain;
    margin-bottom: 8px; /* Further reduced from 12px */
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

.signup-card__quote {
    font-family: var(--font-heading);
    font-size: 1.25rem; /* Smaller font */
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
}

.signup-card__subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-medium);
    position: relative;
    z-index: 2;
    opacity: 0.8;
}

/* Right: Form Side */
.signup-card__form-wrapper {
    flex: 1.3;
    padding: 12px 35px 25px; /* Minimized top padding from 15px */
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Ensure headers are at the top */
}

.form-header {
    margin-bottom: 10px; /* Further compacted from 15px */
}

.form-header__title {
    font-family: var(--font-heading);
    font-size: 1.8rem; /* Smaller from 2.1rem */
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.form-header__desc {
    font-family: var(--font-body);
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Tighter gap from 8px */
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.85rem; /* Smaller from 0.9rem */
    font-weight: 600;
    color: var(--text-dark);
}

.form-input {
    width: 100%;
    font-family: var(--font-body);
    padding: 8px 16px; /* Further compacted from 9px */
    border: 1.5px solid #F0ECEB;
    border-radius: 10px;
    font-size: 0.85rem; /* Smaller from 0.9rem */
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: #fdfcfb;
}

/* 1. Remove Blue Background (Autofill & Focus) */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover, 
.form-input:-webkit-autofill:focus, 
.form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 40px #fdfcfb inset !important;
    -webkit-text-fill-color: #1A1A1A !important;
}

/* Password Visibility Styles */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 15px;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 5px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #1A1A1A;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(216, 196, 182, 0.2);
}

.form-input::placeholder {
    color: #A0A0A0;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-link {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.form-link:hover {
    color: #000000;
}

.btn-submit {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.btn-submit:hover {
    background: var(--gold);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(216, 196, 182, 0.4);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-medium);
    font-size: 0.8rem;
    margin: 10px 0; /* Reduced from 18px */
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #E9E4E2;
}

.auth-divider span {
    padding: 0 15px;
}

.social-login {
    display: flex;
    gap: 10px;
}

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px; /* Reduced from 10px */
    border: 1.5px solid #F0ECEB;
    background: var(--white);
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-social:hover {
    border-color: var(--gold);
    background: rgba(216, 196, 182, 0.05);
}

.auth-redirect {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

@media (max-width: 900px) {
    .signup-card {
        flex-direction: column;
    }

    .signup-card__visual {
        padding: 40px 20px;
    }

    .signup-card__img {
        max-width: 200px;
    }
}

@media (max-width: 600px) {
    .signup-card__form-wrapper {
        padding: 40px 20px;
    }

    .form-header__title {
        font-size: 2rem;
    }

    .social-login {
        flex-direction: column;
    }
}