:root {
    --primary-color: #0B3C5D;      /* Azul corporativo principal */
    --secondary-color: #328CC1;    /* Azul secundario */
    --accent-color: #D9B310;       /* Dorado/Amarillo para acentos */
    --text-color: #1D2731;         /* Azul oscuro para texto */
    --light-gray: #F6F8FA;         /* Gris claro para fondos */
    --white: #ffffff;
    --gradient-start: #0B3C5D;
    --gradient-end: #328CC1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

/* Header y Navegación */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    position: relative;
}

.logo img {
    margin-top: 5px;
    height: auto;
    max-height: 45px;
    width: auto;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.nav-toggle:hover {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.05rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

/* Features */
.features {
    padding: 8rem 0;
    background-color: var(--light-gray);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.1);
}

.feature-card h3 {
    color: var(--primary-color);
    margin: 1.5rem 0;
    font-size: 1.5rem;
}

/* Pricing */
.pricing {
    padding: 8rem 0;
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid var(--light-gray);
}

.pricing-card.popular {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
    position: relative;
}

.pricing-card.popular::before {
    content: 'Más Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.price {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin: 1.5rem 0;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 4px 6px rgba(217, 179, 16, 0.2);
}

.btn-primary:hover {
    background-color: #c4a00e;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(217, 179, 16, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background-color: var(--light-gray);
    position: relative;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-details {
    margin-top: 2.5rem;
}

.contact-details p {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-details i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6rem 0 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Copyright */
.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.pricing-card {
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .contact-content {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Pricing Features */
.pricing-features {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.pricing-features li {
    margin: 1rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.price span {
    font-size: 1rem;
    opacity: 0.7;
    font-weight: normal;
} 

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        z-index: 1000;
    }

    .nav-toggle.nav-toggle-active i::before {
        content: '\f00d';
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-menu.nav-menu-visible {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover {
        background-color: var(--light-gray);
    }
} 

/* Páginas Legales */
.legal-content {
    padding: 120px 0 60px;
    background-color: var(--white);
}

.legal-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.legal-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.legal-section ul {
    list-style: none;
    padding-left: 1.5rem;
}

.legal-section ul li {
    margin-bottom: 0.8rem;
    position: relative;
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 100px 1rem 40px;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }
} 

/* Estilos para la página de acceso restringido */
.restricted-content {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.restricted-message {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.restricted-message i.fa-lock {
    font-size: 3rem;
    color: #0B3C5D;
    margin-bottom: 1rem;
}

.restricted-message h1 {
    color: #0B3C5D;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.restricted-message p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.restricted-message .contact-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.restricted-message .contact-info ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.restricted-message .contact-info li {
    margin: 0.5rem 0;
    color: #333;
}

.restricted-message .contact-info i {
    color: #0B3C5D;
    margin-right: 0.5rem;
    width: 20px;
}

.restricted-message .btn {
    margin-top: 1rem;
} 

/* Estilos para la página de error 404 */
.error-content {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.error-message {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.error-animation {
    position: relative;
    margin-bottom: 2rem;
}

.error-number {
    font-size: 8rem;
    font-weight: 700;
    color: #0B3C5D;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    line-height: 1;
    background: linear-gradient(135deg, #0B3C5D 0%, #328CC1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-gear {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.error-gear i {
    font-size: 3rem;
    color: #D9B310;
    opacity: 0.8;
    transition: transform 0.5s ease;
}

.error-message h1 {
    color: #0B3C5D;
    margin: 1rem 0;
    font-size: 2rem;
}

.error-message p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.error-actions .btn {
    min-width: 150px;
}

.error-help {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    text-align: left;
}

.error-help p {
    margin-bottom: 1rem;
    color: #333;
}

.error-help ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-help li {
    margin: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
}

.error-help i {
    color: #0B3C5D;
    margin-right: 0.5rem;
    width: 20px;
}

@media (max-width: 768px) {
    .error-number {
        font-size: 6rem;
    }

    .error-gear i {
        font-size: 2.5rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .btn {
        width: 100%;
    }
} 

/* Estilos mejorados para la página de consulta de comprobantes */
.consulta-content {
    padding: 4rem 0;
    min-height: 70vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.consulta-form {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.consulta-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.consulta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #0B3C5D 0%, #328CC1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consulta-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.consulta-form h1 {
    color: #0B3C5D;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.consulta-description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Estilos creativos para el formulario */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.95) 100%);
    border-radius: 30px;
    box-shadow: 
        0 20px 40px rgba(11, 60, 93, 0.1),
        0 0 0 1px rgba(50, 140, 193, 0.1);
    position: relative;
    overflow: hidden;
}

.form-grid::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(50, 140, 193, 0.05) 0%, transparent 60%);
    animation: rotate 60s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-section {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 24px;
    border: none;
    box-shadow: 
        0 10px 20px rgba(11, 60, 93, 0.05),
        0 0 0 1px rgba(50, 140, 193, 0.1);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-section:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 
        0 15px 30px rgba(11, 60, 93, 0.1),
        0 0 0 1px rgba(50, 140, 193, 0.2);
}

.form-section h3 {
    color: #0B3C5D;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(50, 140, 193, 0.1);
    position: relative;
}

.form-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #328CC1, transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(200px); opacity: 0; }
}

.form-section h3 i {
    color: #328CC1;
    font-size: 1.6rem;
    background: rgba(50, 140, 193, 0.1);
    padding: 0.8rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.form-section:hover h3 i {
    transform: rotate(15deg) scale(1.1);
    background: rgba(50, 140, 193, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #0B3C5D;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.form-group label i {
    color: #328CC1;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.form-group:hover label i {
    transform: translateY(-2px);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid transparent;
    border-radius: 16px;
    font-size: 1rem;
    background: rgba(248, 249, 250, 0.8);
    color: #0B3C5D;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.form-group input:hover,
.form-group select:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #328CC1;
    background: #ffffff;
    box-shadow: 
        0 5px 15px rgba(50, 140, 193, 0.1),
        0 0 0 4px rgba(50, 140, 193, 0.1);
    transform: translateY(-2px);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 1.2rem;
    color: #328CC1;
    font-weight: 600;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-group input {
    padding-left: 3rem;
}

.form-hint {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.form-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(50, 140, 193, 0.1);
    position: relative;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
}

.btn:hover::before {
    transform: translateX(100%);
    transition: transform 0.6s ease;
}

.btn i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: linear-gradient(135deg, #0B3C5D, #328CC1);
    color: white;
    border: none;
    box-shadow: 
        0 10px 20px rgba(11, 60, 93, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 30px rgba(11, 60, 93, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    background: linear-gradient(135deg, #328CC1, #0B3C5D);
}

.btn-outline {
    background: transparent;
    border: 2px solid #328CC1;
    color: #328CC1;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(50, 140, 193, 0.1), rgba(11, 60, 93, 0.1));
    z-index: -1;
    transition: all 0.4s ease;
    transform: scaleX(0);
    transform-origin: right;
}

.btn-outline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.resultado-consulta {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.95) 100%);
    border-radius: 30px;
    box-shadow: 
        0 20px 40px rgba(11, 60, 93, 0.1),
        0 0 0 1px rgba(50, 140, 193, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.resultado-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(50, 140, 193, 0.1);
    position: relative;
}

.resultado-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #328CC1, transparent);
}

.resultado-header i {
    font-size: 2.2rem;
    color: #328CC1;
    background: rgba(50, 140, 193, 0.1);
    padding: 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.resultado-header:hover i {
    transform: rotate(15deg) scale(1.1);
    background: rgba(50, 140, 193, 0.2);
}

.comprobante-details {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 24px;
    border: none;
    box-shadow: 
        0 10px 20px rgba(11, 60, 93, 0.05),
        0 0 0 1px rgba(50, 140, 193, 0.1);
    backdrop-filter: blur(10px);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(50, 140, 193, 0.1);
    transition: all 0.3s ease;
}

.detail-row:hover {
    background: rgba(50, 140, 193, 0.02);
    transform: translateX(5px);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #0B3C5D;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}

.detail-label i {
    color: #328CC1;
    font-size: 1.2rem;
    background: rgba(50, 140, 193, 0.1);
    padding: 0.8rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.detail-row:hover .detail-label i {
    transform: rotate(10deg);
    background: rgba(50, 140, 193, 0.2);
}

.detail-value {
    color: #0B3C5D;
    font-weight: 500;
    font-size: 1rem;
    background: rgba(50, 140, 193, 0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.detail-row:hover .detail-value {
    background: rgba(50, 140, 193, 0.1);
}

.validation-success,
.validation-warning {
    margin-top: 2rem;
    padding: 1.2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.validation-success {
    background: linear-gradient(135deg, rgba(212, 237, 218, 0.9), rgba(195, 230, 203, 0.9));
    color: #155724;
    border: 1px solid rgba(21, 87, 36, 0.1);
}

.validation-warning {
    background: linear-gradient(135deg, rgba(255, 243, 205, 0.9), rgba(255, 238, 186, 0.9));
    color: #856404;
    border: 1px solid rgba(133, 100, 4, 0.1);
}

.validation-success i,
.validation-warning i {
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.8rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.validation-success:hover i,
.validation-warning:hover i {
    transform: rotate(15deg);
}

/* Loading State con animación creativa */
.loading-state {
    text-align: center;
    padding: 4rem;
    position: relative;
}

.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.loading-spinner::before,
.loading-spinner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #328CC1;
}

.loading-spinner::before {
    animation: spin 1.5s linear infinite;
}

.loading-spinner::after {
    border-top-color: #0B3C5D;
    animation: spin 2s linear infinite reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 2rem;
    color: #0B3C5D;
    font-weight: 500;
    font-size: 1.1rem;
    opacity: 0.8;
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.5; }
}

/* Efectos de hover mejorados */
.form-group:hover label {
    color: #328CC1;
    transform: translateX(5px);
}

.form-group:hover .form-hint {
    color: #328CC1;
    transform: translateX(5px);
}

/* Estilos para campos con error */
.form-group.has-error input,
.form-group.has-error select {
    border-color: #e53e3e;
    background: rgba(229, 62, 62, 0.05);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Estilos para campos válidos */
.form-group.is-valid input,
.form-group.is-valid select {
    border-color: #38a169;
    background: rgba(56, 161, 105, 0.05);
}

/* Tooltip personalizado con animación */
.custom-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: linear-gradient(135deg, #0B3C5D, #328CC1);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(11, 60, 93, 0.2);
    white-space: nowrap;
}

.custom-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #0B3C5D;
}

.form-group:hover .custom-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Responsive Design Mejorado */
@media (max-width: 768px) {
    .form-grid,
    .resultado-consulta {
        margin: 1.5rem;
        padding: 2rem;
        border-radius: 24px;
    }

    .form-section {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
        padding-top: 2rem;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 1.2rem;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .detail-value {
        width: 100%;
        text-align: left;
        padding: 1rem;
    }

    .validation-success,
    .validation-warning {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

/* Animaciones de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section,
.resultado-consulta {
    animation: fadeInUp 0.6s ease-out forwards;
}

.form-section:nth-child(2) { animation-delay: 0.2s; }
.form-section:nth-child(3) { animation-delay: 0.4s; }
.form-section:nth-child(4) { animation-delay: 0.6s; }

/* Efecto de ondas en hover */
.form-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(50, 140, 193, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.form-section:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
} 