
body {
    background-color: #3e3e3e;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border-radius: 15px 15px 0 0 !important;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 0.2rem rgba(106, 17, 203, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: block;
}

.btn-primary {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 17, 203, 0.6);
}

.btn-primary:disabled {
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.btn-outline-secondary {
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
}

.card-img {
    max-height: 100px;
    margin: 10px;
}

#cardBrandIcon {
    font-size: 2.5rem;
    color: #6a11cb;
}

.payment-info {
    border-left: 4px solid #6a11cb;
    padding-left: 15px;
}

#installmentOptionsContainer,
#confirmationContainer,
#threeDSContainer {
    display: none;
    transition: all 0.3s ease;
}

.installment-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.installment-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.installment-option.selected {
    border: 2px solid #6a11cb;
    background-color: rgba(106, 17, 203, 0.05);
}

.card-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
}

.animation-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.processing-animation {
    width: 80px;
    height: 80px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #6a11cb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.timer-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.timer-circle {
    width: 100%;
    height: 100%;
}

.countdown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: #6a11cb;
}

.summary-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #6a11cb;
}

/* Nuevos estilos para notificaciones */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 300px;
}

.threeds-modal {
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.threeds-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
}

.error-state {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1);
}

.loading-state {
    pointer-events: none;
    opacity: 0.7;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.pulse {
    animation: pulse 2s infinite;
}