:root {
    /* Cores base */
    --bg-main: #1E1E2E;
    --bg-secondary: #25253A;
    --bg-highlight: #1B1B30;
    --bg-panel: #25253A;
    --bg-darker: #1A1A2E;
    
    /* Texto */
    --text-main: #FFFFFF;
    --text-secondary: #B0B0C3;
    --text-light: #E2E8F0;
    --text-muted: #A0AEC0;
    
    /* Cores de destaque */
    --primary: #6D6DFF;
    --primary-light: rgba(109, 109, 255, 0.1);
    --secondary: #F4A261;
    --success: #4CAF50;
    --danger: #FF5E5E;
    --warning: #FFA143;
    --info: #0CC4D8;
    
    /* Utilitários */
    --border: #3A3A4A;
    --border-color: #3A3A4A;
    --border-light: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.3);
    --highlight: #6D6DFF;
    --error: #FF5E5E;
}

/* RESET E BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

/* LAYOUT PRINCIPAL */
.main-content {
    margin-left: 280px;
    padding: 30px;
    width: calc(100% - 280px);
    transition: margin-left 0.3s ease;
}

/* COMPONENTES COMUNS */
.card {
    background: var(--bg-panel);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px var(--shadow);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-size: 1.25rem;
    color: var(--primary);
}

/* BOTÕES */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 13px;
}

.btn-lg {
    padding: 12px 25px;
    font-size: 16px;
}

.btn-primary { background: var(--primary); color: white; }
.btn-secondary { background: var(--secondary); color: #1E1E2E; }
.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-warning { background: var(--warning); color: white; }
.btn-info { background: var(--info); color: white; }

.btn-outline {
    background: transparent;
    border: 1px solid currentColor;
}

/* FORMULÁRIOS */
.form-control {
    background: var(--bg-highlight);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 15px;
    width: 100%;
    color: var(--text-main);
    transition: all 0.3s;
}

/* HEADER PADRÃO */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px var(--shadow);
    position: sticky;
    top: 10px;
    z-index: 100;
}

.page-title {
    font-size: 1.5rem;
    color: var(--highlight);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.user-info:hover {
    background: rgba(0, 0, 0, 0.3);
}

.user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--highlight);
}
[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    /* outras variáveis para tema dark */
}

[data-theme="light"] {
    --bg-color: #ffffff;
    --text-color: #333333;
    /* outras variáveis para tema light */
}