/* =========================================================================
   SITIO WEB: Medicina Integral Dr. Alex Tejada IPS S.A.S
   ESTILOS GLOBALES Y SISTEMA DE DISEÑO
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Paleta de colores - Corporativo Premium */
    --primary-blue: #0A3D62;
    --secondary-blue: #14598A;
    --primary-green: #079992;
    --light-green: #38ADA9;

    --bg-light: #F4F7F6;
    /* Gris clínico súper suave */
    --bg-white: #FFFFFF;

    --text-dark: #1E293B;
    /* Texto más profundo */
    --text-muted: #64748B;

    --border-color: #E2E8F0;

    /* Sombras ultra-difusas tipo Premium Apple/SaaS */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Bordes más suaves */
    --border-radius: 12px;
    --border-radius-lg: 24px;

    /* Tipografía base ampliada */
    --font-main: 'Inter', sans-serif;

    /* Transiciones más lentas y suaves */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Clases Animación On-Scroll (Fallback Seguro) */
.reveal {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    opacity: 1;
    transform: translateY(0);
}

/* Only hide elements if JS is actually running */
.js-enabled .reveal:not(.active) {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* =========================================================================
   RESETS
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-green);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================================
   UTILIDADES
   ========================================================================= */
.container {
    width: 100%;
    max-width: 1280px;
    /* Ancho ampliado para más aire */
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    /* Padding ampliado */
}

/* Variaciones de fondo premium */
.section-light {
    background-color: var(--bg-white);
}

.section-gray {
    background-color: var(--bg-light);
}

.bg-gradient-light {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.section-title {
    font-size: 2.8rem;
    /* Más grande e imponente */
    font-weight: 800;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    /* Espacio ampliado */
    line-height: 1.7;
}

/* Modificadores Flexbox nuevos */
.flex-row-reverse {
    flex-direction: row-reverse;
}

.align-center {
    align-items: center;
}

/* Base de botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Espacio para íconos */
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 50px;
    /* Bordes redondeados modernos */
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(7, 153, 146, 0.3);
    /* Resplandor color marca */
}

.btn-primary:hover {
    background-color: var(--light-green);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(7, 153, 146, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--border-color);
    /* Borde más sutil inicialmente */
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    background-color: var(--primary-blue);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 61, 98, 0.2);
}

.btn-secondary-light {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary-light:hover {
    border-color: var(--bg-white);
    background-color: var(--bg-white);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* =========================================================================
   HEADER & NAVEGACIÓN
   ========================================================================= */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 5px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 96px;
    transition: var(--transition);
}

.header.scrolled .nav {
    height: 76px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Imagen de Logo principal */
.header-logo {
    height: 84px;
    /* Aumentado a ~1.75x para mayor impacto */
    width: auto;
    display: block;
    transition: var(--transition);
}

@media (max-width: 991px) {
    .header-logo {
        height: 60px;
        /* Ajuste responsivo para tablets y móviles */
    }
}

@media (max-width: 576px) {
    .header-logo {
        height: 52px;
    }
}

/* Logo de texto en caso de no tener imagen aún */
.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
}

.logo-text span {
    color: var(--primary-green);
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Menú móvil */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .header-actions {
        display: none;
        /* Se ocultan en móvil para diseño limpio en menú */
    }

    .nav-links .header-actions {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.footer-col p {
    color: #d1d8e0;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-col a {
    color: #d1d8e0;
    display: block;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--light-green);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d8e0;
    font-size: 0.9rem;
}

/* =========================================================================
   WHATSAPP FLOTANTE
   ========================================================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* Espacio inferior para contenido por el header fijo */
main {
    margin-top: 96px;
}

/* =========================================================================
   ESTILOS ESPECÍFICOS: INICIO / COMPONENTES REUTILIZABLES
   ========================================================================= */

/* Hero Premium */
.hero-section {
    min-height: 90vh;
    /* Premium tall hero */
    display: flex;
    align-items: center;
    background: url('../images/hero-centro-medico.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 140px 0 100px 0;
    /* Extra top padding for header */
}

/* Dark overlay for readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 61, 98, 0.85) 0%, rgba(10, 61, 98, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    max-width: 700px;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    color: var(--bg-white);
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-phrase {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 35px;
    background: rgba(7, 153, 146, 0.4);
    backdrop-filter: blur(5px);
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Trust Indicators bajo el Hero */
.hero-trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--bg-white);
    font-weight: 500;
}

.hero-trust-item i {
    color: var(--light-green);
    /* Lighter green for dark background */
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding-top: 150px;
    }

    .hero-container {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-trust-indicators {
        flex-direction: column;
        gap: 12px;
    }
}

/* Grids útiles */
.grid-cards-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.grid-cards-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.align-center {
    align-items: center;
}

@media (max-width: 768px) {
    .grid-2-cols {
        grid-template-columns: 1fr;
    }
}

/* Utils */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.img-radius {
    border-radius: var(--border-radius-lg);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

/* Confianza / Trust Cards Premium */
.trust-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-green);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.trust-card:hover::before {
    transform: scaleX(1);
}

.trust-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    background: rgba(7, 153, 146, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
}

.trust-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.trust-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Service Cards Premium */
.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 25px;
    background-color: var(--bg-white);
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-content h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-card-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex: 1;
}

