/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    direction: rtl;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0D47A1, #1976D2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #0D47A1, #1976D2);
    color: white;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.sidebar.collapsed {
    transform: translateX(100%);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.sidebar-logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: white;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 5px;
}

.logo-container:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-icon {
    width: 50px;
    height: 40px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: white;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.logo-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    display: block;
    margin-top: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
}

.sidebar-nav ul {
    list-style: none;
    padding: 20px 0;
}

.nav-item {
    margin-bottom: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
}

.nav-link:hover,
.nav-item.active .nav-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-right-color: #F57C00;
}

.nav-link i {
    margin-left: 15px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    margin-right: 280px;
    min-height: 100vh;
    transition: margin-right 0.3s ease;
}

.main-content.expanded {
    margin-right: 0;
}

/* Header */
.header {
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #333;
    display: none;
}

/* Header Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 25px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header-logo:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-logo-icon {
    width: 35px;
    height: 28px;
    flex-shrink: 0;
}

.header-logo-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0D47A1;
    white-space: nowrap;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    width: 300px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    border-color: #0D47A1;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #333;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.notification-btn:hover {
    background-color: #f0f0f0;
}

.notification-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #F57C00;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.user-btn:hover {
    background-color: #f0f0f0;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.user-dropdown a:hover {
    background-color: #f8f9fa;
}

.user-dropdown a:first-child {
    border-radius: 10px 10px 0 0;
}

.user-dropdown a:last-child {
    border-radius: 0 0 10px 10px;
}

/* Page Content */
.page-content {
    padding: 30px;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #0D47A1, #1976D2);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #F57C00, #FF9800);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #388E3C, #4CAF50);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #7B1FA2, #9C27B0);
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Dashboard Charts */
.dashboard-charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.chart-container {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.chart-container h3 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

/* Recent Activities */
.recent-activities {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.recent-activities h3 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.activities-list {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
}

.activity-icon.booking {
    background: #0D47A1;
}

.activity-icon.user {
    background: #388E3C;
}

.activity-icon.review {
    background: #F57C00;
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #333;
}

.activity-content p {
    font-size: 0.8rem;
    color: #666;
}

.activity-time {
    font-size: 0.8rem;
    color: #999;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #0D47A1, #1976D2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 71, 161, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-content h3 {
    margin-bottom: 15px;
    color: #333;
}

.modal-content p {
    margin-bottom: 25px;
    color: #666;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Responsive modal styles */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        width: 95%;
        margin: 20px auto;
        max-height: 95vh;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.page-header h2 {
    color: #333;
    font-weight: 600;
    margin: 0;
}

/* Filters Section */
.filters-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.filters-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select,
.search-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.filter-select:focus,
.search-input:focus {
    border-color: #0D47A1;
}

.search-input {
    min-width: 250px;
    flex: 1;
}

/* Table Styles */
.table-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 20px;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px; /* Ensure table doesn't get too narrow */
}

.data-table th {
    background: #f8f9fa;
    padding: 15px 12px;
    text-align: right;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    white-space: nowrap;
}

.data-table tr:hover {
    background-color: #f8f9fa;
}

.data-table img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive table container */
@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .data-table {
        min-width: 100%;
    }
    
    .data-table th,
    .data-table td {
        white-space: nowrap;
        font-size: 12px;
        padding: 10px 8px;
    }
    
    .data-table img {
        width: 40px;
        height: 40px;
    }
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    min-width: 70px;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
}

.status-badge.inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.confirmed {
    background: #d4edda;
    color: #155724;
}

.status-badge.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.completed {
    background: #cce5ff;
    color: #004085;
}

/* Featured Badge */
.featured-badge {
    background: linear-gradient(135deg, #F57C00, #FF9800);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* Rating Display */
.rating-display {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars {
    color: #F57C00;
}

.rating-count {
    color: #666;
    font-size: 12px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.action-btn {
    padding: 6px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.action-btn.edit {
    background: #0D47A1;
    color: white;
}

.action-btn.edit:hover {
    background: #0A3D91;
}

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

.action-btn.delete:hover {
    background: #c82333;
}

.action-btn.view {
    background: #28a745;
    color: white;
}

.action-btn.view:hover {
    background: #218838;
}

.action-btn.schedule {
    background: #17a2b8;
    color: white;
}

.action-btn.schedule:hover {
    background: #138496;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #f8f9fa;
}

.pagination-btn.active {
    background: #0D47A1;
    color: white;
    border-color: #0D47A1;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #0D47A1;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0D47A1;
}

/* File Upload */
.file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 20px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    color: #666;
    transition: all 0.3s ease;
}

.file-upload:hover .file-upload-label {
    border-color: #0D47A1;
    background: #f0f4ff;
    color: #0D47A1;
}

.file-preview {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.file-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ddd;
}

/* Image Preview */
.image-preview {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.image-preview img {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ddd;
}

.preview-item {
    position: relative;
    display: inline-block;
}

.preview-item .btn-danger {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 2px 6px;
    min-width: auto;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    left: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3000;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.notification-success {
    border-right: 4px solid #28a745;
}

.notification.notification-error {
    border-right: 4px solid #dc3545;
}

.notification.notification-warning {
    border-right: 4px solid #ffc107;
}

.notification.notification-info {
    border-right: 4px solid #17a2b8;
}

.notification i {
    font-size: 18px;
}

.notification.notification-success i {
    color: #28a745;
}

.notification.notification-error i {
    color: #dc3545;
}

.notification.notification-warning i {
    color: #ffc107;
}

.notification.notification-info i {
    color: #17a2b8;
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #666;
}

.loading i {
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ccc;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #333;
}

/* Category Icon */
.category-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0D47A1, #1976D2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.event-count-badge {
    background: #e3f2fd;
    color: #0D47A1;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.icon-preview {
    text-align: center;
    margin: 15px 0;
    font-size: 2rem;
    color: #0D47A1;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-help {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

/* User Profile Styles */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.profile-info h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.profile-info p {
    margin: 2px 0;
    color: #666;
    font-size: 14px;
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-item h5 {
    font-size: 1.5rem;
    color: #0D47A1;
    margin: 0 0 5px 0;
}

.stat-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.user-activity {
    margin-bottom: 30px;
}

.user-activity h4 {
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.activity-list {
    max-height: 200px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.booking-count-badge {
    background: #fff3e0;
    color: #F57C00;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.participants-badge {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

/* Review Styles */
.review-content {
    max-width: 200px;
    word-wrap: break-word;
    line-height: 1.4;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars {
    color: #F57C00;
    font-size: 14px;
}

.rating-stars.large {
    font-size: 20px;
}

.rating-number {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.rating-text {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.review-details {
    padding: 20px 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.user-profile {
    display: flex;
    align-items: center;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.rating-section {
    text-align: center;
}

.event-info,
.review-content-section,
.review-meta {
    margin-bottom: 20px;
}

.event-info h4,
.review-content-section h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.review-text {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    line-height: 1.6;
    color: #333;
}

.review-meta p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

/* Booking Details */
.booking-details {
    padding: 20px 0;
}

.detail-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.detail-section p {
    margin: 8px 0;
    color: #666;
    line-height: 1.5;
}

.detail-section strong {
    color: #333;
    font-weight: 500;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Text Utilities */
.text-muted {
    color: #666 !important;
    font-size: 12px;
}

/* Category Badge */
.category-badge {
    background: #f0f4ff;
    color: #0D47A1;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

/* Event Details */
.event-details {
    padding: 20px 0;
}

.event-details h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.event-details p {
    margin: 8px 0;
    color: #666;
    line-height: 1.6;
}

.event-details strong {
    color: #333;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-right: 0;
    }

    .sidebar-toggle,
    .menu-toggle {
        display: block;
    }

    .header {
        padding: 15px 20px;
    }

    .search-box input {
        width: 200px;
    }

    .page-content {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-charts {
        grid-template-columns: 1fr;
    }

    /* Adventures and Users Pages Responsive Styles */
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .search-input {
        min-width: 100%;
    }

    .filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select {
        width: 100%;
    }

    .data-table {
        font-size: 12px;
    }

    .data-table th,
    .data-table td {
        padding: 8px 6px;
    }

    .data-table img {
        width: 40px;
        height: 40px;
    }

    .action-buttons {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .action-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* Enhanced Detail Grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.75rem;
}

.detail-grid p {
    margin: 0.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #e9ecef;
    transition: all 0.3s ease;
}

.detail-grid p:hover {
    background: #e9ecef;
    border-left-color: #0D47A1;
}

.detail-grid strong {
    color: #333;
    font-weight: 600;
    min-width: 140px;
    font-size: 0.9rem;
}

.detail-grid span {
    color: #666;
    text-align: right;
    font-size: 0.9rem;
    word-break: break-word;
}

/* Timeline Labels */
.timeline-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

/* Service Status */
.service-included {
    color: #155724;
    font-weight: 600;
}

.service-not-included {
    color: #721c24;
    font-weight: 600;
}

/* Special Requests Content */
.special-requests-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #17a2b8;
}

/* Total Price Highlight */
.total-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0D47A1;
}

/* Modal Header Enhancement */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #0D47A1;
}

.modal-header h3 {
    margin: 0;
    color: #0D47A1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Large Modal */
.modal-content.large {
    max-width: 95vw;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 2vh auto;
}

/* Difficulty Badge */
.difficulty-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty-badge.easy {
    background: #d4edda;
    color: #155724;
}

.difficulty-badge.medium {
    background: #fff3cd;
    color: #856404;
}

.difficulty-badge.hard {
    background: #f8d7da;
    color: #721c24;
}

.difficulty-badge.expert {
    background: #d1ecf1;
    color: #0c5460;
}

/* Enhanced Booking Details Modal */
.booking-details {
    max-height: 75vh;
    overflow-y: auto;
    padding-right: 10px;
}

.booking-details::-webkit-scrollbar {
    width: 6px;
}

.booking-details::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.booking-details::-webkit-scrollbar-thumb {
    background: #0D47A1;
    border-radius: 3px;
}

.booking-details::-webkit-scrollbar-thumb:hover {
    background: #1565C0;
}

.detail-section {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.detail-section:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.detail-section h4 {
    color: #0D47A1;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f8f9fa;
    font-weight: 600;
}

.detail-section h4 i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Timeline Enhancement */
.booking-status-timeline {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    position: relative;
    padding: 0 20px;
}

.booking-status-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(to right, #e0e0e0 0%, #e0e0e0 100%);
    z-index: 1;
    border-radius: 2px;
}

.timeline-step {
    background: white;
    border: 4px solid #e0e0e0;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.timeline-step.completed {
    border-color: #4CAF50;
    background: #4CAF50;
    color: white;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.timeline-step.current {
    border-color: #0D47A1;
    background: #0D47A1;
    color: white;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.2);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(13, 71, 161, 0.1);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.2);
    }
}

.timeline-labels span {
    text-align: center;
    max-width: 80px;
}

/* Category and Status Badges Enhancement */
.category-badge {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.participants-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Coupon Badge */
.coupon-badge {
    background: linear-gradient(135deg, #F57C00, #FF9800);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Event Slots Management */
.slots-management {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.add-slot-section,
.existing-slots-section,
.bulk-add-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.add-slot-section h4,
.existing-slots-section h4,
.bulk-add-section h4 {
    margin: 0 0 1rem 0;
    color: #0D47A1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: end;
}

.bulk-add-section .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    align-items: start;
}

.days-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.days-selector label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: white;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.days-selector label:hover {
    background: #f0f0f0;
}

.days-selector input[type="checkbox"] {
    margin: 0;
}

.slots-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.slot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.slot-item.available {
    border-left: 4px solid #28a745;
}

.slot-item.booked {
    border-left: 4px solid #dc3545;
    background: #fff5f5;
}

.slot-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.slot-time {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slot-status .status-badge.available {
    background: #28a745;
    color: white;
}

.slot-status .status-badge.booked {
    background: #dc3545;
    color: white;
}

.slot-actions {
    display: flex;
    gap: 0.5rem;
}

.empty-slots {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.empty-slots i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.action-btn.schedule {
    background: #17a2b8;
    color: white;
}

.action-btn.schedule:hover {
    background: #138496;
}

/* Button sizes */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Notifications Page Styles */
.notifications-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.notifications-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.notifications-list {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background: #f0f4ff;
    border-left: 4px solid #0D47A1;
}

.notification-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    font-size: 1.2rem;
    color: white;
}

.notification-icon.booking {
    background: #0D47A1;
}

.notification-icon.user {
    background: #28a745;
}

.notification-icon.system {
    background: #6c757d;
}

.notification-icon.promotion {
    background: #F57C00;
}

.notification-content {
    flex: 1;
}

.notification-content h5 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1rem;
}

.notification-content p {
    margin: 0 0 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.notification-time {
    font-size: 0.8rem;
    color: #999;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
}

/* Profile Page Styles */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-header {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Responsive profile header */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .profile-info h3 {
        font-size: 1.2rem;
    }
    
    .profile-info p {
        font-size: 0.9rem;
    }
}

.profile-avatar-section {
    text-align: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #f0f0f0;
}

.profile-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.5rem;
}

.profile-info p {
    margin: 0.25rem 0;
    color: #666;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.profile-section h4 {
    margin: 0 0 1.5rem 0;
    color: #0D47A1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

/* Settings Page Styles */
.settings-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.settings-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.settings-section h4 {
    margin: 0 0 1.5rem 0;
    color: #0D47A1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.settings-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Reports Page Styles */
.reports-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.reports-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.reports-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.reports-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .settings-actions {
        flex-direction: column;
    }

    .reports-charts,
    .reports-tables {
        grid-template-columns: 1fr;
    }

    .notifications-stats {
        grid-template-columns: 1fr;
    }

    .account-stats {
        grid-template-columns: 1fr;
    }
}

/* Discount Modal Styles */
.discount-modal {
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.discount-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #F57C00, #FF9800);
    color: white;
}

.discount-modal .modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.discount-modal .modal-header .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.discount-modal .modal-header .btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.discount-modal .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}

.discount-modal .modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Form Grid for Discount Modal */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-grid .form-group.full-width {
    grid-column: 1 / -1;
}

.discount-modal .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.discount-modal .form-label i {
    color: #F57C00;
    width: 16px;
}

.discount-modal .form-help {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
}

/* Input with Unit */
.input-with-unit {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-unit .form-input {
    padding-left: 50px;
    margin-bottom: 0;
}

.input-unit {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #F57C00;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    pointer-events: none;
}

/* Form Options */
.form-options {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-top: 20px;
}

.form-options .form-checkbox {
    margin: 0;
}

.form-options .form-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.form-options .form-checkbox label i {
    color: #28a745;
}

/* Enhanced Form Inputs */
.discount-modal .form-input,
.discount-modal .form-select,
.discount-modal .form-textarea {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.discount-modal .form-input:focus,
.discount-modal .form-select:focus,
.discount-modal .form-textarea:focus {
    border-color: #F57C00;
    box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.1);
    outline: none;
}

.discount-modal .form-textarea {
    min-height: 80px;
    resize: vertical;
}

/* Responsive Design for Discount Modal */
@media (max-width: 768px) {
    .discount-modal {
        max-width: 95%;
        margin: 20px auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .discount-modal .modal-footer {
        flex-direction: column;
        gap: 10px;
    }

    .discount-modal .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .input-with-unit .form-input {
        padding-left: 45px;
    }

    .input-unit {
        left: 10px;
        padding: 3px 6px;
        font-size: 0.7rem;
    }
}

/* Enhanced Reports Styles */
.reports-container {
    padding: 1.5rem;
}

.reports-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.reports-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.chart-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    position: relative;
    height: 400px;
}

.chart-container h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.chart-container canvas {
    max-height: 320px !important;
}

/* Enhanced Table Styles */
.event-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Responsive table adjustments */
@media (max-width: 768px) {
    .event-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .event-info small {
        font-size: 11px;
    }
}

.event-rank {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.event-title {
    font-weight: 500;
    color: #333;
}

.booking-count {
    font-weight: 600;
    color: #1976D2;
    font-size: 1.1rem;
}

.revenue-amount {
    font-weight: 600;
    color: #4CAF50;
    font-size: 1.1rem;
}

.rating-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.rating-value {
    font-weight: 600;
    color: #FF9800;
    font-size: 1.1rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    font-size: 0.9rem;
}

/* Customer Table Enhancements */
.customer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.customer-rank {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.customer-details {
    display: flex;
    flex-direction: column;
}

.customer-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.customer-id {
    font-size: 0.8rem;
}

.spent-amount {
    font-weight: 600;
    color: #4CAF50;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.spending-bar {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.spending-progress {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.last-booking {
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 2px;
}

.text-muted {
    color: #666 !important;
    font-size: 0.85rem;
}

.text-warning {
    color: #FF9800 !important;
}

/* Empty State Improvements */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-state i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin: 0 0 0.5rem 0;
    color: #999;
    font-size: 1.2rem;
}

.empty-state p {
    margin: 0;
    color: #bbb;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.loading i {
    margin-left: 0.5rem;
    color: #1976D2;
}

/* Responsive Design for Reports */
@media (max-width: 768px) {
    .reports-charts {
        grid-template-columns: 1fr;
    }

    .chart-container {
        min-width: 300px;
        height: 350px;
    }

    .event-info,
    .customer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .rating-display {
        align-items: flex-start;
    }
}

/* Mobile Specific Styles */
@media (max-width: 480px) {
    .data-table {
        font-size: 11px;
    }

    .data-table th,
    .data-table td {
        padding: 6px 4px;
    }

    .data-table th:nth-child(4),
    .data-table td:nth-child(4),
    .data-table th:nth-child(5),
    .data-table td:nth-child(5) {
        display: none;
    }

    .user-avatar {
        width: 30px;
        height: 30px;
    }

    .btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .action-btn {
        padding: 3px 6px;
        font-size: 10px;
    }

    .status-badge {
        padding: 2px 8px;
        font-size: 10px;
    }

    .category-badge,
    .featured-badge,
    .booking-count-badge {
        padding: 2px 6px;
        font-size: 10px;
    }
}
