/**
 * Estilos Centralizados para Sistema de Compra Steam
 * Combina estilos dos arquivos steam.html e steam_account.html
 */

/* ===== MODAL DE TERMOS (MANTIDO) ===== */
.purchase-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

/* ===== OVERLAY E CONTENT - APENAS PARA TERMOS ===== */
.purchase-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.purchase-modal .modal-content {
    background: rgb(31 31 31);
    border: 1px solid rgb(54 54 54);
    border-radius: 15px;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: statusSlideIn 0.3s ease-out;
    position: relative;
}

@keyframes statusSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== HEADER DO MODAL - APENAS PARA TERMOS ===== */
.purchase-modal .modal-header {
    margin-bottom: 15px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.purchase-modal .modal-header h3 {
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== BOTÕES DE FECHAR - APENAS PARA TERMOS ===== */
.purchase-modal .close-modal {
    position: absolute;
    right: -15px;
    top: -10px;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    z-index: 1000;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
}

.purchase-modal .close-modal:hover {
    color: #fff;
}

/* ===== BODY DO MODAL - APENAS PARA TERMOS ===== */
.purchase-modal .modal-body {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.5;
    margin: -50px 0px -50px 0px;
    white-space: pre-line;
    padding: 25px 0px 25px 10px !important;
}

/* ===== INFORMAÇÕES DA CONTA - APENAS PARA TERMOS ===== */
.purchase-modal .account-info {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.purchase-modal .account-info h4 {
    margin: 0 0 10px 0;
    color: #22e5fa;
}

.purchase-modal .account-info p {
    margin: 5px 0;
    color: #fff;
}

/* ===== AVISOS E ALERTAS - APENAS PARA TERMOS ===== */
.purchase-modal .purchase-warning {
    background: #3a2a1a;
    border: 1px solid #ff6b35;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.purchase-modal .purchase-warning p {
    margin: 0 0 10px 0;
    color: #ff6b35;
    font-weight: bold;
}

.purchase-modal .purchase-warning ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
    color: #ff6b35;
}

.purchase-modal .purchase-warning li {
    margin: 5px 0;
}

.purchase-modal .platform-warning {
    background: #2a1a1a;
    border: 1px solid #dc3545;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.purchase-modal .platform-warning p {
    margin: 0 0 10px 0;
    color: #dc3545;
    font-weight: bold;
}

.purchase-modal .platform-warning ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
    color: #dc3545;
}

.purchase-modal .platform-warning li {
    margin: 5px 0;
}

.purchase-modal .trial-warning {
    background: #1a2a1a;
    border: 1px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.purchase-modal .trial-warning p {
    margin: 0 0 10px 0;
    color: #ffc107;
    font-weight: bold;
}

/* ===== SEÇÃO DE TERMOS - APENAS PARA TERMOS ===== */
.purchase-modal .terms-section {
    margin: 0px;
}

.purchase-modal .terms-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.purchase-modal .terms-checkbox-input {
    margin-right: 10px;
    margin-top: 2px;
}

.purchase-modal .terms-checkbox-label {
    color: #ccc;
    font-size: 14px;
    line-height: 1.4;
}

.purchase-modal .terms-link {
    color: #22e5fa;
    text-decoration: none;
}

.purchase-modal .terms-link:hover {
    text-decoration: underline;
}

.purchase-modal .terms-info {
    margin: -40px 0px 0px 0px;
}

.purchase-modal .terms-info p {
    margin: 0 0 10px 0;
    color: #ffffff;
    font-weight: bold;
}

.purchase-modal .terms-info ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
    color: #ffffff;
}

.purchase-modal .terms-info li {
    margin: 5px 0;
}

/* ===== FOOTER DO MODAL - APENAS PARA TERMOS ===== */
.purchase-modal .modal-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0px 0px 10px 0px;
}

