.dashboard {
    padding: 20px;
    background-color: #f4f4f4;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.dashboard-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: scale(1.02);
}

.dashboard-card h2 {
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.dashboard-card ul {
    list-style-type: none;
    padding: 0;
}

.dashboard-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.admin-dashboard .dashboard-card {
    background-color: #e6f3ff;
}

.organizer-dashboard .dashboard-card {
    background-color: #f0f8ea;
}

.attendee-dashboard .dashboard-card {
    background-color: #fff0e6;
}

.sponsor-dashboard .dashboard-card {
    background-color: #f0e6ff;
}

/* Admin Table Styles */
.manage-news-container,
.manage-users-container {
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 10px;
    margin: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
}

.section-title {
    font-size: 1.75rem;
    color: #fff;
    margin: 0;
    font-weight: 600;
}

.add-new-btn {
    background-color: #e5ff00;
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-new-btn:hover {
    background-color: #ccff00;
    transform: translateY(-2px);
}

.add-new-btn i {
    font-size: 0.875rem;
}

.search-filter-container {
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    max-width: 300px;
}

.admin-search {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: #2d2d2d;
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
    font-size: 0.875rem;
}

.admin-search::placeholder {
    color: #666;
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.table-responsive {
    overflow-x: auto;
    background: #1a1a1a;
    border-radius: 8px;
    margin-top: 1rem;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: #fff;
}

.admin-table th {
    background: #2d2d2d;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid #333;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid #333;
    color: #ccc;
    font-size: 0.875rem;
}

.admin-table tr:hover td {
    background: #2d2d2d;
}

.title-cell {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #e5ff00;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.featured,
.status-badge.admin {
    background-color: #e5ff00;
    color: #000;
}

.status-badge.normal,
.status-badge.user {
    background-color: #2d2d2d;
    color: #ccc;
    border: 1px solid #333;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-edit {
    background-color: #e5ff00;
    color: #000;
}

.btn-delete {
    background-color: #dc3545;
    color: #fff;
}

.btn-edit:hover {
    background-color: #ccff00;
    transform: translateY(-1px);
}

.btn-delete:hover {
    background-color: #c82333;
    transform: translateY(-1px);
}

/* Flash Messages */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 0.875rem;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: #198754;
    color: #75b798;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #ea868f;
}

/* Empty State */
.text-center {
    text-align: center;
    padding: 20px;
    color: #666;
}