.btn-link {
    color: var(--primary-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
}

.btn-link:hover {
    color: var(--primary-blue);
    gap: 8px;
    /* Pequeña animación de flecha */
}

/* Lista simple (check) */
.check-list {
    margin-top: 15px;
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-dark);
}

.check-list i {
    color: var(--primary-green);
    margin-top: 4px;
    /* Alineación con texto multilinea */
}

/* Testimonios */
.testimonial-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 80px;
    color: rgba(7, 153, 146, 0.1);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.testimonial-card .stars {
    color: #f1c40f;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-card .comment {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.testimonial-card .author {
    font-size: 0.9rem;
    color: var(--primary-blue);
}

/* Contact Item */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-top: 5px;
}

.contact-info-item strong {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.contact-info-item p {
    margin: 0;
    color: var(--text-muted);
}

/* =========================================================================
   ESTILOS ESPECÍFICOS: PÁGINAS INTERNAS
   ========================================================================= */

/* Page Hero Premium */
.page-hero {
    background-color: var(--primary-blue);
    background-image: url('../images/fondo-header-paginas-secundarias.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 80px;
    text-align: center;
    color: var(--bg-white);
    position: relative;
    z-index: 1;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 61, 98, 0.35) 0%, rgba(7, 153, 146, 0.25) 100%);
    z-index: -1;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--bg-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    color: #e2e8f0;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Navegación Pestañas */
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.tab-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    background-color: var(--bg-light);
}

.tab-btn.active {
    color: var(--bg-white);
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

/* Contenido de Pestañas */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mb-40 {
    margin-bottom: 40px;
}

/* Tarjeta Detalle de Servicio */
.service-detail-card {
    display: flex;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-detail-card:hover .service-detail-img img {
    transform: scale(1.06);
}

.service-detail-img {
    flex: 0 0 380px;
    max-width: 380px;
    height: 320px;
    overflow: hidden;
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-detail-info {
    padding: 40px;
    flex: 1;
}

.service-detail-info h3 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-detail-info p {
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-notes {
    background-color: #f7fafc;
    padding: 20px 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-green);
    margin-bottom: 20px;
}

.service-notes h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-notes ul {
    padding-left: 20px;
}

.service-notes li {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
    list-style-type: decimal;
}

@media (max-width: 900px) {
    .service-detail-card {
        flex-direction: column;
    }

    .service-detail-img {
        flex: auto;
        max-width: 100%;
        height: 240px;
    }

    .service-detail-info {
        padding: 25px;
    }
}

/* Formularios */
.form-container {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(7, 153, 146, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-dark);
}

.form-section-title {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin: 35px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title:first-of-type {
    margin-top: 0;
}

.m-0 {
    margin: 0 !important;
}

@media (max-width: 768px) {
    .form-container {
        padding: 25px 20px;
    }
}

.text-justify {
    text-align: justify;
}

/* =========================================================================
   TOAST NOTIFICATIONS
   ========================================================================= */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-main);
    color: #fff;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    max-width: 440px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: auto;
}

.toast-notification.toast-show {
    opacity: 1;
    transform: translateY(0);
}

.toast-notification.toast-hide {
    opacity: 0;
    transform: translateY(20px);
}

/* Success variant */
.toast-success {
    background: linear-gradient(135deg, #079992 0%, #0a9e8f 100%);
    border-left: 5px solid #25d366;
}

/* Error variant */
.toast-error {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    border-left: 5px solid #e74c3c;
}

.toast-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
}

.toast-text {
    flex: 1;
    line-height: 1.45;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 0 0 8px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: #fff;
}

@media (max-width: 576px) {
    .toast-notification {
        left: 16px;
        right: 16px;
        bottom: 20px;
        max-width: none;
    }
}