/* =========================================================
   Цветовая схема МФТИ
   ========================================================= */

:root {
    --mipt-blue: #006DB6;
    --mipt-blue-dark: #00508A;
    --mipt-blue-light: #E6F1FA;
    --text-main: #1c1c1c;
    --text-muted: #555;
    --border-light: #dcdcdc;
    --bg-page: #f5f7fa;
}

/* =========================================================
   Base
   ========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-page);
    color: var(--text-main);
}

a {
    color: var(--mipt-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
    background: var(--mipt-blue);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    height: 48px;
    width: 48px;
    border-radius: 6px;
    background: #fff;
}

.brand-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 13px;
    opacity: 0.85;
}

/* =========================================================
   Navigation
   ========================================================= */

.main-nav a {
    margin-left: 16px;
    font-weight: 500;
    color: #fff;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* =========================================================
   Content
   ========================================================= */

.site-content {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 20px;
}

/* =========================================================
   Sections / cards
   ========================================================= */

.section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* =========================================================
   Tables
   ========================================================= */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 14px;
}

thead th {
    background: var(--mipt-blue);
    color: #fff;
    text-align: left;
    padding: 8px 10px;
}

tbody td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-light);
}

tbody tr:nth-child(even) {
    background: var(--mipt-blue-light);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    margin-top: 40px;
    background: #fff;
    border-top: 1px solid var(--border-light);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}