/* ===== BOTÕES - APENAS PARA TERMOS ===== */
.purchase-modal .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.purchase-modal .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.purchase-modal .btn-secondary {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.purchase-modal .btn-secondary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.purchase-modal .btn-success {
    background: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
    color: #000;
}

.purchase-modal .btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.purchase-modal .btn-danger {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.purchase-modal .btn-danger:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.purchase-modal .btn-primary {
    background: #007bff;
    color: #fff;
}

.purchase-modal .btn-primary:hover:not(:disabled) {
    background: #0056b3;
}

/* ===== MODAL DE CONTA VENDIDA ===== */
.modal-contavendida {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-contavendida .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-contavendida .modal-content {
    background: rgb(31 31 31);
    border: 1px solid rgb(54 54 54);
    border-radius: 15px;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: statusSlideIn 0.3s ease-out;
    position: relative;
}

.modal-contavendida .modal-header {
    color: #fff;
    border-radius: 15px 15px 0 0;
    margin: -20px -20px 15px -20px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.modal-contavendida .modal-header h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #fff;
}

.modal-contavendida .sold-icon {
    text-align: center;
    margin-bottom: 10px;
}

.modal-contavendida .sold-icon img {
    display: block;
    margin: 0 auto;
}

.modal-contavendida .modal-body {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 15px;
    padding: 0;
}

.modal-contavendida .error-message {
    padding: 15px;
    border-radius: 8px;
}

.modal-contavendida .error-message p {
    margin: 5px 0;
    color: #fff;
    font-size: 14px;
}

.modal-contavendida .error-message p strong {
    color: #ff6b6b;
    font-weight: bold;
}

.modal-contavendida .redirect-countdown {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
    color: #ffffff;
}

.modal-contavendida .redirect-countdown #countdown {
    color: #dc3545;
    font-size: 1.2em;
    font-weight: bold;
}

.modal-contavendida .close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    z-index: 1000;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
}

.modal-contavendida .close-modal:hover {
    color: #ccc;
}

/* ===== MODAL DE COMPRA REALIZADA COM SUCESSO ===== */
.modal-comprasucesso {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-comprasucesso .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-comprasucesso .modal-content {
    background: rgb(31 31 31);
    border: 1px solid rgb(54 54 54);
    border-radius: 15px;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: statusSlideIn 0.3s ease-out;
    position: relative;
}

.modal-comprasucesso .modal-header {
    color: #ffffff;
    border-radius: 15px 15px 0 0;
    margin: -20px -20px 15px -20px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.modal-comprasucesso .modal-header h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #ffffff;
}

.modal-comprasucesso .success-icon {
    text-align: center;
    margin-bottom: 10px;
}

.modal-comprasucesso .success-icon img {
    display: block;
    margin: 0 auto;
}

.modal-comprasucesso .modal-body {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 15px;
    padding: 0;
}

.modal-comprasucesso .close-success-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    z-index: 1000;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
}

.modal-comprasucesso .close-success-modal:hover {
    color: #22e5fa;
}

.success-info {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.success-info p {
    margin: 3px 0;
    color: #fff;
    font-size: 14px;
}

/* ===== ELEMENTOS ESPECÍFICOS DO MODAL DE SUCESSO ===== */
.modal-comprasucesso .account-details,
.modal-comprasucesso .account-credentials {
    background: #2a2a2a;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.modal-comprasucesso .account-details h4,
.modal-comprasucesso .account-credentials h4 {
    margin: 0 0 10px 0;
    color: #ffffff;
    font-size: 16px;
}

.modal-comprasucesso .account-data,
.modal-comprasucesso .credentials-box {
    background: #1a1a1a;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #333;
}

.modal-comprasucesso .account-data p,
.modal-comprasucesso .credentials-box p {
    margin: 4px 0;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.modal-comprasucesso .success-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-comprasucesso .success-links .btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
    text-transform: none;
    letter-spacing: 0.3px;
}

.modal-comprasucesso .success-links .btn:hover {
    transform: translateY(-2px);
}

.modal-comprasucesso .success-links .btn-primary {
    background: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444;
}

.modal-comprasucesso .success-links .btn-primary:hover {
    background: #3a3a3a;
    color: #ffffff;
}

.modal-comprasucesso .success-links .btn-primary i {
    font-size: 16px;
}

.modal-comprasucesso .success-warning {
    background: #3a2a1a;
    border: 1px solid #ff6b35;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

.modal-comprasucesso .success-warning p {
    margin: 0 0 8px 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 14px;
}

.modal-comprasucesso .success-warning ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
    color: #ff6b35;
}

.modal-comprasucesso .success-warning li {
    margin: 3px 0;
    font-size: 13px;
}

/* ===== MODAL DE ERRO ===== */
.modal-erro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-erro .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-erro .modal-content {
    background: rgb(31 31 31);
    border: 1px solid rgb(54 54 54);
    border-radius: 15px;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: statusSlideIn 0.3s ease-out;
    position: relative;
}

.modal-erro .modal-header {
    color: #fff;
    border-radius: 15px 15px 0 0;
    margin: -20px -20px 15px -20px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.modal-erro .modal-header h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #fff;
}

.modal-erro .error-icon {
    text-align: center;
    margin-bottom: 10px;
}

.modal-erro .error-icon img {
    display: block;
    margin: 0 auto;
}

.modal-erro .modal-body {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 15px;
    padding: 0;
}

.modal-erro .error-info {
    padding: 15px;
    border-radius: 8px;
}

.modal-erro .error-info p {
    color: #ffffff;
    font-size: 1.1rem;
    text-align: center;
    margin: 0;
}

.modal-erro .close-error-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    z-index: 1000;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
}

.modal-erro .close-error-modal:hover {
    color: #ccc;
}

/* ===== MODAL DE MUDANÇA DE PREÇO ===== */
.modal-mudancapreco {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-mudancapreco .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-mudancapreco .modal-content {
    background: rgb(31 31 31);
    border: 1px solid rgb(54 54 54);
    border-radius: 15px;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: statusSlideIn 0.3s ease-out;
    position: relative;
}

.modal-mudancapreco .modal-header {
    color: #000;
    border-radius: 15px 15px 0 0;
    margin: -20px -20px 15px -20px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.modal-mudancapreco .modal-header h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #ffffff;
}

.modal-mudancapreco .price-icon {
    text-align: center;
    margin-bottom: 10px;
}

.modal-mudancapreco .price-icon img {
    display: block;
    margin: 0 auto;
}

.modal-mudancapreco .modal-body {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 15px;
    padding: 0;
}

.modal-mudancapreco .price-change-info {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-mudancapreco .price-change-info p {
    margin: 5px 0;
    color: #ffc107;
    text-align: center;
    font-size: 14px;
}

.modal-mudancapreco .countdown-info {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #333;
}

.modal-mudancapreco .countdown-info p {
    margin: 0;
    color: #fff;
    font-size: 14px;
}

.modal-mudancapreco #countdown-timer {
    color: #ffc107;
    font-weight: bold;
    font-size: 1.2rem;
}

.modal-mudancapreco .close-price-header {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    z-index: 1000;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
}


.modal-mudancapreco .close-price-header:hover {
    color: #333;
}


/* ===== LOADING ===== */
.purchase-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content {
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #333;
    border-top: 4px solid #22e5fa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content h3 {
    color: #22e5fa;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}

.loading-content p {
    color: #ccc;
    margin: 10px 0;
    line-height: 1.5;
}

/* ===== BOTÕES DE COMPRA ===== */
.buy-button {
    background: #0056b3;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.buy-button:hover {
    background: #2d8d99;
}

.buy-button:active {
    transform: translateY(0);
}

.buy-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.buy-button.login-required {
    background: #6c757d;
}

.buy-button.login-required:hover {
    background: #5a6268;
}

.buy-button-container {
    text-align: center;
    margin-top: 20px;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 10px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 25px 0px 25px 10px;
    }
    
    .success-links {
        flex-direction: column;
    }
    
    .btn {
        min-width: 120px;
        justify-content: center;
        white-space: nowrap;
    }
    
    .modal-footer:not(.price-changed-footer) {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 5px;
    }
    
    .loading-content {
        padding: 20px;
    }
    
    .spinner {
        width: 40px;
        height: 40px;
    }
    
    .btn {
        min-width: 100px;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .confirm-purchase {
        min-width: 120px;
    }
}

/* ===== ANIMAÇÕES ===== */
.purchase-modal {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.purchase-modal .modal-content {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ESTADOS ESPECIAIS - APENAS PARA TERMOS ===== */
.purchase-modal .confirm-purchase {
    min-width: 140px;
    white-space: nowrap;
}

.purchase-modal .confirm-purchase.disabled {
    background: #6c757d !important;
    cursor: not-allowed !important;
}

.purchase-modal .confirm-purchase.disabled:hover {
    background: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ===== SINCRONIZAÇÃO DE CACHE ===== */
.price-updated {
    animation: priceUpdate 0.5s ease-in-out;
    background: linear-gradient(135deg, #ffc107, #ff8c00) !important;
    color: #000 !important;
    font-weight: bold !important;
    transform: scale(1.05);
}

@keyframes priceUpdate {
    0% {
        transform: scale(1);
        background: #28a745;
    }
    50% {
        transform: scale(1.1);
        background: #ffc107;
    }
    100% {
        transform: scale(1.05);
        background: linear-gradient(135deg, #ffc107, #ff8c00);
    }
}

.account-card.removing {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.sync-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #22e5fa;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.sync-indicator.show {
    opacity: 1;
    transform: translateY(0);
}

.sync-indicator.success {
    background: #28a745;
    color: #fff;
}

.sync-indicator.error {
    background: #dc3545;
    color: #fff;
}

.redirect-countdown {
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
    color: #ffffff;
}

.redirect-countdown #countdown {
    color: #dc3545;
    font-size: 1.2em;
    font-weight: bold;
}

/* Centralizar botões do modal de mudança de preço */
.modal-mudancapreco .modal-footer.price-changed-footer {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
    text-align: center !important;
    padding: 20px 0 !important;
    margin: 0 !important;
}

.modal-mudancapreco .price-changed-footer .btn {
    width: 160px !important;
    height: 45px !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.modal-mudancapreco .price-changed-footer .btn-secondary {
    background-color: #dc3545;
    color: white;
}

.modal-mudancapreco .price-changed-footer .btn-secondary:hover {
    background-color: #c82333;
}

.modal-mudancapreco .price-changed-footer .btn-success {
    background-color: #28a745;
    color: white;
}

.modal-mudancapreco .price-changed-footer .btn-success:hover {
    background-color: #218838;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .modal-mudancapreco .modal-footer.price-changed-footer {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .modal-mudancapreco .price-changed-footer .btn {
        width: 95% !important;
        height: 50px !important;
        font-size: 16px !important;
    }
    
    /* Botões do modal de sucesso em mobile */
    .modal-comprasucesso .success-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-comprasucesso .success-links .btn {
        width: 100%;
        min-width: auto;
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* ===== UTILITÁRIOS ===== */
.text-center {
    text-align: center;
}

.text-success {
    color: #28a745;
}

.text-danger {
    color: #dc3545;
}

.text-warning {
    color: #ffc107;
}

.text-info {
    color: #22e5fa;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* ========================================
   MODAL DE AVISO ADICIONAL DO STEAM
   ======================================== */

/* Modal de aviso específico do Steam - Padrão igual outros popups */
.steam-warning-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steam-warning-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.steam-warning-modal .modal-content {
    position: relative;
    background: #2a2a2a;
    border-radius: 15px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #444;
}

.steam-warning-modal .modal-header {
    background: #2a2a2a;
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.steam-warning-modal .warning-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    text-align: center;
    line-height: 1;
}

.steam-warning-modal .modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    line-height: 1;
}

.steam-warning-modal .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.steam-warning-modal .close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
}

.steam-warning-modal .modal-body {
    padding: 25px;
    color: #ffffff;
    line-height: 1.5;
}

.steam-warning-modal .modal-body p {
    margin: 10px 0;
    font-size: 1rem;
    font-weight: 500;
}

.steam-warning-modal .modal-body ul {
    padding-left: 25px;
}

.steam-warning-modal .modal-body li {
    margin: 8px 0;
    color: #fff;
    font-weight: 400;
}

.steam-warning-modal .modal-body strong {
    color: #ffffff;
    font-weight: 700;
}

.steam-warning-modal .modal-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0px 0px 30px 0px;
}

.steam-warning-modal .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.steam-warning-modal .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.steam-warning-modal .btn-danger {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.steam-warning-modal .btn-danger:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.steam-warning-modal .btn-success {
    background: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
    color: #000;
}

.steam-warning-modal .btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .steam-warning-modal .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .steam-warning-modal .modal-header {
        padding: 15px;
    }
    
    .steam-warning-modal .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .steam-warning-modal .modal-body {
        padding: 20px;
    }
    
    .steam-warning-modal .modal-footer {
        padding: 15px 20px 20px;
        flex-direction: column;
    }
    
    .steam-warning-modal .btn-danger,
    .steam-warning-modal .btn-success {
        width: 100%;
        margin: 5px 0;
    }
}
