:root {
    --primary-blue: #1e4a72;
    --primary-red: #dc2626;
    --dark-blue: #0f2d46;
    --light-bg: #f8fafc;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    --gradient-accent: linear-gradient(135deg, var(--primary-red), #b91c1c);
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== OPTIMIZACIONES DE RENDIMIENTO ========== */
.floating-element {
    will-change: transform;
    transform: translateZ(0);
}

.navbar-custom {
    will-change: transform;
}

.service-card, .testimonial-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ========== NAVIGATION ========== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-custom.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-blue) !important;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ========== BOTÓN HAMBURGUESA MEJORADO ========== */
.navbar-toggler {
    border: 2px solid var(--primary-red) !important;
    background: var(--primary-red) !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.3em !important;
    height: 1.3em !important;
}

.navbar-toggler:hover {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
    transform: scale(1.05);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-primary);
    color: var(--white);
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.badge-custom {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ========== BOTONES MEJORADOS ========== */
.btn-primary-custom {
    background: var(--gradient-accent);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

.btn-outline-custom {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    padding: 12px 30px;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ========== HERO VISUAL ========== */
.hero-visual {
    position: relative;
    z-index: 2;
}

.trading-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
    max-width: 400px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.trading-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.currency-pair {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 600;
}

.price-up {
    color: #10b981;
}

.chart-placeholder {
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.3) 50%, transparent 100%);
    animation: chartMove 3s ease-in-out infinite;
}

@keyframes chartMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-visual {
    position: relative;
}

.profile-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.profile-card:hover .image-placeholder {
    transform: scale(1.05);
}

.profile-info h4 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.profile-stats {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.profile-stats span {
    background: var(--light-bg);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.profile-stats span:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.section-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--gradient-accent);
    transform: scale(1.1);
}

.feature-content h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-content p {
    color: var(--text-light);
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: 100px 0;
    background: var(--light-bg);
}

.section-header {
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient-accent);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.service-features li:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li i {
    color: #10b981;
    margin-right: 10px;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 20px 0;
}

/* ========== BROKER SECTION ========== */
.broker-section {
    padding: 100px 0;
    background: var(--white);
}

.broker-content {
    padding-right: 30px;
}

.broker-features {
    margin: 30px 0;
}

.broker-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.broker-feature:hover {
    transform: translateX(5px);
}

.broker-feature i {
    color: #10b981;
    margin-right: 10px;
    font-size: 1.1rem;
}

.broker-benefits {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    transition: transform 0.3s ease;
}

.broker-benefits:hover {
    transform: translateY(-5px);
}

.broker-benefits h4 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.broker-benefits ul {
    list-style: none;
    padding: 0;
}

.broker-benefits li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    transition: color 0.3s ease;
}

.broker-benefits li:hover {
    color: var(--primary-blue);
}

.broker-benefits li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.broker-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
    font-style: italic;
}

.broker-visual {
    position: relative;
}

.broker-card {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    transition: transform 0.3s ease;
}

.broker-card:hover {
    transform: translateY(-10px);
}

.broker-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.broker-logo i {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.broker-card:hover .broker-logo i {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.broker-logo h3 {
    font-size: 2rem;
    margin: 0;
}

.broker-stats {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.broker-stat h4 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.broker-stat p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.broker-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.highlight:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.highlight i {
    font-size: 1.2rem;
    width: 30px;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    color: var(--light-bg);
    font-family: serif;
    line-height: 1;
}

.testimonial-rating {
    color: #f59e0b;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-whatsapp {
    background: #25d366;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-whatsapp:hover {
    background: #128c7e;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ========== CONTACT SECTION ========== */
.contact {
    padding: 100px 0;
    background: var(--light-bg);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--gradient-accent);
    transform: scale(1.1);
}

.contact-card h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-brand {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer h5 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 20px;
}

.footer-links a:hover::before {
    transform: translateX(5px);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== MEJORAS DE ACCESIBILIDAD ========== */
.btn-primary-custom:focus,
.btn-outline-custom:focus,
.btn-whatsapp:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

.navbar-nav .nav-link:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 4px;
    border-radius: 4px;
}

/* ========== ANIMACIONES OPTIMIZADAS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .broker-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .about-content {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        text-align: center;
        gap: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
    
    .broker-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonials-carousel {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    /* Mejora espaciado en móviles */
    .about, .services, .testimonials, .contact {
        padding: 60px 0;
    }
    
    .hero {
        padding-top: 70px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

/* ========== UTILIDADES ========== */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.min-vh-100 {
    min-height: 100vh;
}

/* ========== LOADING STATES ========== */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========== SCROLLBAR PERSONALIZADO ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}





