:root {
    /* Nova paleta de cores - Tons de verde */
    --primary-color: #00a859;
    --primary-dark: #008248;
    --primary-light: #7bdcb5;
    --secondary-color: #00d084;
    --accent-color: #0693e3;
    --purple: #9c27b0;
    
    /* Cores neutras */
    --dark-color: #2d3748;
    --medium-color: #4a5568;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --medium-gray: #e1e5e9;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    
    /* Bordas */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-round: 50%;
    
    /* Espaçamentos */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header */
.header {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: var(--space-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-img {
    height: 40px;
    width: auto;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.user-menu span {
    font-weight: 500;
}

.btn-logout {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.btn-logout:hover {
    background: rgba(255,255,255,0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-xs);
}

/* Loading Spinner */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    gap: var(--space-md);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--medium-gray);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Messages */
.message {
    margin-top: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Animações */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsividade para mobile */
@media (max-width: 767px) {
    .header .container {
        padding: var(--space-xs) var(--space-sm);
    }
    
    .logo-img {
        height: 30px;
    }
    
    .user-menu {
        font-size: 0.9rem;
    }
    
    .btn-logout {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
}