:root {
    --navy: rgba(0, 18, 51, 0.62);
    --navy-dark: #001022;
    --navy-dark-2: #212143;
    --accent-blue: #0466c8;
    --accent-blue-dark: #0353a4;
    --accent-green-light: #83e6c2;
    --background: #f8f9fc;
    --background-white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: var(--background);
}


.ajax_response:empty {
    display: none;
}

.login-container {
    display: flex;
    min-height: 90vh;
}

.login-form-section {
    flex: 1;
    background: var(--background-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
}

.login-info-section {
    flex: 1;
    background: url('/themes/gestagiweb/assets/img/banner-blue.svg') no-repeat center center;
    background-size: cover;
    color: var(--accent-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.info-image {
    max-width: 100%;
    height: auto;
}


.form-box {
    width: 100%;
    max-width: 380px;
}

.form-box h2 {
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.form-campo {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.btn-login {
    width: 100%;
    background: var(--accent-blue-dark);
    color: var(--background-white);
    font-weight: bold;
    padding: 0.7rem;
    border: none;
    border-radius: var(--radius);
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-login:hover {
    background: var(--accent-blue-dark);
    color: var(--accent-green-light);
}

.social-btn {
    width: 48%;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    padding: 0.6rem;
    background: var(--background-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.divider {
    text-align: center;
    margin: 1rem 0;
    color: #6c757d;
}


.text-link {
    font-size: 0.85rem;
    color: var(--accent-blue);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* Estilo base: escondido por padrão */
.ajax_load {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Caixa do loader */
.ajax_load_box {
    text-align: center;
    background: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Círculo animado */
.ajax_load_box_circle {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    border: 6px solid #3498db;
    border-top: 6px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Texto */
.ajax_load_box_title {
    font-size: 16px;
    color: #333;
}

/* Animação de rotação */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mensagens de Alerta (Gestagi Style) */
.message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(30, 9, 109, 0.06);
    position: relative;
    transition: all 0.3s ease;
}

/* Icon (opcional com Lucide) */
.message i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Sucesso */
.message.success {
    background-color: #e6f6ee;
    border-color: #25a96f;
    color: #17824e;
}

/* Informação */
.message.info {
    background-color: #e7f0ff;
    border-color: #297be6;
    color: #1e4db2;
}

/* Aviso */
.message.warning {
    background-color: #fff9e6;
    border-color: #e6b800;
    color: #8a6d00;
}

/* Erro */
.message.error {
    background-color: #ffe8e8;
    border-color: #d93025;
    color: #a00f0f;
}

/* Animação opcional */
.message.bounce {
    animation: bounce 0.3s ease;
}

/* Bounce keyframe */
@keyframes bounce {
    0% {
        transform: scale(0.95);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}
