/* ============================================
   ENHANCED FEATURES STYLES
   Estilos para funcionalidades avançadas
   ============================================ */

/* ===========================================
   REQUESTS (PEDIDOS) 
   =========================================== */

.requests-header {
    margin-bottom: 20px;
}

.requests-header h3 {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.5rem;
}

#requestSearch {
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

#requestSearch:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.requests-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.request-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.request-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.request-art {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.request-info {
    flex: 1;
}

.request-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1rem;
}

.request-artist {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.request-btn {
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.request-btn:hover:not(.disabled) {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

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

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

/* ===========================================
   SCHEDULE (PROGRAMAÇÃO)
   =========================================== */

.schedule-header {
    margin-bottom: 20px;
}

.schedule-header h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.schedule-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.schedule-item.is-now {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.live-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: pulse 2s infinite;
}

.live-badge i {
    font-size: 8px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.schedule-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    font-weight: 600;
    color: var(--primary-color);
}

.schedule-separator {
    color: var(--text-secondary);
    margin: 5px 0;
}

.schedule-info {
    flex: 1;
}

.schedule-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.schedule-type {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.no-schedule {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

/* ===========================================
   LIVE STATUS
   =========================================== */

.live-status-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.live-status-card.is-live {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(192, 57, 43, 0.1));
    border-color: #e74c3c;
}

.live-indicator {
    text-align: center;
    margin-bottom: 20px;
}

.live-badge.pulsing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e74c3c;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.offline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1.1rem;
}

.live-details {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dj-art {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dj-info h3 {
    color: var(--text-color);
    margin-bottom: 5px;
}

.dj-info p {
    color: var(--text-secondary);
}

/* ===========================================
   STATION INFO
   =========================================== */

.station-info-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.station-info-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.station-info-card > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.station-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.station-details div {
    color: var(--text-secondary);
}

.station-details strong {
    color: var(--text-color);
    margin-right: 5px;
}

.stream-options {
    margin-top: 20px;
}

.stream-options h4 {
    color: var(--text-color);
    margin-bottom: 15px;
}

.stream-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.stream-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ===========================================
   LOADER & ERROR
   =========================================== */

.loader {
    text-align: center;
    padding: 40px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.loader i {
    margin-right: 10px;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 768px) {
    .request-item {
        flex-direction: column;
        text-align: center;
    }
    
    .request-art {
        width: 80px;
        height: 80px;
    }
    
    .schedule-item {
        flex-direction: column;
        text-align: center;
    }
    
    .schedule-time {
        flex-direction: row;
        gap: 10px;
    }
    
    .live-details {
        flex-direction: column;
        text-align: center;
    }
    
    .stream-btn {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }
}