:root {
    --primary-purple: #7c3aed;
    --dark-navy: #1e1b4b;
    --soft-bg: #f5f3ff;
}

body {
    font-family: 'TikTok Sans', sans-serif;
    background-color: var(--soft-bg);
    margin: 0;
}

.site-auth-forms {
    display: flex;
    min-height: 100vh;
    width: 100vw;
}

/* Left side branding image */
.auth-visual-side {
    flex: 1;
    background: linear-gradient(rgba(30, 27, 75, 0.6), rgba(124, 58, 237, 0.4)), 
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=2070&auto=format&fit=crop'); /* Replace with your truck image */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: white;
}

.auth-visual-side h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
}

/* Right side form container */
.auth-form-side {
    width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    background: white;
}

.auth-form-header img {
    height: 100px;
    margin-bottom: 30px;
    background: black;
    object-fit: contain;
    padding: 12px;
    border-radius: 8px;
}

.auth-form h2 {
    color: var(--dark-navy);
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-form p.subtitle {
    color: #6b7280;
    margin-bottom: 32px;
}

/* Custom Input Styling */
.custom-input-group {
    margin-bottom: 20px;
}

.custom-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.custom-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.btn-primary-oseas {
    background: var(--primary-purple);
    color: white;
    padding: 14px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-top: 20px;
}

.btn-primary-oseas:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.3);
}

/* Role Selection Styling */
.account-type {
    display: flex;
    gap: 15px;
    margin-bottom: 19px;
}

.acc-selc {
    flex: 1;
    position: relative;
}

.btn-check {
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}

.role-option {
    display: block;
    padding: 20px 15px;
    text-align: center;
    background: #ffffff;
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-option:hover {
    border-color: #ddd6fe;
    background: #f9f8ff;
}

/* The "Active" state triggered by your jQuery */
.active-box .role-option {
    border-color: var(--primary-purple);
    background: #f5f3ff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
}

.active-box .role-option .fw-bold {
    color: var(--primary-purple) !important;
}

/* Custom spacing for the register form */
.auth-form-side.register-width {
    width: 550px; /* Slightly wider for the two-column inputs */
}

.form-label {
    font-size: 0.85rem;
    color: #4b5563;
    margin-bottom: 6px;
    display: block;
}
