/* Signup Page Styles - Same as Login but taller hero */

.signup-page {
    background: #FFFFFF;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* ===== Hero Section (taller than login) ===== */
.signup-hero {
    position: relative;
    width: 100%;
    min-height: 1200px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Rectangle 5 - Background gradient */
.signup-hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: url('../images/loginbgrect.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 0;
}

/* Ensure background is not overridden */
.signup-hero-bg {
    background-image: url('../images/loginbgrect.png') !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ellipse 3 - Large circle, right side */
.signup-hero-ellipse {
    position: absolute;
    width: 1366px;
    height: 1360px;
    left: calc(50% - 8px);
    top: -121px;
    background: linear-gradient(196.22deg, #CEB4A1 10.21%, #F0E4D5 90.67%);
    border-radius: 40%;
    z-index: 1;
    opacity: 0.85;
}

/* ===== Hero Container ===== */
.signup-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 60px;
}

/* ===== User Badge ===== */
.signup-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 122px;
    height: 54px;
    background: #ECDECE;
    border-radius: 79px;
    margin-bottom: 20px;
    position: relative;
}

.signup-hero-icon .user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, #DECBBA 0%, #D3BBA9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.signup-hero-icon .user-avatar i {
    font-size: 22px;
    color: #000000;
}

.signup-hero-icon span {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 25.74px;
    line-height: 150%;
    color: #000000;
    margin-left: 32px;
}

/* ===== Title ===== */
.signup-hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 56.57px;
    line-height: 130%;
    text-align: center;
    letter-spacing: -0.003em;
    color: #000000;
    margin-bottom: 4px;
}

/* ===== Subtitle ===== */
.signup-hero-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 28.29px;
    line-height: 155%;
    text-align: center;
    color: #666666;
    margin-bottom: 40px;
}

/* ===== Signup Form Card ===== */
.signup-form-card {
    box-sizing: border-box;
    width: 614px;
    max-width: calc(100% - 40px);
    background: rgba(240, 228, 213, 0.5);
    border: 1.37px solid rgba(66, 47, 9, 0.52);
    box-shadow: 7px 5.49px 5.49px rgba(0, 0, 0, 0.25);
    border-radius: 27.43px;
    padding: 42px 45px 40px;
}

/* Form Groups */
.signup-form-group {
    margin-bottom: 18px;
}

.signup-form-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 21.94px;
    line-height: 150%;
    color: #000000;
    margin-bottom: 8px;
}

/* Input Wrapper with Icon */
.signup-input-wrapper {
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 54.85px;
    background: #F9F8F6;
    border: 1.37px solid rgba(66, 47, 9, 0.52);
    border-radius: 13.71px;
    padding: 0 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.signup-input-wrapper:focus-within {
    border-color: #696DAC;
    box-shadow: 0 0 0 3px rgba(105, 109, 172, 0.15);
}

.signup-input-wrapper>i {
    font-size: 20px;
    color: #666666;
    flex-shrink: 0;
    margin-right: 10px;
}

.signup-form-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 19.2px;
    line-height: 23px;
    color: #000000;
    outline: none;
}

.signup-form-input::placeholder {
    color: #999999;
}

/* Password Toggle Button */
.password-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #666666;
    font-size: 20px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #696DAC;
}

/* Terms Checkbox */
.signup-terms {
    margin-bottom: 20px;
    margin-top: 8px;
}

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #2C2C2C;
    cursor: pointer;
    position: relative;
    padding-left: 32px;
}

.terms-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.terms-checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 1.5px solid rgba(66, 47, 9, 0.52);
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s;
}

.terms-checkbox input:checked~.terms-checkmark {
    border-color: #696DAC;
    background: #FFFFFF;
}

.terms-checkmark::after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #696DAC;
    transform: translate(-50%, -50%);
}

.terms-checkbox input:checked~.terms-checkmark::after {
    display: block;
}

.terms-checkbox a {
    color: #2C2C2C;
    text-decoration: underline;
    transition: color 0.2s;
}

.terms-checkbox a:hover {
    color: #696DAC;
}

/* Submit Button */
.signup-submit-btn {
    width: 100%;
    height: 54.85px;
    background: #696DAC;
    color: #F9F8F6;
    border: none;
    border-radius: 16.46px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 19.2px;
    line-height: 27px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0px 10.97px 32.91px rgba(44, 44, 44, 0.08),
        0px 5.49px 16.46px rgba(44, 44, 44, 0.1);
    transition: all 0.3s ease;
}

.signup-submit-btn:hover {
    background: #565A8C;
    transform: translateY(-2px);
    box-shadow: 0px 14px 40px rgba(44, 44, 44, 0.12),
        0px 8px 24px rgba(44, 44, 44, 0.14);
}

/* Sign In Link */
.signup-login-link {
    text-align: center;
    margin-top: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 19.2px;
    line-height: 27px;
    color: #666666;
}

.signup-login-link a {
    color: #666666;
    font-weight: 400;
    font-size: 19.2px;
    text-decoration: underline;
    transition: color 0.2s;
}

.signup-login-link a:hover {
    color: #696DAC;
}

/* ===== Footer Overrides (Same as login) ===== */

