.signup-wrapper {
    display: flex;
    min-height: 100vh;
}

.signup-image-side {
    flex: 0 0 40%;
    background: linear-gradient(rgba(0, 0, 0, 0.94), rgba(12, 53, 158, 0.94)), url('../images/login_spare_part.png');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8rem 5rem 6rem 5rem;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-form-side {
    flex: 0 0 60%;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    padding: 4rem 6%;
    overflow-y: auto;
    max-height: 100vh;
}

.login-logo {
    max-height: 55px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.hero-content {
    max-width: 580px;
    width: 100%;
    margin: 0;
    text-align: left;
}

.hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.signup-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

.signup-title {
    font-weight: 800;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
    color: var(--primary-blue);
}

.section-header i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.full-width {
    grid-column: span 2;
}

.input-group {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background-color: #fcfdfe;
    transition: var(--transition);
    overflow: hidden;
}

.input-group:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(12, 53, 158, 0.08);
}

.input-group .form-control,
.input-group .form-select,
.input-group .input-group-text {
    border: none !important;
    background-color: transparent !important;
    padding: 0.75rem 1rem;
}

.input-group .form-control:focus,
.input-group .form-select:focus {
    box-shadow: none !important;
}

.captcha-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.captcha-label {
    white-space: nowrap;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.captcha-display {
    background: white;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--primary-blue);
    border: 1px solid #e2e8f0;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.refresh-btn {
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
    padding: 5px;
}

.refresh-btn:hover {
    color: var(--primary-blue);
    transform: rotate(30deg);
}

.register-btn {
    padding: 1rem 3rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(12, 53, 158, 0.2);
}

.footer-side {
    width: 100%;
    text-align: left;
    margin-bottom: 6rem;
}

.footer-side p {
    margin-bottom: 0.25rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ── Responsive Refinements ────────────────────────────────── */
@media (max-width: 1200px) {
    .signup-image-side {
        flex: 0 0 35%;
        padding: 6rem 3rem 4rem 3rem;
    }

    .signup-form-side {
        flex: 0 0 65%;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
}

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

    .signup-image-side {
        display: none;
    }

    .signup-form-side {
        flex: 1;
        width: 100%;
        padding: 3rem 1.5rem;
        max-height: none;
        overflow-y: visible;
    }

    .signup-card {
        padding: 2rem 1.5rem;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .signup-title {
        font-size: 1.6rem;
        text-align: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .full-width {
        grid-column: span 1;
    }

    .captcha-section {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 1.25rem;
    }

    .captcha-display {
        width: 100%;
        padding: 0.8rem;
    }

    .captcha-section .input-group {
        width: 100% !important;
    }

    .section-header {
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .signup-form-side {
        padding: 2rem 1.25rem;
    }

    .signup-card {
        padding: 0.5rem 0;
        width: 100%;
    }

    .signup-title {
        font-size: 1.5rem;
        margin-bottom: 1.75rem;
        text-align: center;
    }

    .mobile-logo-header {
        margin-bottom: 2rem !important;
    }

    .mobile-logo-header img {
        max-height: 45px;
    }

    .register-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}