/* Payment Selection Screen */
#paymentTypeSelection {
    max-width: 1200px;
    margin: 0 auto;
}

.payment-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.payment-type-card {
    background: #f8f9fa;
    border: none;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.payment-type-card:hover:not(:has(button:disabled)) {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
    background: white;
}

.payment-type-card input[type="radio"] {
    display: none;
}

.payment-type-card .option-icon {
    width: 60px;
    height: 60px;
    background: #4a7c59;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.payment-type-card .option-icon i {
    font-size: 2rem;
    color: white;
}

.payment-type-card h6 {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.payment-type-card p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.payment-type-card .video-link {
    color: #4a7c59;
    text-decoration: none;
    font-weight: 500;
}

.payment-type-card .video-link:hover {
    text-decoration: underline;
}

.payment-type-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.75rem;
    padding: 5px 10px;
}

.payment-type-card button {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.payment-type-card .btn-primary {
    background: #4a7c59;
    border-color: #4a7c59;
}

.payment-type-card .btn-primary:hover {
    background: #3d6849;
    border-color: #3d6849;
    transform: translateY(-2px);
}

.payment-type-card .btn-secondary {
    background: #9e9e9e;
    border-color: #9e9e9e;
}

.payment-type-card:has(button:disabled) {
    opacity: 0.6;
    cursor: not-allowed;
}

.payment-type-card:has(button:disabled):hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

/* Wizard Progress */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    padding: 0 50px;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 100px;
    right: 100px;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.wizard-step .step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wizard-step.active .step-circle {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

.wizard-step.completed .step-circle {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.wizard-step .step-circle i {
    font-size: 1.5rem;
    display: block;
}

.wizard-step .step-circle .step-number {
    display: none;
}

.wizard-step.active .step-circle i {
    display: none;
}

.wizard-step.active .step-circle .step-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.wizard-step .step-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.wizard-step.active .step-label {
    color: #007bff;
    font-weight: 600;
}

.wizard-line {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    margin: 0 -20px;
    position: relative;
    top: -15px;
}

/* Wizard Content */
.wizard-content {
    display: none;
}

.wizard-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Styles */
.form-header {
    text-align: center;
    margin-bottom: 20px;
}

.form-header img {
    max-height: 60px;
    margin-bottom: 10px;
}

/* Dark Form Body */
.manual-payment-form .card-body {
    background-color: #3c3c3c;
    color: white;
}

.manual-payment-form .card-body .form-label,
.manual-payment-form .card-body label {
    color: white;
}

.manual-payment-form .card-body .text-white {
    color: white !important;
}

.manual-payment-form .card-body .row.align-items-center {
    margin-bottom: 15px;
}

.manual-payment-form .card-body input.form-control:read-only {
    background-color: #2a2a2a;
    border-color: #555;
    color: #ccc;
}

.manual-payment-form .card-body .btn-dark {
    background-color: #555;
    border-color: #555;
}

.manual-payment-form .card-body .btn-dark:hover {
    background-color: #666;
}

.manual-payment-form .card-body .form-check-label {
    color: white;
}

.manual-payment-form .card-body .text-info {
    color: #17a2b8 !important;
}

/* Payment Summary Card */
.payment-summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    padding: 25px;
    color: white;
    text-align: center;
    margin-bottom: 25px;
}

.payment-summary-card .summary-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.payment-summary-card h6 {
    color: white;
    font-size: 1rem;
    margin-bottom: 15px;
}

.payment-summary-card .total-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

/* Verification Section */
.verification-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.verification-section h6 {
    color: #007bff;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.info-item {
    margin-bottom: 10px;
}

.info-item .info-label {
    font-weight: 600;
    color: #666;
    display: inline-block;
    min-width: 120px;
}

.info-item .info-value {
    color: #333;
}

/* Amount Breakdown */
.amount-breakdown {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-row.total {
    border-top: 2px solid #007bff;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 1.1rem;
}

/* Payment Method Cards */
.payment-method-card {
    background: #f8f9fa;
    border: none;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.payment-method-card:hover:not(.disabled) {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
    background: white;
}

.payment-method-card .payment-icon-container {
    width: 60px;
    height: 60px;
    background: #4a7c59;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.payment-method-card .payment-icon-container i {
    font-size: 2rem;
    color: white;
}

.payment-method-card h6 {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.payment-method-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.payment-method-card.disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.payment-method-card.disabled .payment-icon-container {
    background: #9e9e9e;
}

.payment-method-card.disabled h6 {
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-progress {
        padding: 0 20px;
    }

    .wizard-progress::before {
        left: 50px;
        right: 50px;
    }

    .wizard-step .step-circle {
        width: 50px;
        height: 50px;
    }

    .wizard-step .step-circle i {
        font-size: 1.2rem;
    }

    .wizard-step .step-label {
        font-size: 0.8rem;
    }

    .payment-type-grid {
        grid-template-columns: 1fr;
    }

    .payment-method-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .wizard-progress {
        padding: 0 10px;
    }

    .wizard-step .step-label {
        font-size: 0.7rem;
    }

    .card-body .row .col-5 {
        text-align: left !important;
    }
}

.comprobante-preview {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detail-label {
    font-weight: 600;
    color: #495057;
}

.detail-value {
    color: #212529;
}
