/* Checkout Pages Unified Styles */

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 30px;
    background: rgba(45, 55, 75, 0.95);
    padding: 25px;
    border-radius: 8px;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.checkout-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: #f1f5f9;
}

.checkout-header .subtitle {
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
    color: #cbd5e1;
}

.payment-logo {
    display: inline-block;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 12px;
    border-radius: 20px;
    margin: 0 8px;
    font-size: 1rem;
}

.payment-logo.paypal {
    color: #3b82f6;
}

.payment-logo.stripe {
    color: #635bff;
}

.payment-logo.mercadopago {
    color: #009ee3;
}

.payment-logo.payssion {
    color: #ff6b35;
}

.payment-logo.coinbase {
    color: #0052ff;
}

.checkout-rules-section {
    background: rgba(45, 55, 75, 0.6);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
}

.checkout-rules-title {
    color: #fbbf24;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-rules-title::before {
    content: "⚠️";
    font-size: 1.2rem;
}

.checkout-rules-list {
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

.checkout-rules-list .rule-item {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-rules-list .rule-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.checkout-rules-list strong {
    color: #fbbf24;
}

.checkout-packages-section {
    margin-top: 30px;
}

.checkout-packages-table {
    width: 100%;
    background: rgba(45, 55, 75, 0.9);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.checkout-packages-table thead {
    background: rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-packages-table th {
    padding: 20px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-packages-table th:last-child {
    border-right: none;
}

.checkout-packages-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.checkout-packages-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

.checkout-packages-table tbody tr:last-child {
    border-bottom: none;
}

.checkout-packages-table td {
    padding: 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.checkout-packages-table td:last-child {
    border-right: none;
}

.checkout-package-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f1f5f9;
}

.checkout-package-credits {
    font-size: 0.95rem;
    font-weight: 700;
    color: #10b981;
    display: block;
}

.checkout-package-credits-label {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
    display: block;
}

.checkout-package-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #3b82f6;
}

.checkout-package-currency {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-left: 5px;
    font-weight: 500;
}

.checkout-package-buy-button {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.checkout-package-buy-button:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    text-decoration: none;
    color: white;
}

.checkout-package-buy-button:active {
    transform: translateY(0);
}

.checkout-no-packages-message {
    text-align: center;
    padding: 40px 30px;
    background: rgba(45, 55, 75, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.checkout-no-packages-message .icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.checkout-no-packages-message h3 {
    color: #f1f5f9;
    margin-bottom: 10px;
}

.checkout-error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    text-align: center;
    font-weight: 500;
}

/* Legacy Support - Hide old tabs style */
.tabs {
    display: none;
}

/* Legacy box-style1 override */
.box-style1 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.box-style1 .entry {
    background: transparent !important;
    padding: 0 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-container {
        padding: 15px;
    }
    
    .checkout-header {
        padding: 20px;
    }
    
    .checkout-header h1 {
        font-size: 1.8rem;
    }
    
    .checkout-rules-section {
        padding: 15px;
    }
    
    .checkout-packages-table th,
    .checkout-packages-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .checkout-package-name {
        font-size: 0.8rem;
    }
    
    .checkout-package-credits {
        font-size: 0.85rem;
    }
    
    .checkout-package-price {
        font-size: 0.85rem;
    }
    
    .checkout-package-buy-button {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .checkout-header h1 {
        font-size: 1.6rem;
    }
    
    .checkout-packages-table {
        font-size: 0.8rem;
    }
    
    .checkout-packages-table th,
    .checkout-packages-table td {
        padding: 12px 8px;
    }
    
    .checkout-package-name {
        font-size: 0.75rem;
    }
    
    .checkout-package-credits {
        font-size: 0.8rem;
    }
    
    .checkout-package-credits-label {
        font-size: 0.6rem;
    }
    
    .checkout-package-price {
        font-size: 0.8rem;
    }
    
    .checkout-package-buy-button {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}
