/* LIGHT MODE (Default) */
:root {
    --bg-color: #f0f4f8;
    --card-bg: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --accent: #3498db;
    --border: #ecf0f1;
    --shadow: rgba(0,0,0,0.1);
}

/* DARK MODE (RAK/DARK) */
[data-theme="dark"] {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --border: #334155;
    --shadow: rgba(0,0,0,0.4);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.dashboard-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px var(--shadow);
    width: 90%;
    max-width: 800px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.card {
    background: var(--accent);
    color: white;
    padding: 20px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.2s;
}

.card:hover { transform: scale(1.05); }

/* Switch-ul de temă */
#theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.2rem;
}
