﻿:root {
    --bg-color: #0f111a;
    --sidebar-bg: rgba(255, 255, 255, 0.03);
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent-color: #8C7371;
    /* Hibeauty Main Taupe */
    --accent-glow: rgba(140, 115, 113, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --element-height: 48px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Outfit', 'Noto Sans KR', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
    position: fixed;
    height: 100vh;
}

.logo-container {
    padding: 0 1rem 2rem 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transform: translateX(4px);
}

.nav-link.active {
    background: var(--accent-glow);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(140, 115, 113, 0.2);
    font-weight: 600;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 0 4px 4px 0;
    box-shadow: 2px 0 10px var(--accent-glow);
}

/* Main Content */
.content-wrapper {
    flex: 1;
    margin-left: 260px;
    padding: 2rem 3rem;
    transition: margin-left 0.3s ease;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 1rem;
}

.page-title h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

/* Mobile Toggle */
.mobile-nav-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-color);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 1rem;
    align-items: center;
    justify-content: space-between;
    z-index: 1001;
    backdrop-filter: blur(20px);
}

.hamburger-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    transition: background 0.2s;
    border-radius: 8px;
}

.hamburger-btn:active {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Table Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .content-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 1024px) {
    .mobile-nav-header {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
        z-index: 2000;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
    }

    .sidebar.mobile-active {
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 1999;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .content-wrapper {
        margin-left: 0;
        margin-top: 60px;
        padding: 1.5rem 1rem;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .page-title h1 {
        font-size: 1.5rem;
    }

    .glass-panel {
        padding: 1rem;
    }

    /* ???붿냼 諛섏쓳??*/
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .search-group {
        flex-wrap: wrap;
    }

    .search-group input {
        width: 100% !important;
    }

    .search-group button {
        width: 100%;
    }
}

/* Stat Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-trend {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trend-up {
    color: #10b981;
}

.trend-down {
    color: #ef4444;
}

/* Dashboard Content */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
}

.panel-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Form Elements Global */
select {
    background-color: #1a1c26 !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px !important;
    height: var(--element-height) !important;
    padding: 0 2.2rem 0 1rem !important;
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    transition: all 0.3s ease !important;
}

select:hover {
    border-color: var(--accent-color) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

option {
    background-color: #1a1c26 !important;
    color: #ffffff !important;
    padding: 12px !important;
}

/* Fix for consistent dark mode options across browsers */
select option:checked,
select option:hover {
    background-color: var(--accent-color) !important;
    color: white !important;
}

select:focus {
    border-color: var(--accent-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px var(--accent-glow) !important;
}

/* Search and Filters */
.search-bar-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0 1.25rem;
    color: white;
    width: 300px;
    height: var(--element-height);
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-input:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.search-btn {
    background: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
    border-radius: 12px;
    padding: 0 1.5rem;
    height: var(--element-height);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.search-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.filter-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0 1rem;
    height: var(--element-height);
    color: white;
    outline: none;
    min-width: 150px;
    box-sizing: border-box;
}

/* Form Elements */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0 1rem;
    height: var(--element-height);
    color: white;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: block;
    width: 100%;
}

.form-input:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    width: 100%;
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.form-textarea:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0 2rem;
    height: var(--element-height);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0 2rem;
    height: var(--element-height);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-size-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-info {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Action Groups */
.action-group {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
    padding: 0;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.icon-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Blazor Specifics */
#blazor-error-ui {
    background: #1a1c26;
    bottom: 0;
    box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.5);
    display: none;
    left: 0;
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 3000;
    color: white;
    border-top: 1px solid var(--glass-border);
}

#blazor-error-ui .reload {
    margin-left: 0.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 1rem;
}

/* Transitions & Table Enhancements */
.animate-slide-up {
    animation: fadeIn 0.4s ease-out forwards;
}

.admin-table tr {
    transition: background 0.2s ease;
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.02) !important;
}

