* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f6f8;
    color: #222;
}

/* Контейнер */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 16px;
}

/* HEADER */
.header {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-weight: bold;
    font-size: 20px;
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
}

.header__title {
    background: #ed8114;
    color: #fff;
    padding: 20px 0;
}

/* LAYOUT */
.layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* SIDEBAR */
.sidebar .card {
    background: #fff;
    padding: 16px;
    border-radius: 10px;
}

.search input,
.search select,
.search button {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
}

.search button {
    background: #ed8114;
    color: white;
    border: none;
    cursor: pointer;
}

/* CONTENT */
.content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.alphabet {
    margin: 15px 0;
}

.alphabet a {
    margin-right: 8px;
    text-decoration: none;
    color: #ed8114;
}

/* TABLE (grid вместо table) */
.table {
    margin-top: 10px;
}

.table__row {
    display: grid;
    grid-template-columns: 1fr 100px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.table__row:nth-child(even) {
    background: #fafafa;
}

.table__head {
    font-weight: bold;
    background: #0C619C;
    color: #fff;
}

/* PAGINATION */
.pagination {
    margin-top: 20px;
}

.pagination a,
.pagination span {
    margin-right: 8px;
    text-decoration: none;
}

/* FOOTER */
.footer {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    color: #777;
}

/* 📱 АДАПТИВ */
@media (max-width: 768px) {

    .layout {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .table__row {
        grid-template-columns: 1fr 70px;
    }
}