/* ===================================
   Dashboard
   =================================== */

/* Page title */
.prebooking-page-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
}

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

.prebooking-stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.prebooking-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.prebooking-stat-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-color: var(--primary-color);
}

.prebooking-stat-highlight .prebooking-stat-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.prebooking-stat-highlight .prebooking-stat-number,
.prebooking-stat-highlight .prebooking-stat-label {
    color: white;
}

.prebooking-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--primary-focus);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prebooking-stat-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.prebooking-stat-content {
    flex: 1;
}

.prebooking-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.prebooking-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Dashboard sections */
.prebooking-dashboard-section {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.prebooking-dashboard-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

/* Quick actions */
.prebooking-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.prebooking-quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.prebooking-quick-action-card:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.prebooking-quick-action-card .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

/* Dashboard grid */
.prebooking-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

/* Dashboard list */
.prebooking-dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prebooking-dashboard-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.prebooking-dashboard-item:hover {
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* Date badge */
.prebooking-dashboard-item-date {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.prebooking-date-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.prebooking-date-month {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Avatar */
.prebooking-dashboard-item-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

/* Item content */
.prebooking-dashboard-item-content {
    flex: 1;
    min-width: 0;
}

.prebooking-dashboard-item-content h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prebooking-dashboard-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.prebooking-dashboard-item-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.prebooking-dashboard-item-meta .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Item actions */
.prebooking-dashboard-item-actions {
    flex-shrink: 0;
}

/* Status badges */
.prebooking-dashboard-item-status {
    flex-shrink: 0;
}

.prebooking-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.prebooking-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.prebooking-status-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.prebooking-status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* Empty state */
.prebooking-empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive dashboard */
@media (max-width: 768px) {
    .prebooking-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .prebooking-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .prebooking-quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .prebooking-dashboard-item {
        flex-wrap: wrap;
    }
}