/* Payment Modal Styles */
:root {
    --modal-bg-light: #ffffff;
    --modal-text-light: #333333;
    --modal-bg-dark: #2d2d2d;
    --modal-text-dark: #f0f0f0;
    --primary-color: #007bff;
}

[data-bs-theme="dark"] .payment-modal-content {
    background-color: var(--modal-bg-dark);
    color: var(--modal-text-dark);
}

.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.payment-modal-overlay.active {
    display: flex;
}

.payment-modal-content {
    background: var(--modal-bg-light);
    color: var(--modal-text-light);
    padding: 2rem;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    transition: all 0.3s ease;
}

/* Layout Responsivo para Modal Expandido (Dados Pessoais) */
@media (min-width: 992px) {
    .payment-modal-content.modal-wide {
        max-width: 640px;
    }
}

@media (max-width: 991px) {
    .payment-modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}

.column-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

[data-bs-theme="dark"] .column-title {
    border-bottom-color: #444;
}

.payment-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 1.5rem;
}

.payment-tab {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: #888;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.payment-tab:hover {
    color: var(--primary-color);
    background-color: rgba(0,0,0,0.02);
}

.payment-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}

[data-bs-theme="dark"] .payment-header {
    border-bottom-color: #444;
}

.payment-close {
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    background: none;
    border: none;
    color: inherit;
}

.form-group {
    margin-bottom: 0.8rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.payment-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.payment-btn:hover {
    background-color: #0056b3;
}

.payment-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.secure-badge {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #888;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    gap: 5px;
}