.signup-page .main-footer {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 100px 0px;
    gap: 24px;
    background: #F5F2EE;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.signup-page .footer-bg-ellipse {
    position: absolute;
    width: 535px;
    height: 535px;
    right: -427px;
    top: -250px;
    background: linear-gradient(196.22deg, #F0E4D5 10.21%, #D2976A 90.67%);
    filter: blur(200px);
    z-index: 0;
    border-radius: 50%;
}

.signup-page .footer-bg-3d {
    display: none;
}

.signup-page .footer-container {
    width: 100%;
    max-width: 1240px;
    position: relative;
    z-index: 1;
}

.signup-page .footer-newsletter-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
}

.signup-page .newsletter-text h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
    color: #000000;
    margin-bottom: 6px;
}

.signup-page .newsletter-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #666666;
    margin: 0;
}

.signup-page .newsletter-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.signup-page .newsletter-input-group {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    width: 196px;
    height: 40px;
    background: #F5F2EE;
    border: 1px solid #696DAC;
    border-radius: 8px;
}

.signup-page .newsletter-input-group input {
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0.006em;
    color: #696DAC;
    outline: none;
    width: 100%;
}

.signup-page .newsletter-input-group input::placeholder {
    color: #696DAC;
}

.signup-page .btn-subscribe {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    width: 100px;
    height: 40px;
    background: #696DAC;
    box-shadow: 0px 8px 24px rgba(44, 44, 44, 0.08), 0px 4px 12px rgba(44, 44, 44, 0.1);
    border-radius: 8px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0.005em;
    color: #F9F8F6;
    cursor: pointer;
    transition: background 0.2s;
}

.signup-page .btn-subscribe:hover {
    background: #565A8C;
}

.signup-page .footer-divider {
    border: none;
    border-top: 1px solid #E8E5E1;
    margin: 24px 0;
    width: 100%;
}

.signup-page .footer-main-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
}

.signup-page .footer-logo {
    margin-bottom: 30px;
}

.signup-page .footer-logo-img {
    width: 154px;
    height: 48px;
    object-fit: contain;
}

.signup-page .footer-brand-col {
    flex: 1;
    max-width: 256px;
}

.signup-page .footer-brand-desc p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #2C2C2C;
    margin-bottom: 10px;
}

.signup-page .footer-nav-col {
    flex: 1;
    max-width: 216px;
}

.signup-page .footer-nav-col h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0.004em;
    color: #2C2C2C;
    margin-bottom: 20px;
}

.signup-page .footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.signup-page .footer-nav-list li a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #2C2C2C;
    text-decoration: none;
    transition: color 0.2s;
}

.signup-page .footer-nav-list li a:hover {
    color: #696DAC;
}

.signup-page .footer-middle-bar {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #E8E5E1;
    margin-top: 24px;
}

.signup-page .vetting-badges {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.signup-page .vetting-badge {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.signup-page .vetting-badge i {
    font-size: 24px;
    color: #2C2C2C;
}

.signup-page .vetting-badge span {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0.006em;
    color: #2C2C2C;
}

.signup-page .social-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.signup-page .social-icons a {
    color: #2C2C2C;
    font-size: 24px;
    transition: color 0.2s;
}

.signup-page .social-icons a:hover {
    color: #696DAC;
}

.signup-page .footer-legal-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.signup-page .footer-copyright {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #6E6E6E;
}

.signup-page .footer-legal-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 11px;
}

.signup-page .footer-legal-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #6E6E6E;
    text-decoration: none;
    transition: color 0.2s;
}

.signup-page .footer-legal-links a:hover {
    color: #2C2C2C;
}

/* ===== Responsive ===== */

@media (max-width: 992px) {
    .signup-hero {
        min-height: auto;
    }

    .signup-hero-container {
        padding: 100px 30px 50px;
    }

    .signup-hero-title {
        font-size: 44px;
    }

    .signup-hero-desc {
        font-size: 22px;
    }

    .signup-form-card {
        width: 100%;
        max-width: 520px;
    }

    .signup-hero-ellipse {
        width: 1000px;
        height: 1000px;
        left: auto;
        right: -500px;
        top: -100px;
    }

    .signup-page .main-footer {
        padding: 40px 40px 0;
    }

    .signup-page .footer-newsletter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .signup-page .footer-main-grid {
        flex-wrap: wrap;
        gap: 24px;
    }

    .signup-page .footer-brand-col {
        max-width: 100%;
        width: 100%;
    }

    .signup-page .footer-nav-col {
        width: calc(50% - 12px);
        max-width: none;
    }
}

@media (max-width: 576px) {
    .signup-hero-container {
        padding: 90px 20px 40px;
    }

    .signup-hero-title {
        font-size: 36px;
    }

    .signup-hero-desc {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .signup-form-card {
        padding: 30px 24px;
        border-radius: 20px;
    }

    .signup-form-label {
        font-size: 18px;
    }

    .signup-form-input {
        font-size: 16px;
    }

    .signup-submit-btn {
        font-size: 16px;
        height: 50px;
    }

    .signup-login-link,
    .signup-login-link a {
        font-size: 16px;
    }

    .terms-checkbox {
        font-size: 14px;
    }

    .signup-hero-ellipse {
        width: 700px;
        height: 700px;
        right: -350px;
        top: -50px;
    }

    .signup-page .main-footer {
        padding: 30px 20px 0;
    }

    .signup-page .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .signup-page .newsletter-input-group {
        width: 100%;
    }

    .signup-page .btn-subscribe {
        width: 100%;
    }

    .signup-page .footer-nav-col {
        width: 100%;
    }

    .signup-page .footer-middle-bar {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .signup-page .footer-legal-bar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}