/* ============================================
   YOUNA - Tour Page Styles
   ============================================ */

/* Tour tabs styles now unified in common.css */
/* Keeping this comment for reference, actual styles moved to common.css */

/* Grid styles moved to grid.css */

#tour {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.tours-section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

th, td {
    padding: 10px 14px;
}

th {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    color: white;
}

tbody tr {
    transition: background 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.table-date-cell .date-day {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.table-date-cell .date-month {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.show-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 0.5rem;
    cursor: pointer;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.show-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.show-card:active {
    transform: translate3d(0, 0, 0) scale(0.98);
}

.show-card-date {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.show-card-title {
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.show-card-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

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

.show-card-btn {
    flex: 1;
    padding: 0.375rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-decoration: none;
    text-transform: uppercase;
}

.show-card-btn.ticket {
    color: white;
    border: none;
}

.show-card-btn.ticket:hover {
    transform: translate3d(0, -1px, 0);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-upcoming {
    background: rgba(128, 128, 128, 0.2);
    color: #cccccc;
}

.status-past {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

button.disabled-ticket,
button[disabled].disabled-ticket {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    pointer-events: none !important;
}

button[disabled]:not(.disabled-ticket) {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    pointer-events: none !important;
}

.show-card-date span.bg-gray-600 {
    font-size: 0.7rem;
    vertical-align: middle;
}

.show-card.loading {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite linear;
}

.tour-empty-state {
    padding: 2rem 0.5rem;
    text-align: center;
}

.tour-empty-state-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

#tourLoading {
    display: none;
}

#tourLoading.active {
    display: flex;
}

/* Panel styles moved to panel.css */

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

/* Extra small mobile: < 480px */
@media (max-width: 479px) {
    /* Tour tabs styles now unified in common.css */
    
    th, td {
        padding: 10px 14px;
    }
    
    .table-date-cell .date-day {
        font-size: 1.25rem;
    }
    
    .show-card {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .show-card-title {
        font-size: 0.95rem;
    }
    
    .show-card-date {
        font-size: 0.8rem;
    }
    
    .show-card-location {
        font-size: 0.8rem;
    }
    
    .show-card-btn {
        padding: 0.375rem;
        font-size: 0.75rem;
        min-height: 32px;
    }
    
    .tour-empty-state {
        padding: 2rem 0.5rem;
    }
    
    .tour-empty-state-icon {
        font-size: 2.5rem;
    }
    
    .show-card-btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Mobile: 480px - 767px */
@media (min-width: 480px) and (max-width: 767px) {
    /* Tour tabs styles now unified in common.css */
    
    th, td {
        padding: 10px 14px;
    }
    
    .table-date-cell .date-day {
        font-size: 1.5rem;
    }
    
    .show-card {
        padding: 0.875rem;
        margin-bottom: 0.625rem;
    }
    
    .show-card-title {
        font-size: 1rem;
    }
    
    .show-card-date {
        font-size: 0.82rem;
    }
    
    .show-card-location {
        font-size: 0.8rem;
    }
    
    .show-card-btn {
        padding: 0.5rem;
        font-size: 0.8rem;
        min-height: 34px;
    }
    
    .tour-empty-state {
        padding: 2.25rem 0.625rem;
    }
    
    .tour-empty-state-icon {
        font-size: 2.7rem;
    }
    
    /* Panel styles moved to panel.css */
}

/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Tour tabs styles now unified in common.css */
    
    th, td {
        padding: 12px 16px;
    }
    
    .table-date-cell .date-day {
        font-size: 1.75rem;
    }
    
    .show-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .show-card-title {
        font-size: 1.05rem;
    }
    
    .show-card-date {
        font-size: 0.85rem;
    }
    
    .show-card-location {
        font-size: 0.82rem;
    }
    
    .show-card-btn {
        padding: 0.5rem;
        font-size: 0.85rem;
        min-height: 34px;
    }
    
    .tour-empty-state {
        padding: 2.5rem 0.75rem;
    }
    
    .tour-empty-state-icon {
        font-size: 2.8rem;
    }
    
    /* Panel styles moved to panel.css */
}

/* Desktop: 1024px - 1439px */
@media (min-width: 1024px) and (max-width: 1439px) {
    /* Tour tabs styles now unified in common.css */
    
    th, td {
        padding: 14px 20px;
    }
    
    .table-date-cell .date-day {
        font-size: 2rem;
    }
    
    .show-card {
        padding: 1.25rem;
        margin-bottom: 0.75rem;
        cursor: default;
    }
    
    .show-card:active {
        transform: none;
    }
    
    .show-card-title {
        font-size: 1.1rem;
    }
    
    .show-card-date {
        font-size: 0.9rem;
    }
    
    .show-card-location {
        font-size: 0.85rem;
    }
    
    .show-card-btn {
        padding: 0.625rem;
        font-size: 0.9rem;
        min-height: 36px;
    }
    
    .tour-empty-state {
        padding: 3rem 1rem;
    }
    
    .tour-empty-state-icon {
        font-size: 3rem;
    }
    
    /* Panel styles moved to panel.css */
}

/* Large screens: ≥ 1440px */
@media (min-width: 1440px) {
    /* Tour tabs styles now unified in common.css */
    
    th, td {
        padding: 14px 20px;
    }
    
    .table-date-cell .date-day {
        font-size: 2rem;
    }
    
    .show-card {
        padding: 1.25rem;
        margin-bottom: 0.75rem;
        cursor: default;
    }
    
    .show-card:active {
        transform: none;
    }
    
    .show-card-title {
        font-size: 1.1rem;
    }
    
    .show-card-date {
        font-size: 0.9rem;
    }
    
    .show-card-location {
        font-size: 0.85rem;
    }
    
    .show-card-btn {
        padding: 0.625rem;
        font-size: 0.9rem;
        min-height: 36px;
    }
    
    .tour-empty-state {
        padding: 3rem 1rem;
    }
    
    .tour-empty-state-icon {
        font-size: 3rem;
    }
    
    /* Panel styles moved to panel.css */
}

