/* Основные настройки */
:root {
    --bg-body: #f4f6f9;
    --bg-sidebar: #ffffff;
    --text-main: #333;
    --text-light: #777;
    --primary: #3498db;
    --green: #2ecc71;
    --red: #e74c3c;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-body);
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    overflow: hidden; /* Чтобы скроллился только контент */
}

/* Сайдбар (Меню слева) */
.sidebar {
    width: 250px;
    background: var(--bg-sidebar);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    flex-shrink: 0;
}

.sidebar-header {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.sidebar-menu li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.sidebar-menu li a:hover, .sidebar-menu li a.active {
    background-color: #f8f9fa;
    color: var(--primary);
    font-weight: bold;
    border-left: 4px solid var(--primary);
}

/* Основная область контента */
.main-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Шапка (Header) */
.header {
    height: 60px;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.page-title {
    font-size: 20px;
    font-weight: 800;
    color: #444;
    text-transform: uppercase;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    text-align: right;
}

.user-name {
    font-weight: bold;
    font-size: 14px;
    display: block;
}

.user-role {
    font-size: 12px;
    color: var(--text-light);
}

/* Контент страницы */
.content {
    padding: 30px;
    overflow-y: auto;
    height: 100%;
}

/* Карточки (как на скрине 1) */
.dashboard-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.card {
    background: #e6e6e6; /* Серый фон как на макете */
    padding: 25px;
    border-radius: 20px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    text-transform: uppercase;
}

.card .subtitle {
    margin: 0 0 15px 0;
    font-size: 13px;
    color: #666;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 15px;
}

.stat-val {
    font-weight: bold;
    font-size: 18px;
}
.text-green { color: var(--green); }
.text-red { color: var(--red); }

.btn-detail {
    margin-top: 20px;
    background: #fff;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    transition: 0.2s;
}
.btn-detail:hover {
    background: #f0f0f0;
}

.info-box {
    margin-top: 40px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    max-width: 800px;
}

/* Панель действий */
.actions-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.search-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 300px;
    background: #e6e6e6;
}
.btn-primary {
    background: #00bfff; /* Голубой как на скрине */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

/* Сетка клубов */
.clubs-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.club-card {
    width: 300px;
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.club-card:hover {
    transform: translateY(-5px);
}
.club-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}
.club-info {
    padding: 15px;
}
.club-info h3 { margin: 0 0 10px 0; }
.club-info p { margin: 5px 0; color: #555; font-size: 14px; }

/* Страница одного клуба */
.club-detail-container {
    display: flex;
    gap: 30px;
}
.club-sidebar {
    width: 300px;
}
.club-main-photo {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}
.club-content {
    flex-grow: 1;
}
.club-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.club-tabs button {
    padding: 10px 20px;
    border: none;
    background: #ddd;
    border-radius: 20px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
}
.club-tabs button.active {
    background: #333; /* Активная вкладка темная */
    color: #fff;
}

/* Кнопки действий */
.btn-edit { background: #cba36d; color: white; border: none; padding: 10px 20px; border-radius: 20px; cursor: pointer; font-weight: bold; margin-right: 10px;}
.btn-delete { background: #ed1c24; color: white; border: none; padding: 10px 20px; border-radius: 20px; cursor: pointer; font-weight: bold;}

/* Формы */
.form-container { max-width: 500px; background: white; padding: 30px; border-radius: 10px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-group input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; }


/* Таблицы */
.table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th, .data-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.data-table th {
    background: #f9f9f9;
    color: #777;
    font-size: 14px;
    text-transform: uppercase;
}
.data-table tbody tr:hover {
    background-color: #f0f8ff;
    cursor: pointer;
}
.data-table tbody tr:nth-child(even) {
    background-color: #fafafa; /* Полосатая таблица как на скрине 7 */
}
.font-bold { font-weight: bold; }

/* Фильтры */
.filters { display: flex; gap: 10px; }
.btn-filter {
    background: #999;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}

/* Профиль (Скриншот 6) */
.profile-container {
    display: flex;
    gap: 40px;
    background: white; /* Белый фон для всего блока, если нужно, или прозрачный */
}
.profile-sidebar {
    width: 300px;
}
.profile-content {
    flex-grow: 1;
    max-width: 600px;
}
.info-card {
    background: #e6e6e6; /* Серый фон плашки */
    padding: 30px;
    border-radius: 15px;
}
.info-row { margin-bottom: 15px; }
.divider { height: 1px; background: #ccc; margin: 20px 0; }
.btn-action-blue {
    background: #00bfff;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}
.small-text { font-size: 12px; color: #777; margin-top: 20px; }