body {
    background-color: #2a2a3e;
    color: #e0e0e0;
    min-height: 100vh;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
}

.container {
    max-width: 960px;
}

/* Event list - compact single row */
.event-table {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.event-table thead th {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    color: #adb5bd;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.event-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.15s;
}

.event-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.event-table td, .event-table th {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.event-table a {
    color: #7eb8f7;
    text-decoration: none;
    font-weight: 500;
}

.event-table a:hover {
    color: #aed4ff;
    text-decoration: underline;
}

/* Status badges */
.badge-planned { background-color: #f0ad4e; color: #000; }
.badge-registration { background-color: #28a745; }
.badge-completed { background-color: #dc3545; }

/* Cards for event detail */
.card {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.card-header {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Forms */
.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #7eb8f7;
    color: #e0e0e0;
    box-shadow: 0 0 0 0.2rem rgba(126, 184, 247, 0.25);
}

.form-control::placeholder {
    color: #888;
}

.form-label {
    font-weight: 500;
    color: #adb5bd;
}

/* Members table */
.members-table {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.members-table th {
    color: #adb5bd;
    font-size: 0.85rem;
}

.members-table td {
    vertical-align: middle;
}

/* Auth pages */
.auth-form {
    max-width: 440px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-form h3 {
    color: #fff;
    margin-bottom: 1.5rem;
}

/* Rules modal */
.rules-list li {
    line-height: 1.6;
}

/* Alerts */
.alert {
    border-radius: 8px;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pagination */
.pagination .page-link {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #7eb8f7;
}

.pagination .page-item.active .page-link {
    background-color: #7eb8f7;
    border-color: #7eb8f7;
    color: #000;
}

/* Admin panel */
.admin-table td, .admin-table th {
    vertical-align: middle;
}
