/* CSS específico para a página de login */

/* ===== ESTILOS PARA LOGIN ===== */
:root {
    --login-primary-color: #1e3a8a;
    --login-secondary-color: #3b82f6;
    --login-accent-color: #f59e0b;
    --login-success-color: #10b981;
    --login-text-primary: #1f2937;
    --login-text-secondary: #6b7280;
    --login-border-color: #e5e7eb;
    --login-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Body do login - 100% da tela sem overflow */
.login-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Background animado */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

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

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

.shape-3 {
    width: 40px;
    height: 40px;
    top: 85%;
    left: 20%;
    animation-delay: 4s;
}

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

.shape-5 {
    width: 30px;
    height: 30px;
    top: 50%;
    left: 60%;
    animation-delay: 3s;
}

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

/* Container principal do login - mais compacto */
.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    height: 90vh;
    max-height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    box-shadow: var(--login-shadow-xl);
    overflow: hidden;
    margin: 0;
    border-radius: 8px;
}

/* Sidebar do login - mais compacta */
.login-sidebar {
    background: linear-gradient(135deg, var(--login-primary-color) 0%, var(--login-secondary-color) 100%);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100px);
    }
}

.sidebar-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 300px;
}

.logo-container {
    margin-bottom: 1.5rem;
}

.logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    backdrop-filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.logo i {
    font-size: 1.5rem;
    color: white;
}

.system-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.system-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-top: 1.5rem;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.features-list li:hover {
    opacity: 1;
    transform: translateX(5px);
}

.features-list li i {
    margin-right: 0.5rem;
    color: var(--login-accent-color);
}

/* Container do formulário - mais compacto */
.login-form-container {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    overflow: hidden;
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.welcome-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--login-text-primary);
    margin-bottom: 0.25rem;
}

.welcome-subtitle {
    color: var(--login-text-secondary);
    font-size: 0.8rem;
}

.form-container {
    max-width: 350px;
    margin: 0 auto;
    width: 100%;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--login-border-color);
}

.footer-text {
    color: var(--login-text-secondary);
    font-size: 0.7rem;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    background: var(--login-success-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 0.75rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
    }
    to {
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.8);
    }
}

.security-badge i {
    margin-right: 0.4rem;
}

/* Responsividade para mobile - mais compacta */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        height: 100vh;
        max-width: 100%;
        border-radius: 0;
        max-height: none;
    }

    .login-sidebar {
        padding: 1.5rem 1rem;
        order: 2;
        min-height: 35vh;
    }

    .login-form-container {
        padding: 1.5rem 1rem;
        order: 1;
        min-height: 65vh;
    }

    .system-title {
        font-size: 1.25rem;
    }

    .welcome-title {
        font-size: 1.1rem;
    }

    .sidebar-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .login-body {
        padding: 0;
    }

    .login-container {
        margin: 0;
        height: 100vh;
        border-radius: 0;
    }

    .login-sidebar,
    .login-form-container {
        padding: 1rem 0.75rem;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .logo i {
        font-size: 1.25rem;
    }

    .system-title {
        font-size: 1.1rem;
    }

    .features-list li {
        font-size: 0.75rem;
    }
}

/* Para telas muito pequenas */
@media (max-height: 600px) {
    .login-container {
        height: 95vh;
        max-height: none;
    }
    
    .login-sidebar {
        padding: 1rem 1rem;
    }
    
    .login-form-container {
        padding: 1rem 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    .features-list {
        margin-top: 1rem;
    }
    
    .features-list li {
        margin-bottom: 0.5rem;
        font-size: 0.75rem;
    }
}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container {
    animation: fadeInUp 0.6s ease-out;
}

/* Override framework styles for login */
#adianti_div_content {
    background: transparent !important;
}

.wrapper {
    background: transparent !important;
}

.main {
    background: transparent !important;
} 