/* 

Add here your custom css styles Example: p { text-align: center; color: red; } 

*/

/* ===== Barre de progression d'upload vidéo : visible + animée (style pro) ===== */

/* Conteneur de progression bien visible quand actif */
.progress:not(.hidden) {
    display: block !important;
}
.progress_bar_parent {
    overflow: hidden;
    min-height: 23px;
    position: relative;
    background: rgba(96,125,139,0.20);
    border-radius: 2em;
}

/* La barre elle-même : dégradé cyan visible + transition fluide */
.progress_bar_parent .bar,
.progress_bar_parent .bar.upload-progress-bar {
    height: 100% !important;
    min-height: 23px;
    background: linear-gradient(90deg, #1bd2e2, #0d8b96) !important;
    border-radius: 2em;
    transition: width 0.3s ease;
    display: block;
    position: relative;
}

/* Animation "rayures défilantes" pendant l'upload (montre que ça travaille même si le % ne bouge pas) */
.progress_bar_parent .bar.upload-progress-bar {
    background-image: linear-gradient(
        45deg,
        rgba(255,255,255,0.25) 25%, transparent 25%,
        transparent 50%, rgba(255,255,255,0.25) 50%,
        rgba(255,255,255,0.25) 75%, transparent 75%, transparent
    ), linear-gradient(90deg, #1bd2e2, #0d8b96) !important;
    background-size: 40px 40px, 100% 100%;
    animation: pt-upload-stripes 1s linear infinite;
    /* Largeur minimale visible dès le début de l'upload */
    min-width: 8%;
}

@keyframes pt-upload-stripes {
    from { background-position: 40px 0, 0 0; }
    to   { background-position: 0 0, 0 0; }
}

/* Pourcentage bien lisible */
.pt_upload_vdo .progress .percent,
.progress .percent {
    color: #1bd2e2 !important;
    font-weight: 700;
}

/* ===== Animation bannière de pub overlay (style YouTube) ===== */
@keyframes pt-slide-in {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.pt-ad-banner img { background:#fff; }
