:root {
    --brand-dark: #0f172a;
    --brand-accent: #3b82f6;
    --glass-bg: #ffffff;
}

body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
}

.split-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.visual-pane {
    flex: 0.5;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: white;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.visual-pane h1 {
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.visual-pane p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
}

.form-pane {
    flex: 1.5;
    padding: 40px;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px;
}

.registration-card {
    background: var(--glass-bg);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.section-header {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--brand-accent);
    margin: 35px 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #f1f5f9;
}

.form-label {
    font-weight: 600;
    font-size: 0.82rem;
    color: #475569;
    margin-bottom: 6px;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.9rem;
    padding: 10px 12px;
}

.form-control:focus {
    border-color: var(--brand-accent);
    box-shadow: none;
}

.btn-primary-custom {
    background-color: var(--brand-dark);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: 0.2s;
}

.btn-primary-custom:hover {
    background-color: #334155;
    transform: translateY(-1px);
}

.photo-box {
    width: 120px;
    height: 120px;
    background: #f1f5f9;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#capturedImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1100px) {
    .visual-pane {
        display: none;
    }

    .split-container {
        display: block;
    }

    .form-pane {
        padding: 20px;
    }
}

.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 100px;
    /* VERY IMPORTANT */
}

.g-recaptcha {
    transform: scale(0.85);
    transform-origin: center;
}

/* Registration Accordion Styles */
.custom-registration-accordion .accordion-item {
    border: 1px solid #e2e8f0 !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.custom-registration-accordion .accordion-button {
    background-color: #f8fafc;
    color: #475569;
    box-shadow: none !important;
}

.custom-registration-accordion .accordion-button:not(.collapsed) {
    background-color: #ebf5ff;
    color: var(--brand-accent);
}

.custom-registration-accordion .accordion-button::after {
    transition: transform 0.3s ease;
}

.custom-registration-accordion .accordion-button i {
    transition: transform 0.3s ease;
}

.custom-registration-accordion .accordion-button:not(.collapsed) i {
    transform: scale(1.2);
}

.custom-registration-accordion .accordion-body {
    background-color: #ffffff;
}

/* Error highlighting for accordion headers */
.accordion-header.has-error .accordion-button {
    border-left: 4px solid #ef4444;
    color: #ef4444;
}
