:root {
    --primary: #f39c12;
    --primary-dark: #d35400;
    --bg: #0f0f0f;
    --sidebar: #1a1a1a;
    --card: #242424;
    --text: #ffffff;
    --text-dim: #a0a0a0;
    --danger: #e74c3c;
    --success: #2ecc71;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Layout Estrutural */
.sidebar {
    width: 260px;
    background-color: var(--sidebar);
    border-right: 1px solid #333;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

/* Sidebar Menu */
.sidebar-logo {
    margin-bottom: 40px;
    text-align: center;
}

.sidebar-logo img {
    width: 120px;
    border-radius: 10px;
}

.menu-item {
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-dim);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.menu-item:hover, .menu-item.active {
    background-color: var(--primary);
    color: #000;
}

.menu-item i { font-size: 1.2rem; }

/* Cards e Seções */
.section { display: none; }
.section.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dashboard-card {
    background: var(--card);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin-bottom: 25px;
}

h1, h2, h3 { color: var(--primary); margin-top: 0; }

/* Inputs e Botões */
input, select {
    width: 100%;
    padding: 12px;
    background: #121212;
    border: 1px solid #333;
    border-radius: 8px;
    color: white;
    margin-bottom: 15px;
}

button {
    background: var(--primary);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

button:hover { transform: scale(1.02); background: var(--primary-dark); }

/* Custom Agenda UI */
.day-config-card {
    background: #2d2d2d;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #444;
}
.day-config-card.enabled { border-left-color: var(--primary); }

.time-tag {
    background: #444;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Chat UI */
.chat-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    height: 500px;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}
.chat-list { border-right: 1px solid #333; overflow-y: auto; }
.chat-window { display: flex; flex-direction: column; }
.messages-history { flex: 1; padding: 20px; overflow-y: auto; background: #121212; }
.chat-input-area { padding: 15px; display: flex; gap: 10px; border-top: 1px solid #333; }
