/* Estilos para el sistema de reservas */
.finxpert-reservation-system {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.reservation-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
}

.reservation-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #e0e0e0;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
    border: 3px solid white;
}

.step.active .step-number {
    background: #007cba;
    color: white;
    box-shadow: 0 0 0 5px rgba(0, 124, 186, 0.2);
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.step.active .step-label {
    color: #007cba;
    font-weight: 600;
}

.reservation-form-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 50px;
    margin-bottom: 40px;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-title {
    font-size: 28px;
    color: #163838;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #163838, #9e9016);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
    background: white;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: #007cba;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 124, 186, 0.15);
}

.product-card.selected {
    border-color: #007cba;
    background: linear-gradient(135deg, #f8fdff 0%, #e8f4fd 100%);
    border-width: 3px;
}

.product-image {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-title {
    font-size: 20px;
    color: #163838;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;
}

.product-price {
    font-size: 28px;
    font-weight: bold;
    color: #28a745;
    margin: 20px 0;
}

.select-product-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.select-product-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #163838;
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.form-control:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 4px rgba(0, 124, 186, 0.1);
    background: white;
}

.calendar-container {
    max-width: 500px;
    margin: 0 auto 40px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.time-slot {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
    background: white;
}

.time-slot:hover {
    border-color: #007cba;
    transform: translateY(-3px);
}

.time-slot.selected {
    background: #007cba;
    color: white;
    border-color: #007cba;
    box-shadow: 0 5px 15px rgba(0, 124, 186, 0.2);
}

.time-slot.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #e0e0e0;
    opacity: 0.6;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.payment-method {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-method:hover {
    border-color: #007cba;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.payment-method.selected {
    border-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f4e8 100%);
    border-width: 3px;
}

.payment-method-icon {
    font-size: 48px;
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-method .paypal-icon {
    color: #003087;
}

.payment-method .square-icon {
    color: #28a745;
}

.payment-method h3 {
    color: #163838;
    margin-bottom: 10px;
    font-size: 22px;
}

.payment-method p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: #007cba;
    color: white;
}

.btn-primary:hover {
    background: #005a87;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 124, 186, 0.2);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-3px);
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.2);
}

.loading-spinner {
    display: none;
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.confirmation-message {
    text-align: center;
    padding: 60px 20px;
}

.confirmation-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 30px;
    display: inline-block;
    width: 120px;
    height: 120px;
    line-height: 120px;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.confirmation-message h2 {
    font-size: 36px;
    color: #163838;
    margin-bottom: 20px;
    font-weight: 700;
}

.confirmation-message p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

#reservation-details {
    text-align: left;
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid #28a745;
}

#order-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px solid #e0e0e0;
}

#order-summary h4 {
    color: #163838;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    font-size: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .reservation-form-container {
        padding: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .form-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .finxpert-reservation-system {
        padding: 20px 15px;
    }
    
    .reservation-steps {
        margin-bottom: 30px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .reservation-form-container {
        padding: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .confirmation-message {
        padding: 30px 15px;
    }
    
    .confirmation-icon {
        font-size: 60px;
        width: 100px;
        height: 100px;
        line-height: 100px;
    }
}