.admin-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: var(--white);
}

.admin-header {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-gold);
}

.admin-form-link {
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px 16px;
    background: var(--blue-accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.2s, transform 0.2s;
}

.admin-form-link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.admin-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-text);
    margin: 20px 0 0 0;
}

.dashboard-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    border: 2px solid var(--border-gold);
    flex-wrap: wrap;
    gap: 15px;
}

.btn-refresh {
    background: var(--blue-text);
    color: var(--white);
    border: 2px solid var(--border-gold);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-refresh:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    color: var(--blue-text);
    font-weight: 600;
}

.filter-group select {
    padding: 8px 15px;
    border: 2px solid var(--border-gold);
    border-radius: 8px;
    background: var(--white);
    color: var(--blue-text);
    font-size: 1rem;
    cursor: pointer;
}

.table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: 10px;
    border: 2px solid var(--border-gold);
    box-shadow: 0 4px 16px var(--shadow);
    margin-bottom: 20px;
}

.requests-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1400px;
}

.requests-table thead {
    background: var(--blue-text);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.requests-table th {
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--border-gold);
    white-space: nowrap;
}

.requests-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--blue-text);
    vertical-align: top;
}

.requests-table tbody tr {
    transition: background 0.2s ease;
}

.requests-table tbody tr:hover {
    background: var(--bg-light);
}

.requests-table tbody tr:nth-child(even) {
    background: rgba(10, 26, 47, 0.02);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.status-completed {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

.status-done {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.btn-approve {
    background: #10b981;
    color: white;
}

.btn-approve:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.btn-reject {
    background: #ef4444;
    color: white;
}

.btn-reject:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.btn-complete {
    background: #3b82f6;
    color: white;
}

.btn-complete:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.btn-done {
    background: #10b981;
    color: white;
}

.btn-done:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.loading {
    text-align: center;
    padding: 40px !important;
    color: var(--text-secondary);
    font-style: italic;
}

.empty-state {
    text-align: center;
    padding: 40px !important;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .dashboard-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        width: 100%;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
        justify-content: center;
    }
}
