:root {
    --brand-blue: #0B1C2E;
    /* Azul escuro do botão/texto principal */
    --brand-orange: #FF7B1C;
    /* Laranja da marca */
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --bg-color: #F8FAFC;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
}

.login-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* --- Lado Esquerdo (Formulário) --- */
.login-form-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
    padding: 24px;
    position: relative;
}

.form-wrapper {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
}

/* Logotipo */
.brand {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
}

.logo-icon {
    background-color: var(--brand-blue);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background-color: var(--brand-orange);
    border-radius: 50%;
    border: 2px solid var(--bg-color);
}

.brand-text h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-blue);
    line-height: 1.1;
}

.brand-text span {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Header Textos */
.login-header {
    margin-bottom: 32px;
}

.login-header h1 {
    font-size: 32px;
    color: var(--brand-blue);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
}

/* Formulário */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: #94A3B8;
    font-size: 20px;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
    background-color: var(--white);
    color: var(--text-dark);
}

.input-wrapper input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(11, 28, 46, 0.1);
}

.input-wrapper input::placeholder {
    color: #CBD5E1;
}

/* Checkbox (No soy un robot) */
.checkbox-group {
    margin-bottom: 32px;
    margin-top: 24px;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
    user-select: none;
}

.custom-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0ea5e9;
    /* Cor azul clara do check */
    cursor: pointer;
}

.verified-icon {
    color: #10B981;
    /* Verde do escudo */
    font-size: 18px;
}

/* Botão */
.btn-login {
    width: 100%;
    background-color: var(--brand-blue);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, opacity 0.2s;
}

.btn-login:hover:not(:disabled) {
    background-color: #1a2f47;
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer do Form */
.login-footer {
    margin-top: 48px;
    text-align: center;
}

.login-footer p {
    font-size: 12px;
    color: #94A3B8;
}

/* --- Lado Direito (Imagem) --- */
.login-image-side {
    flex: 1;
    position: relative;
    display: none;
    /* Esconde em telas pequenas */
    overflow: hidden;
}

@media (min-width: 1024px) {
    .login-image-side {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Gradiente escuro para dar leitura ao texto */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.image-content {
    position: relative;
    z-index: 3;
    padding: 64px;
    color: white;
    max-width: 700px;
}

.cursive-text {
    font-family: 'Caveat', cursive;
    font-size: 42px;
    color: #FCD34D;
    /* Tom amarelado/laranja suave */
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.image-content h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.image-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
    max-width: 500px;
}

.image-footer-links {
    display: flex;
    gap: 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.alert-warning {
    display: block;
    background-color: #FEF3C7;
    color: #92400E;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 13px;
}