/*
Theme Name: FoxShortcut Theme
Theme URI: https://foxshortcut.ai/
Author: FoxShortcut
Author URI: https://foxshortcut.ai/
Description: Tema personalizado para FoxShortcut, basado en el diseño original.
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, custom-background, custom-menu, featured-images, full-width-template, theme-options
Text Domain: foxshortcut-theme
*/

/* Estilos generales y de la marca */
body {
    font-family: 'Inter', sans-serif;
}

.text-gradient {
    background: linear-gradient(to right, #DD571C, #F78B4A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.modal {
    transition: opacity 0.25s ease;
}

.modal-content {
    transition: transform 0.3s ease;
}

/* Estilos para la calculadora de planes */
.plan-card {
    transition: all 0.3s ease;
}
.recommended {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(221, 87, 28, 0.4);
    border-color: #DD571C !important;
}

/* Estilos para el contenido del blog (prose) */
.prose h2 { 
    @apply text-2xl font-bold mt-8 mb-4; 
}
.prose p { 
    @apply text-lg leading-relaxed mb-4; 
}
.prose ul { 
    @apply list-disc list-inside mb-4 text-lg; 
}
.prose h3 {
    @apply text-xl font-bold text-gray-900 mt-6 mb-2;
}

/* Estilos para el carrusel Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: #DD571C !important;
    --swiper-navigation-size: 30px;
}

.swiper-pagination-bullet-active {
    background: #DD571C !important;
}

/* Estilos para el formulario de búsqueda de WordPress */
.search-form {
    position: relative;
}
.search-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    background-color: #f9fafb;
}
.search-field:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: #DD571C;
    box-shadow: 0 0 0 2px #DD571C;
}
.search-submit {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem;
    background-color: #DD571C;
    color: white;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    line-height: 0;
}
.search-submit:hover {
    background-color: #c2410c;
}

/* Estilos para bloques de código (estilo VS Code Dark) */
.prose .wp-block-code {
    @apply my-8;
}
.prose .wp-block-code code {
    font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
    background-color: #1E1E1E;
    color: #D4D4D4;
    @apply block p-6 rounded-lg overflow-x-auto text-sm;
}

/* Estilos para la búsqueda en vivo */
.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #e5e7eb; /* gray-200 */
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
}
.live-search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.live-search-results li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151; /* gray-700 */
    text-decoration: none;
    transition: background-color 0.2s;
}
.live-search-results li a:hover {
    background-color: #f3f4f6; /* gray-100 */
    color: #DD571C;
}
.live-search-results .no-results {
    padding: 0.75rem 1rem;
    color: #6b7280; /* gray-500 */
    font-style: italic;
}
