* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Base comum para todos os alerts */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Erro (vermelho) */
.alert-error {
    background-color: #ffe5e5;
    border: 1px solid #ff4d4f;
    color: #a50000;
}

/* Sucesso (verde) */
.alert-success {
    background-color: #e6ffed;
    border: 1px solid #52c41a;
    color: #135200;
}

/* Informação (azul claro) - opcional */
.alert-info {
    background-color: #e6f7ff;
    border: 1px solid #1890ff;
    color: #0050b3;
}

.login-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-section {
    flex: 1;
    padding: 60px;
    display: flex;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 8px;
}

.logo-section p {
    font-size: 1.125rem;
    color: #16a34a;
}

.login-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #166534;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    border: 2px solid #bbf7d0;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #16a34a;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #166534;
}

.submit-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #15803d 0%, #047857 100%);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.form-links {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 0.875rem;
}

.form-links a {
    color: #16a34a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.form-links a:hover {
    color: #166534;
    text-decoration: underline;
}

.form-links .separator {
    color: #86efac;
}

.security-note {
    margin-top: 32px;
    text-align: center;
}

.security-note p {
    color: #16a34a;
    font-size: 0.875rem;
}

.image-section {
    flex: 1;
    background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
    position: relative;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.background-image {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1974&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.content-overlay {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 48px;
    text-align: center;
}

.content-overlay h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.highlight {
    color: #86efac;
}

.content-overlay p {
    font-size: 1.25rem;
    color: #dcfce7;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 28rem;
}

.features-list {
    display: grid;
    gap: 16px;
    text-align: left;
    max-width: 24rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: #86efac;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-text {
    color: #dcfce7;
}

.decorative-elements .element {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.element1 {
    top: 40px;
    right: 40px;
    width: 128px;
    height: 128px;
    background: rgba(255, 255, 255, 0.1);
}

.element2 {
    bottom: 80px;
    left: 40px;
    width: 96px;
    height: 96px;
    background: rgba(134, 239, 172, 0.2);
}

.element3 {
    top: 50%;
    right: 80px;
    width: 64px;
    height: 64px;
    background: rgba(52, 211, 153, 0.3);
    filter: blur(16px);
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
        border-radius: 0;
    }
    
    .form-section {
        padding: 40px 24px;
    }
    
    .image-section {
        min-height: 200px;
    }
    
    .content-overlay {
        padding: 24px;
    }
    
    .content-overlay h2 {
        font-size: 2rem;
    }
    
    .content-overlay p {
        font-size: 1rem;
    }
}

 .sidebar-transition {
            transition: width 0.3s ease-in-out, transform 0.3s ease-in-out;
        }
        
        .content-transition {
            transition: margin-left 0.3s ease-in-out;
        }
        
        .sidebar-collapsed {
            width: 4rem;
        }
        
        .sidebar-expanded {
            width: 16rem;
        }
        
        .sidebar-mobile-hidden {
            transform: translateX(-100%);
        }
        
        .sidebar-mobile-visible {
            transform: translateX(0);
        }
        
        .content-full {
            margin-left: 4rem;
        }
        
        .content-with-sidebar {
            margin-left: 16rem;
        }
        
        @media (max-width: 768px) {
            .content-full,
            .content-with-sidebar {
                margin-left: 0;
            }
        }
        
        .logo-text {
            opacity: 1;
            transition: opacity 0.3s ease-in-out;
        }
        
        .logo-text-hidden {
            opacity: 0;
        }
        
        .menu-text {
            opacity: 1;
            transition: opacity 0.3s ease-in-out;
        }
        
        .menu-text-hidden {
            opacity: 0;
        }