/* Estilos do Modal e Componentes de Interface */
.ts-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ts-modal-content {
    background-color: #fff;
    border-radius: 4px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.ts-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.ts-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.ts-modal-body {
    padding: 20px;
}

.ts-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.ts-modal-btn {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ts-modal-btn-secondary {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #212529;
}

.ts-modal-btn-secondary:hover {
    background-color: #e2e6ea;
}

.ts-modal-btn-danger {
    background-color: #dc3545;
    color: #fff;
}

.ts-modal-btn-danger:hover {
    background-color: #c82333;
}

.ts-modal-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Botões de ação nos cartões de vencedores */
.winner-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-btn svg {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.print-btn {
    background-color: #6c757d;
    color: white;
}

.print-btn:hover {
    background-color: #5a6268;
}

.steam-btn {
    background-color: #171a21;
    color: white;
}

.steam-btn:hover {
    background-color: #2a3037;
}

/* Estilos para cartões de vencedores */
.spm-card-pop {
    opacity: 0;
    transform: scale(.8);
    transition: opacity .4s ease, transform .4s ease;
}

.spm-card-pop.show {
    opacity: 1;
    transform: scale(1);
}

.card-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px auto 20px;
}

.profile-card {
    position: relative;
    background-color: var(--spm-color-bg-cards, #1a1b1f);
    border: 1px solid var(--spm-color-border-cards, #333333);
    border-radius: 15px;
    color: white;
    text-align: center;
    padding: 60px 20px 20px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
}

.number-badge {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    font-weight: bold;
    color: #000;
    background-color: #ffffff;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.color-orange {background-color: #ff7700;}
.color-pink {background-color: #ff0066;}
.color-blue {background-color: #2374e1;}
.color-green {background-color: #4caf50;}
.color-purple {background-color: #9c27b0;}

.username {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.game-info {
    background-color: var(--spm-color-highlight-cards, #2c2d33);
    padding: 12px 20px;
    border-radius: 10px;
    width: 85%;
    margin: 0 auto 20px;
    font-size: 20px;
}

.info-section,
.social-section {
    margin-bottom: 15px;
    text-align: center;
    padding: 0 20px;
}

.info-section .label {
    font-size: 18px;
    margin-bottom: 5px;
    color: #ddd;
    display: block;
}

.info-section .value {
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
}

.social-section .social-handle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.social-section .social-handle img {
    margin-right: 10px;
}

.social-section .social-handle span {
    font-size: 18px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.action-button {
    background-color: var(--spm-color-bg-cards, #1a1b1f);
    border: 1px solid var(--spm-color-border-cards, #333333);
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.action-button:hover {
    background-color: var(--spm-color-highlight-cards, #2c2d33);
}

.action-button a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-container + .winners-container {
    display: none;
}

/* Estilos responsivos */
@media (max-width: 576px) {
    .ts-modal-content {
        max-width: 90%;
    }
    
    .winner-actions {
        flex-wrap: wrap;
    }
    
    .action-btn {
        flex: 1 0 auto;
    }
}

@media (max-width: 480px) {
    .profile-card {
        padding: 60px 10px 20px;
    }
    
    .game-info {
        font-size: 18px;
        padding: 10px 15px;
    }
    
    .username {
        font-size: 30px;
    }
    
    .info-section .label,
    .info-section .value {
        font-size: 16px;
    }
    
    .action-button {
        width: 50px;
        height: 50px;
    }
} 