/*-------------------------------------------------------+
| Resident Shows Infusion Styles
| Author: Resident Shows Infusion
+--------------------------------------------------------*/

/* ==========================================
   Panel Slider Styles
   ========================================== */

.resident-shows-panel {
    padding: 0;
}

.rs-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #000;
    border-radius: 8px;
}

.rs-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.rs-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.rs-show-item {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.rs-show-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border:1px solid #32cd32;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rs-show-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-show-info {
    flex: 1;
    min-width: 0;
}

.rs-show-name {
    margin: 0 0 10px 0;
    font-size: 26px;
    font-weight: 600;
    color: #32cd32;
}

.rs-show-schedule {
    margin-bottom: 10px;
    color: #fff;
    font-size: 14px;
}

.rs-show-schedule i {
    margin-right: 5px;
    color: #007bff;
}

.rs-show-description {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Slider Navigation Buttons */
.rs-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.rs-slider-btn:hover {
    background: rgba(0,0,0,0.7);
}

.rs-slider-prev {
    left: 10px;
}

.rs-slider-next {
    right: 10px;
}

/* Slider Dots */
.rs-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px 0 10px;
}

.rs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.rs-dot.active,
.rs-dot:hover {
    background: #007bff;
}

/* ==========================================
   Shows Page - Cards Layout
   ========================================== */

.resident-shows-page {
    padding: 20px 0;
}

.resident-shows-page .page-header {
    margin-bottom: 30px;
}

.resident-shows-page .page-header h1 {
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #32cd32;
    font-size: 32px;
    font-weight: 700;
}

.rs-cards-container {
    margin: 0;
}

.rs-card {
    background: #000;
    border-radius: 12px;
    border: 2px solid #32cd32;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: white;
}

.rs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.rs-card-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.rs-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-card:hover .rs-card-overlay {
    opacity: 1;
}

.rs-card-schedule {
    display: flex;
    gap: 30px;
    color: white;
    text-align: center;
}

.rs-schedule-day,
.rs-schedule-time {
    font-size: 14px;
    font-weight: 600;
}

.rs-schedule-day i,
.rs-schedule-time i {
    margin-bottom: 5px;
}

.rs-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rs-card-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.rs-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.rs-meta-item {
    font-size: 14px;
    color: #fff;
}

.rs-meta-item i {
    margin-right: 5px;
    color: #007bff;
}

.rs-card-description {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

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

@media (max-width: 768px) {
    .rs-show-item {
        flex-direction: column;
        text-align: center;
    }
    
    .rs-show-image {
        width: 150px;
        height: 150px;
    }
    
    .rs-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .rs-slider-prev {
        left: 5px;
    }
    
    .rs-slider-next {
        right: 5px;
    }
    
    .resident-shows-page .page-header h1 {
        font-size: 24px;
    }
    
    .rs-card-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .rs-show-item {
        padding: 15px;
    }
    
    .rs-show-image {
        width: 120px;
        height: 120px;
    }
    
    .rs-show-name {
        font-size: 16px;
    }
    
    .rs-show-schedule,
    .rs-show-description {
        font-size: 13px;
    }
}
