.admin-page {
    padding: 18px;
    color: #e2e5e9;
}

.page-title {
    margin: 0 0 8px;
    font-size: 2rem;
    color: #333333 !important;
}


.page-subtitle {
    margin: 0 0 24px;
    color: #9ca3af;
}

.panel-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
}

.panel-card h2 {
    margin: 0 0 16px;
    font-size: 1.2rem;
    color: #6e7276; /* или другой тёмный цвет */
}

.panel-card h4 {
    margin: 0 0 16px;
    font-size: 1.0rem;
    color: #577496; /* или другой тёмный цвет */
}

.form-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.form-grid textarea,
.form-grid select,
.form-grid input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    outline: none;
}

.сh {
    color: #0c0c0c;
}

.form-grid textarea {
    grid-column: 1 / -1;
    resize: vertical;
}

.btn-invisible,
.btn-action,
.btn-reduct,
.btn-danger {
    border: none;
    border-radius: 12px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
}

.btn-reduct,
.btn-action {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: white;
}

.btn-reduct {
    padding: 8px 16px;
    margin-top: 10px;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.btn-invisible {
    background: transparent;
    color: white;
}

.table-wrap {
    overflow-x: auto;
}

.admin-table,
.user-table {
    width: 100%;
    border-collapse: collapse;
}

.all-users {
    width: 100%;
    border-collapse: collapse;
    color: #1a1a1b;
}


.all-users th,
.all-users td {
    padding: 12px 3px;
    border-bottom: 1px solid rgba(21, 21, 21, 0.08);
    text-align: left;
    vertical-align: top;
}

.user-table th,
.admin-table th,
.admin-table td {
    padding: 12px 3px;
    border-bottom: 1px solid rgba(20, 19, 19, 0.92);
    text-align: left;
    vertical-align: top;
}


.user-table td {
    padding: 12px 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    vertical-align: top;
}

.all-users th,
.user-table th,
.admin-table th {
    color: #3881da;
    font-weight: 600;
     font-size: 14px;
}

.user-checklist {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
    max-height: 360px;
    overflow: auto;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.back-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 7px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #7c3aed;
    background: #37dc5e;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 0.2s ease, transform 0.2s ease;
}

.back-admin-btn:hover {
    background: #9ce4ad;
    transform: translateY(-1px);
}

.top10-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.top10-modal-overlay.show {
    display: flex;
}

.top10-modal-box {
    background: #fff;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.top10-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.top10-modal-title {
    margin-bottom: 15px;
}


@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}