/* Login CSS - Aurion Design Diferenciado com Nova Paleta */

/* Variáveis de cores baseadas na paleta fornecida */
:root {
    /* Paleta de cores da imagem */
    --amarelo-aurion: #F8FB76;          /* Amarelo Aurion */
    --branco-absoluto: #FBFBFB;         /* Branco Absoluto */
    --preto-profundo: #0D0D0D;          /* Preto Profundo */
    --cinza-neutro: #6B6B6B;            /* Cinza Neutro */
    
    /* Cores derivadas */
    --primary-color: #F8FB76;           /* Amarelo Aurion como principal */
    --primary-dark: #E5E866;            /* Amarelo mais escuro */
    --primary-light: #FAFCAA;           /* Amarelo mais claro */
    --accent-color: #F8FB76;            /* Amarelo Aurion */
    
    /* Fundos */
    --background-dark: #0D0D0D;         /* Preto Profundo */
    --card-bg: #1A1A1A;                 /* Card background mais claro */
    --surface-bg: #161616;              /* Surface background */
    
    /* Textos */
    --text-color: #FBFBFB;              /* Branco Absoluto */
    --text-secondary: #6B6B6B;          /* Cinza Neutro */
    --text-muted: #4A4A4A;              /* Cinza mais escuro */
    
    /* Estados */
    --error-color: #FF4757;             /* Vermelho erro */
    --success-color: #2ED573;           /* Verde sucesso */
    --warning-color: #FFA502;           /* Laranja aviso */
    
    /* Outros */
    --border-color: rgba(248, 251, 118, 0.15);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --glow-color: rgba(248, 251, 118, 0.3);
}

/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ======== CONTAINER PRINCIPAL ======== */

.login-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--background-dark) 0%, #1a1a1a 100%);
}

/* ======== BACKGROUND ANIMADO ======== */

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

.shape-5 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 5%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* ======== CONTAINER PRINCIPAL ======== */

.login-main {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    min-height: 600px;
    background: rgba(26, 26, 26, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-color);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

/* ======== LADO ESQUERDO - BRANDING ======== */

.login-branding {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--surface-bg) 100%);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-branding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, var(--glow-color), transparent 70%);
    opacity: 0.5;
}

.branding-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.logo-section {
    position: relative;
    margin-bottom: 40px;
}

.main-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px var(--glow-color));
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--glow-color), transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.tagline-section {
    margin-bottom: 40px;
}