.status-badge {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.status-completed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Sidebar Profile & Logo */
.logo-circle {
    width: 36px;
    height: 36px;
    background: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #5c4d4b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 2px solid var(--glass-border);
}

.user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Stat Card Enhancements */
.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Overriding for improved table and mobile layout */
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table thead th {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 2;
}

.admin-table tbody td {
    padding: 1.1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    vertical-align: middle;
    color: var(--text-primary);
    white-space: nowrap;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .stat-card {
        padding: 1.2rem !important;
        padding-bottom: 1.5rem !important;
    }

    .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .admin-table tbody td {
        padding: 0.8rem 0.6rem;
        font-size: 0.85rem;
    }
}

.col-name {
    min-width: 150px;
    white-space: normal !important;
    font-weight: 500;
}

.col-time {
    min-width: 120px;
    font-family: monospace;
}

.col-actions {
    min-width: 100px;
    text-align: center;
}

@media (max-width: 768px) {
    .stat-value {
        font-size: 1.5rem !important;
    }

    .stat-label {
        font-size: 0.8rem !important;
    }

    .stat-trend {
        font-size: 0.7rem !important;
        line-height: 1.2;
    }

    .stat-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
    }
}

/* Additional Responsive Utilities */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .search-bar-container {
        width: 100%;
        display: flex;
        gap: 8px;
    }

    .search-input {
        flex: 1;
        min-width: 0;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .filter-container {
        gap: 0.75rem;
    }

    .filter-group {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 140px;
    }

    .filter-group select,
    .filter-group input {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .filter-group:last-child {
        flex: 1 1 100%;
        margin-top: 0.5rem;
    }
}

@media (max-width: 1024px) {
    .summary-item {
        flex: 1 1 calc(50% - 1rem);
        min-width: 140px;
        text-align: center;
    }

    .summary-item .label {
        font-size: 0.8rem;
    }

    .summary-item .value {
        font-size: 1.1rem !important;
    }
}

/* Filter Toggle Styles */
.filter-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
    white-space: nowrap;
}

.filter-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.slider:before {
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

@media (max-width: 768px) {
    .filter-toggle {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
        justify-content: flex-end;
    }
}


/* =========================================
   Unified Admin Page Styles (Standardization)
   ========================================= */

/* Container & Header */
.admin-page-container {
    animation: fade-in 0.3s ease-out;
    padding-bottom: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-title-group h1 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 700;
}

.admin-title-group p {
    color: var(--text-secondary);
    margin: 0.5rem 0 0 0;
    font-size: 0.95rem;
}

/* Search & Filter Bar */
.admin-search-bar {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.admin-search-filters {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex: 1;
    flex-wrap: wrap;
}

.admin-search-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

/* Inputs & Selects */
.admin-input,
.admin-select {
    height: 44px;
    /* Standard Height */
    padding: 0 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    min-width: 150px;
}

.admin-input:focus,
.admin-select:focus {
    border-color: var(--accent-color);
}

.admin-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Buttons */
.admin-btn {
    height: 44px;
    /* Standard Height */
    padding: 0 1.2rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.admin-btn.primary {
    background: var(--accent-color);
    color: white;
}

.admin-btn.primary:hover {
    background: #a38d8b;
    /* Slightly lighter accent */
    transform: translateY(-1px);
}

.admin-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.admin-btn.full-width-mobile {
    width: auto;
}

/* Toggle Switch Container */
.admin-toggle-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 0.5rem;
    cursor: pointer;
    user-select: none;
}

.admin-toggle-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .admin-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .admin-search-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.2rem;
    }

    .admin-search-filters {
        flex-direction: column;
        width: 100%;
    }

    .admin-search-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 0.5rem;
    }

    .admin-input,
    .admin-select {
        width: 100%;
    }

    .admin-btn {
        width: 100%;
        justify-content: center;
    }

    .admin-toggle-group {
        justify-content: space-between;
        width: 100%;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 6px;
    }
}


/* Table Styles */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    color: white;
    margin-bottom: 0;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table th {
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-completed {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Action Buttons (Icon) */
.icon-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.icon-btn:hover:not(:disabled) {
    background: var(--accent-color);
}

.icon-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0 0.5rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-size-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.page-info {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Mobile Table Adjustments */
@media (max-width: 1024px) {
    .hide-mobile {
        display: none;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }

    .pagination-container {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .search-btn {
        width: 100%;
        margin-top: 5px;
        height: 42px;
    }
}