:root {
    --primary-color: #4a86f7;
    --bg-color: #f8f9fc;
    --card-bg: #ffffff;
    --text-main: #333333;
    --text-muted: #888888;
    --border-color: #eeeeee;
    --tab-inactive: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    padding-top: 60px;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 900px;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 16px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.tab-btn:hover {
    background: #f0f4ff;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(74, 134, 247, 0.3);
}

.search-container {
    margin-bottom: 25px;
}

#search {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
    background: white;
}

#search:focus {
    border-color: var(--primary-color);
}

.table-card {
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow-x: auto;
    /* Enable horizontal scroll */
    -webkit-overflow-scrolling: touch;
}

.mobile-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 13px;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .mobile-hint {
        display: flex;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 15px 20px;
    font-size: 12px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.5px;
}

td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

tr:last-child td {
    border-bottom: none;
}

.nick {
    font-weight: 600;
}

.status-badge {
    padding: 6px 12px;
    background: #eef3ff;
    color: #4a86f7;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.vk-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.vk-link:hover {
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .tabs {
        flex-direction: column;
    }

    th:nth-child(4),
    td:nth-child(4) {
        display: none;
    }
}