:root {
    --primary: #00B2A9;
    /* Tendela Teal */
    --secondary: #F4C542;
    /* Tendela Warm Yellow */
    --light: #FDFDFD;
    /* Tendela Soft White */
    --dark: #1A2E4F;
    /* Tendela Deep Navy */
    --muted: #6C7A89;
    /* Tendela Slate Gray */
}

/* Font Family Updates */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.auth-subtitle {
    color: var(--muted-color);
    margin-bottom: 2rem;
}

body,
p,
span,
.form-control,
.form-select {
    font-family: 'Open Sans', sans-serif;
}

.btn,
.navbar-brand,
.nav-link {
    font-family: 'Raleway', sans-serif;
}

/* Split Layout Styles */
.split-container {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
}

.form-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: var(--light);
}

.image-side {
    flex: 1;
    background-image: url('https://images.unsplash.com/photo-1611224923853-80b023f02d71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 46, 79, 0.7);
    /* Dark overlay with Tendela navy */
}

.form-container {
    width: 100%;
    max-width: 500px;
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 90vh;
    overflow-y: auto;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    max-width: 180px;
    height: auto;
}

.form-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 178, 169, 0.25);
}

.form-select {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 178, 169, 0.25);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.form-text {
    color: var(--muted);
    font-size: 0.875rem;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e9ecef;
}

.divider span {
    background-color: white;
    padding: 0 1rem;
    position: relative;
    color: var(--muted);
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e9ecef;
    background-color: white;
    color: var(--muted);
    transition: all 0.3s;
}

.social-btn:hover {
    background-color: var(--light);
    color: var(--primary);
}

.image-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
    width: 80%;
}

.image-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.image-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.form-check {
    margin-bottom: 1rem;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .split-container {
        flex-direction: column;
    }

    .image-side {
        min-height: 40vh;
    }

    .form-side {
        min-height: 60vh;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 1.5rem;
    }

    .image-content h2 {
        font-size: 2rem;
    }
}