/* Estilos para el formulario frontend - Mockup */

.afanof-fan-customizer-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.afanof-fan-customizer-form .card {
    border: none;
    box-shadow: none;
}

.afanof-fan-customizer-form .card-body {
    padding: 40px;
}

/* Texto IMPORTANTE al inicio */
.important-notice {
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 4px solid #000;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.important-notice strong {
    font-weight: 700;
    color: #000;
}

/* Sección de datos personales */
.personal-data-section {
    background: white;
    padding: 0;
    margin-bottom: 40px;
}

.personal-data-section h4 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border-bottom: none;
    color: #000;
}

/* Inputs estilo mockup - solo borde inferior */
.mockup-input {
    border: none !important;
    border-bottom: 1px solid #000 !important;
    border-radius: 0 !important;
    padding: 10px 5px !important;
    background: transparent !important;
    font-size: 14px !important;
}

.mockup-input:focus {
    border-bottom: 2px solid #000 !important;
    box-shadow: none !important;
    outline: none !important;
}

.mockup-textarea {
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    padding: 10px !important;
    font-size: 14px !important;
}

.mockup-textarea:focus {
    border-color: #000 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Pregunta de cantidad */
.quantity-question {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #000;
}

/* Título de diseño con línea */
.design-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #000;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: #000;
}

/* Títulos de secciones */
.section-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #000;
    text-align: left;
}

/* Estilos para tarjetas de opciones mockup */
.option-card-mockup {
    background: transparent;
    padding: 20px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    border: none;
}

.option-radio-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-image-mockup {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    align-self: center;
}

.option-image-mockup img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.option-description-mockup {
    margin: 15px 0;
    color: #333;
    font-size: 13px;
    line-height: 1.5;
    text-align: left !important;
    width: 100%;
}

.option-description-mockup p {
    margin: 0;
    text-align: left !important;
}

.option-button-container {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Botones ovalados */
.oval-button {
    border: none;
    padding: 12px 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
}

.oval-button-black {
    background: #000;
    color: #fff;
}

.oval-button-black:hover {
    background: #333;
}

.oval-button-black.selected {
    background: #333;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.oval-button-yellow {
    background: #FFD700;
    color: #000;
}

.oval-button-yellow:hover {
    background: #FFC700;
}

.oval-button-yellow.selected {
    background: #FFC700;
    box-shadow: 0 4px 8px rgba(255,215,0,0.5);
}

/* Resaltar tarjeta seleccionada */
.option-card-mockup.selected {
/*    box-shadow: 0 6px 12px rgba(0,0,0,0.2);*/
}

/* Estilos para la sección de diseño mockup con checkboxes */
.design-option-mockup {
    display: flex;
    align-items: flex-start;
    padding: 12px 15px;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.design-option-mockup:hover {
    background: transparent;
}

.design-checkbox-mockup {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #000;
    background: #fff;
    margin-right: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.design-checkbox-mockup:hover {
    border-color: #000;
    background: #f0f0f0;
}

.design-checkbox-mockup:checked {
    background: #000;
    border-color: #000;
}

.design-checkbox-mockup:checked::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
}

.design-option-mockup label {
    cursor: pointer;
    margin: 0;
    flex: 1;
    font-size: 14px;
}

.design-label {
    font-weight: 600;
    color: #000;
}

.design-description-inline {
    font-size: 12px;
    color: #666;
    display: block;
    margin-top: 5px;
}

/* Estilos para el precio total mockup */
.price-total-mockup {
    padding: 20px 0;
}

.price-total-label {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
}

.price-total-amount {
    font-size: 22px;
    font-weight: 700;
    color: #000;
}

.price-total-line {
    width: 100%;
    height: 3px;
    background: #000;
    margin-top: 10px;
}

/* Botones finales mockup */
.btn-mockup {
    border: none;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin: 10px;
    border-radius: 25px;
    cursor: pointer;
    min-width: 280px;
    display: inline-block;
}

.btn-mockup-outline {
    background: white;
    color: #000;
    border: 2px solid #000;
}

.btn-mockup-outline:hover {
    background: #000;
    color: white;
    border: 2px solid #000;
}

.btn-mockup-filled {
    background: #000;
    color: white;
    border: 2px solid #000;
}

.btn-mockup-filled:hover {
    background: #333;
    border: 2px solid #333;
}

/* Estilos para los campos de formulario */
.afanof-fan-customizer-form .form-control {
    border: 2px solid #e9ecef;
    /* padding: 12px 15px; */
    font-size: 1rem;
    transition: all 0.3s ease;
}

.afanof-fan-customizer-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.afanof-fan-customizer-form .form-group label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

/* Estilos para los campos adicionales */
#engraving-text-container,
#design-upload-container,
#design-help-container {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

/* Responsive */
@media (max-width: 768px) {
    .afanof-fan-customizer-form {
        padding: 10px;
    }
    
    .afanof-fan-customizer-form .card-body {
        padding: 20px;
    }
    
    .personal-data-section {
        padding: 0;
    }
    
    .design-title {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 14px;
    }
    
    .option-card-mockup {
        min-height: 350px;
        padding: 15px;
    }
    
    .option-image-mockup {
        min-height: 150px;
    }
    
    .option-description-mockup {
        font-size: 12px;
    }
    
    .oval-button {
        font-size: 12px;
        padding: 10px 20px;
    }
    
    .btn-mockup {
        display: block;
        width: 100%;
        margin: 10px 0;
        padding: 15px 30px;
        font-size: 13px;
        min-width: auto;
    }
    
    .design-option-mockup {
        padding: 10px;
    }
    
    .design-label {
        font-size: 13px;
    }
    
    .price-total-label {
        font-size: 16px;
    }
    
    .price-total-amount {
        font-size: 20px;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.option-card-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

.option-card-wrapper:nth-child(1) { animation-delay: 0.1s; }
.option-card-wrapper:nth-child(2) { animation-delay: 0.2s; }
.option-card-wrapper:nth-child(3) { animation-delay: 0.3s; }
.option-card-wrapper:nth-child(4) { animation-delay: 0.4s; }
.option-card-wrapper:nth-child(5) { animation-delay: 0.5s; }
.option-card-wrapper:nth-child(6) { animation-delay: 0.6s; }

/* Estilos para la sección de cantidad */
.quantity-section {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.quantity-section h4 {
    color: #495057;
    margin-bottom: 1rem;
    font-weight: 600;
}

.quantity-input {
    position: relative;
}

.quantity-input input[type="number"] {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid #dee2e6;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.quantity-input input[type="number"]:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.quantity-type select {
    border: 2px solid #dee2e6;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.quantity-type select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

/* Estilos para información de descuento */
.discount-info {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    font-size: 0.9rem;
}

.discount-info small {
    font-weight: 600;
}

/* Efectos de precio actualizado */
.price-updated {
    animation: pricePulse 0.6s ease-in-out;
}

@keyframes pricePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Estilos para presupuesto requerido */
.quote-required {
    color: #007bff !important;
    font-weight: bold;
    font-style: italic;
}

#quote-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    padding: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #0c5460;
}

#quote-info small {
    display: block;
    line-height: 1.4;
}