.programme-selector-wrapper {
    margin: 0 0;
}

.programme-selector {

    margin: 0 auto;
}

.programme-selector h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

/* Mettre select et boutons sur la même ligne */
.programme-selector > div:last-of-type {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.programme-select {
    flex: 1;
    padding: 6px 7px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: white;
    transition: border-color 0.3s;
    min-width: 200px;
}

.programme-select:focus {
    outline: none;
    border-color: #0073aa;
}

.programme-actions {
    display: flex;
    gap: 10px;
}

.btn-programme {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-view {
    background: #0073aa;
    color: #000;
}

.btn-view:hover {
    background: #005177;
    transform: translateY(-2px);
}

/*.btn-download {
  
    color: #000 !important;
	background: #fa5537 !important;
	border-radius:32px !important;
}*/



#programme-viewer {
    margin-top: 30px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.viewer-header {
    background: #f1f1f1;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: flex-end;
}

.btn-close {
    background: #dc3232;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-close:hover {
    background: #a00;
}

#programme-iframe {
    display: block;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .programme-selector {
        padding: 20px;
    }
    
    /* Sur mobile, remettre en colonne */
    .programme-selector > div:last-of-type {
        flex-direction: column;
    }
    
    .programme-actions {
        flex-direction: column;
    }
    
    #programme-iframe {
        height: 500px;
    }
}

.btn-o:hover {
 
  border-radius: 32px;
  background: linear-gradient(90deg, #FA5537 0%, #7DA0F0 100%);
  transition: background-color 1s;
  color: #000000;
}

.btn-o:focus,
.btn-o:active {
  background-color: black;
  transition: none;
}
