/* html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
} */

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC88...OZdeIRdf3xLDz0tkTTtw6Kwh8grA4LeGRK19bF9oxeqA2ZTK04mbBbfzFf2pU3oquqAZ3IkAfnmOYnY1GVhH9U3l7dhPZ1oszV4vgD3y-QvEwhlYmUzPb71mOnXGv-Gw5GTRodVxsb1wTx71h8cZpcYwcMZp1dm7D63p09wEX34RU6sHDAlhQ2hEwR3xYjA==) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.empty-cart {
    background-color: #f9f9f9;
    border-radius: 12px;
}

.product-card {
    animation: slideIn 0.8s ease-out;
}

.summary-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

.animate-slide-in {
    animation: slideIn 0.8s ease-out;
}

.animate-scale {
    transition: transform 0.2s;
}

    .animate-scale:hover {
        transform: scale(1.05);
    }

.animate-hover {
    transition: background-color 0.2s, transform 0.2s;
}

    .animate-hover:hover {
        background-color: #0056b3 !important;
        transform: translateY(-2px);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.form-check-input:focus, .form-control:focus, .form-check-label:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.product-card {
    transition: transform 0.2s ease-in-out;
}

.product-image {
    transition: transform 0.2s ease-in-out;
}

.product-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.product-price {
    color: #28a745;
    font-size: 1.2rem;
}

.product-rating {
    font-size: 0.9rem;
    color: #ff9800;
}

.product-description {
    font-size: 1rem;
    color: #6c757d;
}

/* Mobile responsiveness adjustments */
@media screen and (max-width: 768px) {
    .product-card {
        flex-direction: row;
        align-items: center;
    }

    .product-title, .product-price {
        font-size: 1rem;
    }
}

/* Estilos generales de la tarjeta */
.products-navigation-card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    margin-bottom: 1.5rem;
}

    .products-navigation-card .card-header {
        background-color: #f8f9fa;
        border-bottom: 1px solid #dee2e6;
        padding: 1rem 1.25rem;
    }

    .products-navigation-card .card-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c3e50;
    }

/* Enlace "MORE" */
.ecommerce-more-link {
    color: #007bff;
    cursor: pointer;
    font-size: 0.875rem;
    transition: color 0.2s;
}

    .ecommerce-more-link:hover {
        color: #0056b3;
        text-decoration: underline;
    }

/* Slider de precio */
#nonlinear {
    margin: 1.5rem 0;
}

.noUi-target {
    background: #dee2e6;
    border: none;
    box-shadow: none;
    height: 4px;
}

.noUi-connect {
    background: #007bff;
}

.noUi-handle {
    width: 20px;
    height: 20px;
    top: -8px;
    right: -10px !important;
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .noUi-handle:focus {
        outline: none;
    }


.swal2-container {
    z-index: 10000; /* Un valor alto para asegurar que está encima de todo */
}

/* Estilos para el modal de verificación telefónica */
.verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.verification-modal.show {
    opacity: 1;
    visibility: visible;
}

.verification-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.verification-code-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.verification-code-input:focus {
    outline: none;
    border-color: #006bb7;
    box-shadow: 0 0 0 3px rgba(0, 107, 183, 0.1);
}

.verification-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 0.5rem;
    min-height: 20px;
}

.verification-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.verification-buttons .btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.verification-buttons .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background-color: #006bb7;
    border-color: #006bb7;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #5a6268;
    border-color: #5a6268;
    transform: translateY(-1px);
}

.btn-link {
    background: none;
    border: none;
    color: #006bb7;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
}

.btn-link:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Variables CSS para colores */
:root {
    --header-blue: #006bb7;
    --gris-texto: #6c757d;
    --gris-claro: #f8f9fa;
    --azul-principal: #006bb7;
}

/* Estilos para campos requeridos */
.required-field {
    color: #dc3545;
    font-weight: bold;
}

.form-help {
    color: #6c757d;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.form-field input[required] {
    border-left: 3px solid #006bb7;
}

.form-field input[required]:invalid {
    border-left: 3px solid #dc3545;
}

.form-field input[required]:valid {
    border-left: 3px solid #28a745;
}