:root {
    --primary: #6CBC06;
    --primary-hover: #5aa805;
    --primary-active: #4e9604;
    --primary-rgb: 108, 188, 6;
    --primary-light: #f0fbe0;
    --primary-lighter: #f8fdf0;
    --primary-dark: #4a8004;
    --primary-darker: #2d4f03;
    --dark: #1E293B;
    --darker: #0F172A;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #F1F5F9;
    --slate-50: #F8FAFC;
    --white: #FFFFFF;
    --danger: #ef4444;
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    font-family: 'Urbanist', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}

::selection {
    background: rgba(108, 188, 6, 0.15);
    color: var(--primary-hover);
}

/* ========== SPLIT LAYOUT ========== */
.split-container {
    display: flex;
    flex-direction: column-reverse;
    min-height: 100vh;
}

@media (min-width: 992px) {
    .split-container {
        flex-direction: row;
    }

    .visual-col {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 50%;
    }

    .form-col {
        width: 50%;
        min-height: 100vh;
    }
}

/* ========== VISUAL COLUMN ========== */
.visual-col {
    position: relative;
    background: linear-gradient(135deg, var(--primary-darker), var(--darker));
    overflow: hidden;
}

.visual-bg {
    position: absolute;
    inset: 0;
    background: url('../images/background/event-stage-organizer-bg.jpg') center/cover no-repeat;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(15, 23, 42, 0.08) 100%);
    z-index: 1;
}

.visual-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 50vh;
    max-width: 540px;
}

@media (min-width: 992px) {
    .visual-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        min-height: auto;
        padding: 3.5rem;
    }
}

.reg-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--primary);
    border-radius: 99px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    width: fit-content;
}

.visual-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.12;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.visual-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    margin-bottom: 2.5rem;
}

.visual-subtitle .brand-highlight {
    color: var(--primary);
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.glass-icon {
    width: 34px;
    height: 34px;
    background: rgba(108, 188, 6, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ========== FORM COLUMN ========== */
.form-col {
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}

.form-wrapper {
    width: 100%;
    max-width: 480px;
}

/* Brand Logo */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2.25rem;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), #8dd210);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(108, 188, 6, 0.25);
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--primary-hover);
    gap: 0.6rem;
}

.form-header {
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.55;
}

/* Alert Overrides */
.alert-wrap {
    margin-bottom: 1.25rem;
}

/* ========== FORM INPUTS ========== */
.form-group-custom {
    margin-bottom: 1.15rem;
}

.form-label-custom {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.4rem;
    display: block;
}

.input-icon-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-400);
    font-size: 1.1rem;
    pointer-events: none;
    transition: var(--transition);
    z-index: 2;
}

.form-control-custom {
    width: 100%;
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 0.8rem 1rem 0.8rem 2.75rem;
    font-size: 0.93rem;
    color: var(--dark);
    transition: var(--transition);
    height: auto;
}

.form-control-custom::placeholder {
    color: var(--slate-400);
    font-weight: 400;
}

.form-control-custom:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 188, 6, 0.1);
    outline: none;
}

.form-control-custom:focus~.input-icon {
    color: var(--primary);
}

.form-select-custom {
    width: 100%;
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 0.8rem 2.5rem 0.8rem 2.75rem;
    font-size: 0.93rem;
    color: var(--dark);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 16px 12px;
    transition: var(--transition);
    cursor: pointer;
}

.form-select-custom:focus {
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 188, 6, 0.1);
    outline: none;
}

.form-select-custom:focus~.input-icon {
    color: var(--primary);
}

.textarea-custom {
    width: 100%;
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 0.8rem 1rem 0.8rem 2.75rem;
    font-size: 0.93rem;
    color: var(--dark);
    transition: var(--transition);
    resize: vertical;
    min-height: 80px;
}

.textarea-custom::placeholder {
    color: var(--slate-400);
}

.textarea-custom:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 188, 6, 0.1);
    outline: none;
}

/* Error State */
.form-control-custom.is-invalid,
.form-select-custom.is-invalid,
.textarea-custom.is-invalid {
    border-color: var(--danger);
    background-color: #fef2f2;
}

.form-control-custom.is-invalid:focus,
.form-select-custom.is-invalid:focus,
.textarea-custom.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.error-message {
    font-size: 0.78rem;
    color: var(--danger);
    margin-top: 0.3rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Password Toggle */
.password-toggle-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--slate-400);
    cursor: pointer;
    font-size: 1.15rem;
    padding: 0.25rem;
    transition: var(--transition);
    z-index: 2;
}

.password-toggle-btn:hover {
    color: var(--primary);
}

/* Terms Checkbox */
.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.terms-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid var(--slate-300);
    accent-color: var(--primary);
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.terms-check input[type="checkbox"]:focus {
    box-shadow: 0 0 0 3px rgba(108, 188, 6, 0.15);
    outline: none;
}

.terms-label {
    font-size: 0.85rem;
    color: var(--slate-500);
    line-height: 1.5;
}

.terms-label a {
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.terms-label a:hover {
    color: var(--primary);
}

/* CTA Button */
.btn-create {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--white);
    border: none;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(108, 188, 6, 0.25);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-create:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-active));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(108, 188, 6, 0.35);
    transform: translateY(-2px);
}

.btn-create:active {
    transform: translateY(0);
}

/* Sign In Link */
.signin-text {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.9rem;
    color: var(--slate-500);
}

.signin-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.signin-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Trust Section */
.trust-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--slate-200);
    text-align: center;
}

.trust-text {
    font-size: 0.8rem;
    color: var(--slate-400);
    line-height: 1.55;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.trust-icon {
    color: var(--primary);
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* Footer */
.form-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--slate-400);
}

.form-footer a {
    color: var(--slate-500);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.form-footer a:hover {
    color: var(--primary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .visual-col {
        min-height: 45vh;
    }

    .visual-title {
        font-size: 1.85rem;
    }

    .visual-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .glass-card {
        padding: 0.75rem;
        font-size: 0.8rem;
    }

    .visual-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .form-col {
        padding: 2rem 1rem;
    }

    .form-title {
        font-size: 1.45rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}
