/* Admin Dashboard Specific Styles */

.hidden {
    display: none !important;
}

.dashboard-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-radius: 16px;
}

.dashboard-title-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-title-area h2 {
    font-size: 1.5rem;
    color: white;
}

.dashboard-title-area p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.dashboard-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
}

.dashboard-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0; /* Override */
}

.table-responsive {
    overflow-x: auto;
    overflow-y: auto;
    flex: 1;
    padding: 1rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
    min-width: 800px;
}

.admin-table th {
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid rgba(255, 50, 50, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.status-pending {
    background: rgba(255, 209, 102, 0.2);
    color: #ffd166;
    border: 1px solid #ffd166;
}

.status-approved {
    background: rgba(0, 230, 118, 0.2);
    color: #00e676;
    border: 1px solid #00e676;
}

.view-receipt-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.view-receipt-btn:hover {
    background: var(--primary-color);
}

.companion-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.companion-list li {
    padding: 2px 0;
}

.companion-list li::before {
    content: '•';
    color: var(--primary-color);
    display: inline-block;
    width: 1em;
}

/* Custom Scrollbar for Table */
.table-responsive::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.table-responsive::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: rgba(230, 57, 70, 0.5);
    border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
