/* login.css */

:root {
    --primary-color: #2c3e50;     /* Azul Petróleo */
    --accent-color: #20c997;      /* Verde Menta */
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    background-color: #fff;
}

/* --- Lado Esquerdo (Visual) --- */
.bg-brand {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    position: relative;
    z-index: 1;
}

.text-accent {
    color: var(--accent-color);
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.fs-7 { font-size: 0.85rem; }
.fs-8 { font-size: 0.75rem; }

/* Animação de Fundo (Partículas flutuando) */
.network-particles span {
    position: absolute;
    bottom: -50px;
    background-color: rgba(32, 201, 151, 0.15); /* Accent color bem leve */
    border-radius: 50%;
    display: block;
    animation: floatUp 15s infinite linear;
    z-index: 0;
}

.network-particles span:nth-child(1) { width: 80px; height: 80px; left: 10%; animation-duration: 12s; }
.network-particles span:nth-child(2) { width: 150px; height: 150px; left: 20%; animation-duration: 18s; animation-delay: 2s; }
.network-particles span:nth-child(3) { width: 40px; height: 40px; left: 35%; animation-duration: 8s; animation-delay: 4s; }
.network-particles span:nth-child(4) { width: 100px; height: 100px; left: 50%; animation-duration: 15s; }
.network-particles span:nth-child(5) { width: 60px; height: 60px; left: 70%; animation-duration: 10s; animation-delay: 1s; }
.network-particles span:nth-child(6) { width: 90px; height: 90px; left: 85%; animation-duration: 14s; animation-delay: 3s; }

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

/* --- Lado Direito (Formulário) --- */
.login-wrapper {
    max-width: 480px;
}

/* Custom Floating Inputs */
.input-group-custom {
    position: relative;
}

.input-group-custom .form-control {
    border: none;
    border-bottom: 2px solid #e9ecef;
    border-radius: 0;
    padding-left: 0; /* Alinha texto com label */
    padding-right: 40px;
    background: transparent;
    font-weight: 500;
    color: var(--primary-color);
    box-shadow: none !important; /* Remove blue glow padrão */
    transition: border-color 0.3s;
}

.input-group-custom .form-control:focus {
    border-bottom-color: var(--accent-color);
}

.input-group-custom label {
    padding-left: 0;
    color: var(--text-muted);
}

.input-group-custom .form-control:focus ~ label,
.input-group-custom .form-control:not(:placeholder-shown) ~ label {
    color: var(--accent-color);
    font-size: 0.85rem;
    transform: scale(0.85) translateY(-0.5rem) translateX(0);
}

/* Icone dentro do input */
.icon-container {
    position: absolute;
    right: 0;
    top: 20px;
    z-index: 5;
}

.cursor-pointer { cursor: pointer; }

/* Botão de Login */
.btn-login {
    background-color: var(--primary-color);
    border: none;
    padding: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    background-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

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

.btn-login:disabled {
    background-color: #7f8c8d;
    cursor: not-allowed;
    transform: none;
}