/**
 * golden-circles.css - Estilos para a barra de status com círculos dourados
 * 
 * Este arquivo contém os estilos para a barra de status animada com dois círculos
 * dourados girando em sentidos opostos, conforme solicitado pelo usuário.
 */

/* Container principal da barra de status */
.golden-status-container {
    background-color: #1a1a2e;
    border-radius: 10px;
    padding: 16px;
    margin: 10px 0;
    border: 1px solid #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho no fundo */
.golden-status-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.1),
        transparent
    );
    animation: shine 3s infinite;
    z-index: 1;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Informações de status */
.golden-status-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.golden-status-symbol {
    font-weight: 500;
    color: #FFD700;
    font-size: 16px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.golden-status-counter {
    color: #FFA500;
    font-size: 14px;
    font-weight: bold;
}

/* Container dos círculos dourados */
.golden-circles-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    position: relative;
    margin: 10px 0;
}

/* Círculo externo */
.golden-circle-outer {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #FFD700;
    border-right-color: #FFA500;
    border-bottom-color: #FF8C00;
    border-left-color: #FFD700;
    animation: spin-clockwise 3s linear infinite;
    position: absolute;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Círculo interno */
.golden-circle-inner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #FFA500;
    border-right-color: #FFD700;
    border-bottom-color: #FFA500;
    border-left-color: #FF8C00;
    animation: spin-counterclockwise 2s linear infinite;
    position: absolute;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

/* Animações de rotação */
@keyframes spin-clockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-counterclockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* Barra de progresso */
.golden-progress-bar-container {
    width: 100%;
    background-color: #2a2a3a;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    margin: 8px 0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.golden-progress-bar {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    background-size: 200% 100%;
    transition: width 0.3s ease-out;
    animation: gradient-shift 2s ease infinite;
    width: 0%;
}

/* Animação de gradiente */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mensagem de status */
.golden-status-message {
    text-align: center;
    font-weight: 500;
    color: #FFD700;
    margin: 10px 0;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

/* Tempo estimado */
.golden-estimated-time {
    text-align: right;
    font-size: 12px;
    color: #aaa;
    margin-top: 5px;
    font-style: italic;
}

/* Estados de conclusão */
.golden-status-complete .golden-circle-outer,
.golden-status-complete .golden-circle-inner {
    animation-play-state: paused;
    border-color: #4CAF50;
}

.golden-status-complete .golden-status-symbol,
.golden-status-complete .golden-status-message {
    color: #4CAF50;
}

/* Efeito de partículas douradas */
.golden-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: #FFD700;
    border-radius: 50%;
    opacity: 0;
    animation: particle-animation 2s ease-out infinite;
    z-index: 1;
}

@keyframes particle-animation {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .golden-circles-container {
        height: 60px;
    }
    
    .golden-circle-outer {
        width: 50px;
        height: 50px;
    }
    
    .golden-circle-inner {
        width: 30px;
        height: 30px;
    }
}

/* Botão Cancelar */
.golden-cancel-button {
    margin-top: 12px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    position: relative;
    z-index: 10;
    width: 100%;
}

.golden-cancel-button:hover {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5);
    transform: translateY(-2px);
}

.golden-cancel-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
}

.golden-cancel-button:disabled {
    background: #4b5563;
    cursor: not-allowed;
    opacity: 0.5;
}
