.progress-gallery-timer {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 20px 0;
    background-color: #000;
}

.pgt-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pgt-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.pgt-image.active {
    opacity: 1;
}

.pgt-progress-container {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 10;
}

/* Estilo horizontal */
.pgt-progress-bar.horizontal {
    height: 10px;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.pgt-progress-bar.horizontal .pgt-progress-fill {
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}

/* Estilo circular */
.pgt-progress-bar.circular {
    position: relative;
    margin: 0 auto;
    width: 80px;
    height: 80px;
}

.pgt-progress-bar.circular .pgt-circle {
    width: 100%;
    height: 100%;
}

.pgt-progress-bar.circular .pgt-circle-bg {
    stroke: var(--pgt-bg-color);
    stroke-width: 3;
    fill: none;
}

.pgt-progress-bar.circular .pgt-circle-fill {
    stroke: var(--pgt-progress-color);
    stroke-width: 3;
    stroke-linecap: round;
    fill: none;
    transition: stroke-dasharray 0.1s linear;
}

.pgt-progress-bar.circular .pgt-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 3px rgba(0,0,0,0.8);
}

.pgt-completion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 20;
}

.pgt-completion .pgt-message {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.pgt-completion .pgt-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.pgt-completion .pgt-button:hover {
    background-color: #45a049;
}

.pgt-error {
    padding: 10px;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
    text-align: center;
}



/* Responsive */
@media (max-width: 768px) {
    .progress-gallery-timer {
        height: 300px;
    }
    
    .pgt-completion .pgt-message {
        font-size: 1.2rem;
    }
    
    .pgt-progress-bar.circular {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .progress-gallery-timer {
        height: 250px;
    }
    
    .pgt-completion .pgt-message {
        font-size: 1rem;
    }
    
    .pgt-progress-container {
        bottom: 10px;
        padding: 0 10px;
    }
}