/* ============================================
   Carousel Ad Bookings Admin - Hubionis Theme
   Etap 5 — Full admin panel styling
   ============================================ */

/* ============================================
   Section Container
   ============================================ */

.carousel-ads-admin-section {
    padding: 2rem;
    background: transparent;
    min-height: auto;
    margin-top: 2rem;
}

/* Back button in this section */
.carousel-ads-admin-section .btn-back-to-dashboard {
    margin-bottom: 1rem;
}

/* ============================================
   Section Header
   ============================================ */

.carousel-ads-admin-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(31, 85, 85, 0.6), rgba(15, 42, 42, 0.4));
    border-radius: 16px;
    border: 1px solid rgba(255, 152, 0, 0.2);
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
    gap: 1rem;
}

.carousel-ads-admin-section .section-header h2 {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #FF9800, #FF5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ============================================
   Header Action Buttons
   ============================================ */

.carousel-ads-admin-section .header-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.carousel-ads-admin-section .btn-refresh {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 152, 0, 0.3);
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-ads-admin-section .btn-refresh:hover {
    background: rgba(255, 152, 0, 0.2);
    border-color: rgba(255, 152, 0, 0.5);
    transform: translateY(-1px);
}

.carousel-ads-admin-section .btn-refresh svg {
    stroke: #FF9800;
}

/* ============================================
   Stats Grid
   ============================================ */

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

.cab-stat-card {
    background: linear-gradient(135deg, rgba(31, 85, 85, 0.4), rgba(15, 42, 42, 0.3));
    border: 1px solid rgba(127, 255, 0, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.cab-stat-card:hover {
    border-color: rgba(127, 255, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cab-stat-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(127, 255, 0, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.cab-stat-content {
    flex: 1;
    min-width: 0;
}

.cab-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #7FFF00;
    line-height: 1;
}

.cab-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Stat card color variants */
.cab-stat-card.warning .cab-stat-icon { background: rgba(255, 193, 7, 0.15); }
.cab-stat-card.warning .cab-stat-value { color: #FFC107; }

.cab-stat-card.danger .cab-stat-icon { background: rgba(255, 82, 82, 0.15); }
.cab-stat-card.danger .cab-stat-value { color: #FF5252; }

.cab-stat-card.info .cab-stat-icon { background: rgba(0, 191, 255, 0.15); }
.cab-stat-card.info .cab-stat-value { color: #00BFFF; }

.cab-stat-card.active .cab-stat-icon { background: rgba(76, 175, 80, 0.15); }
.cab-stat-card.active .cab-stat-value { color: #4CAF50; }

.cab-stat-card.purple .cab-stat-icon { background: rgba(187, 134, 252, 0.15); }
.cab-stat-card.purple .cab-stat-value { color: #BB86FC; }

/* ============================================
   Tab Navigation
   ============================================ */

.cab-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 2rem;
    padding: 0.35rem;
    background: rgba(15, 42, 42, 0.4);
    border: 1px solid rgba(127, 255, 0, 0.1);
    border-radius: 12px;
    flex-wrap: wrap;
}

.cab-tab {
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.cab-tab:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.cab-tab.active {
    color: #0a1a1a;
    background: linear-gradient(135deg, #FF9800, #FF5722);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

/* Tab content */
.cab-tab-content {
    display: none;
}

.cab-tab-content.active {
    display: block;
    animation: cabFadeIn 0.3s ease;
}

@keyframes cabFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Filters Bar
   ============================================ */

.cab-filters-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: rgba(15, 42, 42, 0.4);
    border: 1px solid rgba(127, 255, 0, 0.1);
    border-radius: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.cab-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 140px;
}

.cab-filter-group label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.cab-filter-group select,
.cab-filter-group input[type="date"],
.cab-filter-group input[type="text"],
.cab-filter-group input[type="number"] {
    padding: 0.6rem 0.75rem;
    background: rgba(15, 42, 42, 0.6);
    border: 1px solid rgba(127, 255, 0, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.cab-filter-group select:focus,
.cab-filter-group input:focus {
    border-color: rgba(255, 152, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.cab-filter-group select option {
    background: #0f2a2a;
    color: #fff;
}

.cab-filter-group.search-group {
    flex: 1;
    min-width: 200px;
}

.cab-filter-group.search-group input {
    width: 100%;
}

/* ============================================
   Bookings Table
   ============================================ */

.cab-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(127, 255, 0, 0.1);
    margin-bottom: 2rem;
}

.cab-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
}

.cab-table thead {
    background: linear-gradient(135deg, rgba(31, 85, 85, 0.6), rgba(15, 42, 42, 0.4));
}

.cab-table thead th {
    padding: 1rem 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid rgba(127, 255, 0, 0.15);
    cursor: pointer;
    user-select: none;
    transition: color 0.3s;
}

.cab-table thead th:hover {
    color: #FF9800;
}

.cab-table thead th.sortable::after {
    content: ' ↕';
    opacity: 0.4;
    font-size: 0.7rem;
}

.cab-table thead th.sort-asc::after {
    content: ' ↑';
    opacity: 1;
    color: #FF9800;
}

.cab-table thead th.sort-desc::after {
    content: ' ↓';
    opacity: 1;
    color: #FF9800;
}

.cab-table tbody tr {
    border-bottom: 1px solid rgba(127, 255, 0, 0.05);
    transition: background-color 0.2s;
}

.cab-table tbody tr:hover {
    background: rgba(255, 152, 0, 0.05);
}

.cab-table tbody td {
    padding: 0.85rem 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    vertical-align: middle;
}

/* Booking ID */
.cab-id {
    color: rgba(255, 255, 255, 0.4);
    font-family: monospace;
    font-size: 0.75rem;
}

/* Title cell */
.cab-title-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 280px;
}

.cab-thumb {
    width: 48px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.cab-thumb-placeholder {
    width: 48px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 87, 34, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 152, 0, 0.1);
}

.cab-title-info {
    min-width: 0;
}

.cab-title-info strong {
    display: block;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.cab-title-info small {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* Organizer cell */
.cab-organizer-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cab-organizer-info {
    min-width: 0;
}

.cab-organizer-info strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.cab-organizer-info small {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

/* ============================================
   Status Badges
   ============================================ */

.cab-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: capitalize;
    white-space: nowrap;
}

.cab-status-badge.draft {
    background: rgba(158, 158, 158, 0.15);
    color: #9E9E9E;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

.cab-status-badge.pending {
    background: rgba(255, 193, 7, 0.15);
    color: #FFC107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.cab-status-badge.approved {
    background: rgba(0, 191, 255, 0.15);
    color: #00BFFF;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.cab-status-badge.payment {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.cab-status-badge.paid {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.cab-status-badge.active {
    background: rgba(139, 255, 34, 0.15);
    color: #8BFF22;
    border: 1px solid rgba(139, 255, 34, 0.3);
    animation: cabPulseActive 2s ease-in-out infinite;
}

@keyframes cabPulseActive {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 255, 34, 0); }
    50% { box-shadow: 0 0 8px 2px rgba(139, 255, 34, 0.2); }
}

.cab-status-badge.completed {
    background: rgba(0, 191, 255, 0.15);
    color: #00BFFF;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.cab-status-badge.rejected {
    background: rgba(255, 82, 82, 0.15);
    color: #FF5252;
    border: 1px solid rgba(255, 82, 82, 0.3);
}

.cab-status-badge.cancelled {
    background: rgba(255, 82, 82, 0.1);
    color: #FF5252;
    border: 1px solid rgba(255, 82, 82, 0.2);
    text-decoration: line-through;
}

.cab-status-badge.expired {
    background: rgba(158, 158, 158, 0.1);
    color: #9E9E9E;
    border: 1px solid rgba(158, 158, 158, 0.2);
}

/* Priority badges */
.cab-priority-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.cab-priority-badge.standard {
    background: rgba(127, 255, 0, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.cab-priority-badge.premium {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.cab-priority-badge.exclusive {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 152, 0, 0.1));
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* ============================================
   Table Actions
   ============================================ */

.cab-actions {
    display: flex;
    gap: 0.35rem;
    flex-wrap: nowrap;
}

.cab-btn-action {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 0.85rem;
    padding: 0;
}

.cab-btn-action:hover {
    background: rgba(255, 152, 0, 0.15);
    border-color: rgba(255, 152, 0, 0.3);
    transform: translateY(-1px);
}

.cab-btn-action.view:hover { color: #00BFFF; border-color: rgba(0, 191, 255, 0.3); }
.cab-btn-action.approve:hover { color: #4CAF50; border-color: rgba(76, 175, 80, 0.3); background: rgba(76, 175, 80, 0.1); }
.cab-btn-action.reject:hover { color: #FF5252; border-color: rgba(255, 82, 82, 0.3); background: rgba(255, 82, 82, 0.1); }

/* ============================================
   Pagination
   ============================================ */

.cab-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.cab-pagination button {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(127, 255, 0, 0.2);
    background: rgba(15, 42, 42, 0.4);
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.cab-pagination button:hover:not(:disabled) {
    background: rgba(255, 152, 0, 0.15);
    border-color: rgba(255, 152, 0, 0.4);
}

.cab-pagination button.active {
    background: linear-gradient(135deg, #FF9800, #FF5722);
    color: #fff;
    font-weight: 700;
    border-color: transparent;
}

.cab-pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cab-pagination .page-info {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    padding: 0 1rem;
}

/* ============================================
   Pricing Tiers Tab
   ============================================ */

.cab-pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cab-pricing-header h3 {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
}

.cab-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cab-pricing-card {
    background: linear-gradient(135deg, rgba(31, 85, 85, 0.5), rgba(15, 42, 42, 0.3));
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cab-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF9800, #FF5722);
}

.cab-pricing-card:hover {
    border-color: rgba(255, 152, 0, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 152, 0, 0.1);
}

.cab-pricing-card.inactive {
    opacity: 0.5;
    border-color: rgba(255, 255, 255, 0.1);
}

.cab-pricing-card.inactive::before {
    background: rgba(158, 158, 158, 0.5);
}

.cab-pricing-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cab-pricing-card-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.cab-pricing-status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cab-pricing-status.active {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.cab-pricing-status.inactive {
    background: rgba(158, 158, 158, 0.15);
    color: #9E9E9E;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

.cab-pricing-price {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.cab-pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF9800;
    line-height: 1;
}

.cab-pricing-currency {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.cab-pricing-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cab-pricing-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.cab-pricing-detail .label {
    color: rgba(255, 255, 255, 0.5);
}

.cab-pricing-detail .value {
    color: #fff;
    font-weight: 600;
}

.cab-pricing-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cab-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cab-pricing-features li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 0.25rem;
}

.cab-pricing-actions {
    display: flex;
    gap: 0.75rem;
}

.cab-btn-edit,
.cab-btn-delete {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-align: center;
}

.cab-btn-edit {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.cab-btn-edit:hover {
    background: rgba(255, 152, 0, 0.25);
    transform: translateY(-1px);
}

.cab-btn-delete {
    background: rgba(255, 82, 82, 0.1);
    color: #FF5252;
    border: 1px solid rgba(255, 82, 82, 0.2);
}

.cab-btn-delete:hover {
    background: rgba(255, 82, 82, 0.2);
    transform: translateY(-1px);
}

/* ============================================
   Blackout Dates Tab
   ============================================ */

.cab-blackout-header {
    margin-bottom: 1.5rem;
}

.cab-blackout-header h3 {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cab-blackout-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.cab-blackout-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cab-blackout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: rgba(15, 42, 42, 0.4);
    border: 1px solid rgba(255, 82, 82, 0.15);
    border-radius: 12px;
    transition: all 0.2s;
    gap: 1rem;
    flex-wrap: wrap;
}

.cab-blackout-item:hover {
    border-color: rgba(255, 82, 82, 0.3);
    background: rgba(255, 82, 82, 0.03);
}

.cab-blackout-item.past {
    opacity: 0.5;
}

.cab-blackout-dates {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cab-blackout-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cab-blackout-dates strong {
    display: block;
    font-size: 0.95rem;
    color: #FF5252;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cab-blackout-dates p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.cab-blackout-dates small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.25rem;
    display: block;
}

.cab-blackout-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cab-badge-past {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    background: rgba(158, 158, 158, 0.15);
    color: #9E9E9E;
    font-weight: 600;
    text-transform: uppercase;
}

/* ============================================
   Calendar View
   ============================================ */

.cab-calendar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.cab-calendar-header h3 {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    min-width: 200px;
    text-align: center;
}

.cab-calendar-nav {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255, 152, 0, 0.3);
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cab-calendar-nav:hover {
    background: rgba(255, 152, 0, 0.2);
    transform: translateY(-1px);
}

.cab-calendar-nav svg {
    stroke: #FF9800;
}

.cab-calendar-today {
    padding: 0.4rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 152, 0, 0.3);
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.cab-calendar-today:hover {
    background: rgba(255, 152, 0, 0.2);
}

/* Calendar Legend */
.cab-calendar-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cab-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.cab-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.cab-legend-dot.active { background: #8BFF22; }
.cab-legend-dot.approved { background: #00BFFF; }
.cab-legend-dot.pending { background: #FFC107; }
.cab-legend-dot.blackout { background: #FF5252; }

/* Calendar Grid */
.cab-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    background: rgba(15, 42, 42, 0.3);
    border: 1px solid rgba(127, 255, 0, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
}

.cab-cal-header {
    text-align: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cab-cal-day {
    position: relative;
    padding: 0.75rem 0.5rem;
    min-height: 60px;
    border-radius: 8px;
    background: rgba(15, 42, 42, 0.3);
    border: 1px solid rgba(127, 255, 0, 0.05);
    transition: all 0.2s;
    cursor: default;
}

.cab-cal-day:hover:not(.empty) {
    border-color: rgba(255, 152, 0, 0.3);
    background: rgba(255, 152, 0, 0.05);
}

.cab-cal-day.empty {
    background: transparent;
    border: none;
}

.cab-cal-day.today {
    border-color: rgba(255, 152, 0, 0.5);
    background: rgba(255, 152, 0, 0.08);
}

.cab-cal-day.today .cab-cal-day-num {
    color: #FF9800;
    font-weight: 700;
}

.cab-cal-day.blackout {
    background: rgba(255, 82, 82, 0.08);
    border-color: rgba(255, 82, 82, 0.2);
}

.cab-cal-day-num {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.cab-cal-dots {
    display: flex;
    gap: 3px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.cab-cal-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.cab-cal-dot.active { background: #8BFF22; }
.cab-cal-dot.approved { background: #00BFFF; }
.cab-cal-dot.pending { background: #FFC107; }
.cab-cal-dot.blackout { background: #FF5252; }

.cab-cal-count {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #FF9800;
    background: rgba(255, 152, 0, 0.15);
    border-radius: 4px;
    padding: 1px 4px;
    line-height: 1.2;
}

/* ============================================
   Audit Log
   ============================================ */

.cab-audit-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cab-audit-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cab-audit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(15, 42, 42, 0.3);
    border: 1px solid rgba(127, 255, 0, 0.08);
    border-radius: 10px;
    transition: all 0.2s;
}

.cab-audit-item:hover {
    border-color: rgba(255, 152, 0, 0.2);
    background: rgba(255, 152, 0, 0.03);
}

.cab-audit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 10px;
}

.cab-audit-content {
    flex: 1;
    min-width: 0;
}

.cab-audit-content strong {
    display: inline-block;
    font-size: 0.9rem;
    color: #fff;
    text-transform: capitalize;
    margin-right: 0.5rem;
}

.cab-audit-status-change {
    font-size: 0.78rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
    font-weight: 600;
}

.cab-audit-details {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0.25rem 0;
    word-break: break-word;
}

.cab-audit-content small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-top: 0.25rem;
}

/* ============================================
   Detail Modal
   ============================================ */

.cab-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    overflow-y: auto;
}

.cab-modal-overlay.active {
    display: flex;
}

.cab-modal {
    background: linear-gradient(135deg, #0f2a2a 0%, #1a3a3a 100%);
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: 16px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cab-modal-sm {
    max-width: 580px;
}

.cab-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 152, 0, 0.1);
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #0f2a2a 0%, #1a3a3a 100%);
    z-index: 1;
}

.cab-modal-header h3 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    max-width: 80%;
}

.cab-modal-header h3 small {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-top: 4px;
    font-family: monospace;
}

.cab-modal-close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.cab-modal-close:hover {
    background: rgba(255, 82, 82, 0.2);
    border-color: rgba(255, 82, 82, 0.3);
}

.cab-modal-body {
    padding: 2rem;
}

/* Modal Tabs */
.cab-modal-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 152, 0, 0.1);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cab-modal-tab {
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.cab-modal-tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

.cab-modal-tab.active {
    color: #FF9800;
    border-bottom-color: #FF9800;
}

.cab-modal-tab-content {
    display: none;
}

.cab-modal-tab-content.active {
    display: block;
    animation: cabFadeIn 0.3s ease;
}

/* Detail Grid */
.cab-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.cab-detail-section {
    background: rgba(15, 42, 42, 0.3);
    border: 1px solid rgba(127, 255, 0, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
}

.cab-detail-section.full-width {
    grid-column: 1 / -1;
}

.cab-detail-section h4 {
    font-size: 0.85rem;
    color: #FF9800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 152, 0, 0.1);
}

.cab-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    gap: 1rem;
}

.cab-detail-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cab-detail-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    flex-shrink: 0;
    min-width: 100px;
}

.cab-detail-value {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

/* Modal Actions */
.cab-modal-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 152, 0, 0.1);
    flex-wrap: wrap;
}

.cab-btn-approve {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.cab-btn-approve:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.cab-btn-reject,
.cab-btn-reject-confirm {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #FF5252, #D32F2F);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.cab-btn-reject:hover,
.cab-btn-reject-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 82, 82, 0.3);
}

.cab-action-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cab-action-info.active {
    color: #8BFF22;
    background: rgba(139, 255, 34, 0.08);
    border-color: rgba(139, 255, 34, 0.15);
}

/* ============================================
   Preview Tab
   ============================================ */

.cab-preview-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.cab-preview-slide {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.cab-preview-slide-content {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    background: #0a1a1a;
    overflow: hidden;
}

.cab-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cab-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.cab-preview-overlay h3 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cab-preview-overlay p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.cab-preview-cta {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #FF9800, #FF5722);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.cab-preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
}

.cab-preview-placeholder svg {
    stroke: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.cab-preview-placeholder p {
    font-size: 0.9rem;
}

/* ============================================
   Stats Tab (Modal)
   ============================================ */

.cab-stats-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cab-mini-stat {
    text-align: center;
    padding: 1.25rem;
    background: rgba(15, 42, 42, 0.4);
    border: 1px solid rgba(127, 255, 0, 0.08);
    border-radius: 12px;
}

.cab-mini-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #FF9800;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.cab-mini-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cab-stats-chart-container {
    height: 250px;
    padding: 1rem;
    background: rgba(15, 42, 42, 0.3);
    border: 1px solid rgba(127, 255, 0, 0.08);
    border-radius: 12px;
}

/* ============================================
   History Timeline (Modal)
   ============================================ */

.cab-history-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cab-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    position: relative;
}

.cab-timeline-item:not(:last-child) {
    border-left: 2px solid rgba(255, 152, 0, 0.15);
    margin-left: 19px;
    padding-left: calc(1rem + 19px);
}

.cab-timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 1.25rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF9800;
}

.cab-timeline-item:last-child {
    padding-left: 0;
}

.cab-timeline-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 8px;
}

.cab-timeline-content {
    flex: 1;
}

.cab-timeline-content strong {
    font-size: 0.9rem;
    color: #fff;
    text-transform: capitalize;
}

.cab-timeline-status {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
    font-weight: 600;
    margin-left: 0.5rem;
}

.cab-timeline-content small {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.25rem;
}

/* ============================================
   Form Styles (Modals)
   ============================================ */

.cab-form-group {
    margin-bottom: 1.25rem;
}

.cab-form-group label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cab-form-group input[type="text"],
.cab-form-group input[type="number"],
.cab-form-group input[type="date"],
.cab-form-group select,
.cab-form-group textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    background: rgba(15, 42, 42, 0.6);
    border: 1px solid rgba(127, 255, 0, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
    box-sizing: border-box;
}

.cab-form-group input:focus,
.cab-form-group select:focus,
.cab-form-group textarea:focus {
    border-color: rgba(255, 152, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.cab-form-group select option {
    background: #0f2a2a;
    color: #fff;
}

.cab-form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.cab-form-group input::placeholder,
.cab-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.cab-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cab-form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.cab-form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #FF9800;
    cursor: pointer;
}

.cab-form-check label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
}

.cab-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cab-form-actions .btn-cancel {
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cab-form-actions .btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cab-form-actions .btn-primary {
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #FF9800, #FF5722);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.cab-form-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
}

/* Also style the btn-primary inside the section */
.carousel-ads-admin-section .btn-primary,
.cab-tab-content .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #FF9800, #FF5722);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-ads-admin-section .btn-primary:hover,
.cab-tab-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
}

/* ============================================
   Empty State
   ============================================ */

.cab-empty-state {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.5);
}

.cab-empty-state .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cab-empty-state .title {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.cab-empty-state .subtitle {
    font-size: 0.9rem;
}

/* ============================================
   Loading Spinner
   ============================================ */

.cab-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    flex-direction: column;
    gap: 1rem;
}

.cab-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 152, 0, 0.2);
    border-top: 3px solid #FF9800;
    border-radius: 50%;
    animation: cabSpin 0.8s linear infinite;
}

@keyframes cabSpin {
    to { transform: rotate(360deg); }
}

.cab-loading-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================================
   Module Card Warning Badge
   ============================================ */

.module-stats .stat-badge.warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
}

.module-stats .stat-badge.warning .stat-number {
    color: #FFC107;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .cab-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .cab-stats-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cab-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .carousel-ads-admin-section {
        padding: 1rem;
    }

    .carousel-ads-admin-section .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cab-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cab-stat-value {
        font-size: 1.35rem;
    }

    .cab-tabs {
        gap: 0.15rem;
    }

    .cab-tab {
        padding: 0.6rem 0.85rem;
        font-size: 0.8rem;
    }

    .cab-filters-bar {
        flex-direction: column;
    }

    .cab-filter-group {
        min-width: 100%;
    }

    .cab-pricing-grid {
        grid-template-columns: 1fr;
    }

    .cab-modal {
        margin: 0.5rem;
    }

    .cab-modal-body {
        padding: 1.25rem;
    }

    .cab-form-row {
        grid-template-columns: 1fr;
    }

    .cab-calendar-grid {
        padding: 0.5rem;
        gap: 2px;
    }

    .cab-cal-day {
        padding: 0.5rem 0.25rem;
        min-height: 45px;
    }

    .cab-cal-day-num {
        font-size: 0.75rem;
    }

    .cab-stats-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cab-blackout-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .cab-stats-grid {
        grid-template-columns: 1fr;
    }

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

    .cab-calendar-header {
        flex-wrap: wrap;
    }

    .cab-calendar-header h3 {
        min-width: auto;
        font-size: 1.1rem;
    }
}