.main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sub-title {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

.features-highlight {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(248, 251, 118, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(248, 251, 118, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.feature-item span {
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

/* ======== LADO DIREITO - FORMULÁRIO ======== */

.login-form-section {
    background: var(--card-bg);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 400px;
}



.terms-link {
    color: #FBFBFB;
    text-decoration: none;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ======== NOTIFICAÇÃO DE ERRO ======== */

.error-notification {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(255, 71, 87, 0.05));
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    animation: slideInDown 0.4s ease;
}

.error-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.error-content i {
    color: var(--error-color);
    font-size: 18px;
}

.error-text {
    flex: 1;
    color: var(--text-color);
    font-size: 14px;
}

.error-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.error-close:hover {
    background: rgba(255, 71, 87, 0.2);
    color: var(--error-color);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======== SELEÇÃO DE PLATAFORMA ======== */

.platform-selector {
    margin-bottom: 30px;
}

.selector-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    text-align: center;
}

.platform-options {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.platform-option {
    position: relative;
    background: var(--surface-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.platform-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--glow-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.platform-option:hover::before {
    opacity: 0.1;
}

.platform-option.selected {
    border-color: var(--primary-color);
    background: rgba(248, 251, 118, 0.1);
    box-shadow: 0 0 20px var(--glow-color);
}

.platform-option.selected::before {
    opacity: 0.2;
}

.platform-icon {
    margin-bottom: 10px;
}

.platform-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.platform-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(89%) sepia(58%) saturate(1458%) hue-rotate(2deg) brightness(107%) contrast(96%);
    transition: all 0.3s ease;
}

.platform-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.platform-badge {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-option.selected .platform-badge {
    color: var(--primary-color);
}

.platform-option.selected .platform-image {
    filter: brightness(0) saturate(100%) invert(89%) sepia(58%) saturate(1458%) hue-rotate(2deg) brightness(107%) contrast(96%) drop-shadow(0 0 8px var(--primary-color));
}

.platform-option:hover .platform-image {
    transform: scale(1.1);
}

/* ======== FORMULÁRIO ======== */

.login-form {
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 25px;
}

.input-container {
    position: relative;
    background: var(--surface-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.input-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(248, 251, 118, 0.1);
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.input-icon i {
    color: var(--text-secondary);
    font-size: 18px;
    transition: color 0.3s ease;
}

.input-container:focus-within .input-icon i {
    color: var(--primary-color);
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 18px 18px 18px 55px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 16px;
    font-family: inherit;
    outline: none;
}

input::placeholder {
    color: var(--text-secondary);
    font-size: 14px;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
}

.input-container:focus-within .input-line {
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
    background: rgba(248, 251, 118, 0.1);
}

/* ======== BOTÃO DE LOGIN ======== */

.form-actions {
    margin-bottom: 25px;
}

.btn-login {
    position: relative;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 12px;
    color: var(--background-dark);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(248, 251, 118, 0.3);
}

.btn-login:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(248, 251, 118, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover .btn-glow {
    left: 100%;
}

.btn-text {
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-login.loading .btn-text {
    opacity: 0;
}

.btn-login.loading .btn-loading {
    opacity: 1;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(13, 13, 13, 0.3);
    border-top: 2px solid var(--background-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ======== FOOTER DO FORMULÁRIO ======== */

.form-footer {
    text-align: center;
}

.security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 12px;
}

.security-notice i {
    color: var(--primary-color);
}

.risk-disclaimer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 165, 2, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--warning-color);
}

.risk-disclaimer i {
    color: var(--warning-color);
    font-size: 14px;
    margin-top: 2px;
}

.risk-disclaimer p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

/* ======== RESPONSIVIDADE ======== */

@media (max-width: 968px) {
    .login-main {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .login-branding {
        padding: 40px 30px;
        min-height: auto;
    }
    
    .branding-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 30px;
        text-align: left;
    }
    
    .logo-section {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .main-logo {
        max-width: 120px;
    }
    
    .tagline-section {
        margin-bottom: 0;
        flex: 1;
    }
    
    .main-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .sub-title {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .features-highlight {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .feature-item {
        padding: 10px 15px;
        flex: 1;
        min-width: 140px;
    }
    
    .feature-item span {
        font-size: 12px;
    }
    
    .login-form-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .branding-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .tagline-section {
        text-align: center;
    }
    
    .features-highlight {
        justify-content: center;
    }
    
    .feature-item {
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .login-container {
        padding: 15px;
    }
    
    .login-main {
        border-radius: 15px;
        min-height: auto;
    }
    
    .login-branding {
        padding: 25px 20px;
    }
    
    .main-logo {
        max-width: 100px;
    }
    
    .main-title {
        font-size: 20px;
    }
    
    .sub-title {
        font-size: 13px;
    }
    
    .features-highlight {
        gap: 10px;
    }
    
    .feature-item {
        padding: 8px 12px;
        min-width: 110px;
    }
    
    .feature-item i {
        font-size: 16px;
    }
    
    .feature-item span {
        font-size: 11px;
    }
    
    .login-form-section {
        padding: 25px 20px;
    }
    
    .form-container {
        max-width: 100%;
    }
    
    .form-title {
        font-size: 22px;
    }
    
    .form-subtitle {
        font-size: 13px;
    }
    
    .platform-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .platform-option {
        padding: 15px;
    }
    
    .platform-name {
        font-size: 15px;
    }
    
    .platform-badge {
        font-size: 10px;
    }
    
    input[type="text"],
    input[type="password"] {
        padding: 16px 16px 16px 50px;
        font-size: 15px;
    }
    
    .btn-login {
        padding: 16px;
        font-size: 15px;
    }
     .checkbox-label {
        font-size: 13px;
    }
    .checkbox-label::before {
        width: 16px;
        height: 16px;
    }

}

/* Estilo básico para o checkbox */
.checkbox-input {
    display: none; /* Oculta o checkbox original */
}

.checkbox-label {
    position: relative;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    padding-left: 30px; /* Espaço para o ícone customizado */
    display: flex;
    align-items: center;
    line-height: 1.6;
    
}

.checkbox-label a {
    margin-left: 5px;  /* Adiciona um espaçamento entre o texto e o link */
    text-decoration: none;
    color: var(--primary-color);
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.checkbox-label .terms-link {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label .terms-link:hover {
    color: var(--primary-dark);
}

.checkbox-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--background-dark);
    transition: all 0.3s ease;
}

/* Quando o checkbox está marcado, altere o estilo do label */
.checkbox-input:checked + .checkbox-label::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label:hover::before {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
}

/* Adicionando um efeito de "check" quando estiver selecionado */
.checkbox-input:checked + .checkbox-label::after {
    content: "\2713"; /* O ícone de check */
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--background-dark);
}

/* Adicionando foco para acessibilidade */
.checkbox-input:focus + .checkbox-label::before {
    box-shadow: 0 0 0 3px rgba(248, 251, 118, 0.3);
}

/* Responsividade: Adaptação para telas menores */

   
