﻿:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --surface-color: #ffffff;
    --background-color: #f4f6f9;
    --text-color: #212529;
    --text-muted: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.auth-shell {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* --- Lado Esquerdo (Hero e Carrossel) --- */
.auth-hero {
    position: relative;
    flex: 1.2;
    display: none; /* Esconde em telas pequenas */
    overflow: hidden;
}

@media (min-width: 992px) {
    .auth-hero {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 3.5rem;
        color: white;
    }
}

.hero-carousel, .carousel-inner, .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente que dá a cor para o lado esquerdo */
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.85) 0%, rgba(10, 30, 80, 0.95) 100%);
    z-index: 2;
}

.auth-brand {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.auth-brand-name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

    .auth-brand-name span {
        font-weight: 400;
        opacity: 0.8;
    }

.auth-hero-copy {
    position: relative;
    z-index: 3;
    max-width: 550px;
    margin-bottom: 2rem;
}

    .auth-hero-copy h1 {
        font-size: 3.8rem;
        font-weight: 800;
        line-height: 1.05;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
        letter-spacing: -1px;
    }

    .auth-hero-copy p {
        font-size: 1.15rem;
        opacity: 0.9;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

.auth-hero-caption {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    opacity: 0.85;
}

.auth-hero-badges {
    display: flex;
    gap: 1rem;
}

.hero-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pill-icon {
    background: white;
    color: var(--primary-dark);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* --- Lado Direito (Formulário) --- */
.auth-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    padding: 2rem;
    overflow-y: auto;
}

.auth-card {
    background: var(--surface-color);
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-control, .form-select {
    padding: 0.8rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #dee2e6;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background-color: #f8f9fa;
}

    .form-control:focus, .form-select:focus {
        background-color: #fff;
        box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
        border-color: var(--primary-color);
    }

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

.btn-primary {
    padding: 0.8rem 1rem;
    border-radius: 0.75rem;
    background-color: var(--primary-color);
    border: none;
    transition: all 0.2s ease;
    font-size: 1rem;
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    }

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