:root {
    --bg-color: #0f172a;       /* Глубокий темно-синий */
    --surface-color: #1e293b;  /* Цвет плашек */
    --primary: #3b82f6;        /* Яркий синий акцент */
    --primary-hover: #2563eb;
    --text-main: #f8fafc;      /* Почти белый текст */
    --text-muted: #94a3b8;     /* Серый текст */
    --border: #334155;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Ссылки */
a { text-decoration: none; color: var(--text-main); transition: 0.2s; }
a:hover { color: var(--primary); }

/* Хедер */
header {
    background: rgba(15, 23, 42, 0.8); /* Полупрозрачный */
    backdrop-filter: blur(10px);       /* Размытие фона */
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    padding: 15px 0;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.navbar { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 14px; color: var(--text-muted); }
.nav-links a:hover { color: var(--text-main); }

/* Кнопки */
.btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.5);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Футер */
footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* --- СТИЛИ МОДАЛЬНОГО ОКНА УДАЛЕНИЯ --- */
.modal-overlay {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Затемнение */
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.delete-modal {
    background: #0f172a; /* Темно-синий фон */
    border: 1px solid #334155;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.btn-cancel {
    background: transparent;
    border: 1px solid #475569;
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.btn-cancel:hover { background: #1e293b; color: white; }

.btn-confirm-delete {
    background: #dc2626; /* Красный */
    border: 1px solid #b91c1c;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}
.btn-confirm-delete:hover { background: #ef4444; }