/* 
  Estilos para la Plataforma Ciudadana
  Priorizamos legibilidad (fuentes grandes), colores suaves (sin agresividad)
  y un look "Premium / Modern" con glassmorphism y micro-interacciones.
*/

:root {
    /* Color Institucional Suave (Azul) */
    --color-primary-light: #E0F2FE;
    --color-primary-soft: #38BDF8;
    --color-primary: #0284C7;
    --color-primary-dark: #0369A1;

    /* Color Esperanza (Verde) */
    --color-success-light: #DCFCE7;
    --color-success-soft: #4ADE80;
    --color-success: #16A34A;
    --color-success-dark: #15803D;

    /* Neutros y Fondos */
    --color-bg: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-text-main: #1E293B;
    /* Letra oscura para buen contraste */
    --color-text-muted: #475569;
    --color-border: #E2E8F0;

    /* Sombras Modernas */
    --shadow-sm: 0 1px 2px 0 rgba(2, 132, 199, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(2, 132, 199, 0.1), 0 2px 4px -1px rgba(2, 132, 199, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(2, 132, 199, 0.1), 0 4px 6px -2px rgba(2, 132, 199, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(2, 132, 199, 0.1), 0 10px 10px -5px rgba(2, 132, 199, 0.04);

    /* Radios redondeados suaves */
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    /* 18px base para facilitar la lectura */
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografía */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-mb {
    margin-bottom: 5rem;
}

.text-center {
    text-align: center;
}

.text-success {
    color: var(--color-success);
}

/* --- Botones --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn i {
    font-size: 1.25em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-soft), var(--color-primary));
    color: white;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.btn-secondary {
    background-color: var(--color-success-light);
    color: var(--color-success-dark);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.btn-secondary:hover {
    background-color: #d1fae5;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.btn-full {
    width: 100%;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg) translate(-50%, -50%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    20%,
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* --- Header / Navbar --- */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.logo-img {
    height: 70px;
    /* Tamaño aumentado */
    width: auto;
    object-fit: contain;
}

.logo-text {
    line-height: 1.2;
}

.navbar-links {
    display: flex;
    gap: 2rem;
}

.navbar-links a {
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--color-primary);
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at top right, var(--color-primary-light) 0%, var(--color-bg) 60%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--color-surface);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box:focus-within {
    box-shadow: 0 0 0 4px var(--color-primary-light);
    border-color: var(--color-primary-soft);
}

.search-icon {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    margin-left: 1rem;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    font-family: inherit;
    outline: none;
    background: transparent;
    color: var(--color-text-main);
}

.search-box input::placeholder {
    color: #94A3B8;
}

/* Widget del Tiempo */
.weather-widget {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: #F1F5F9;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-left: 1rem;
    border: 1px solid var(--color-border);
}

.weather-widget i {
    font-size: 1.1rem;
    color: var(--color-primary);
}

/* Selector de idioma */
.lang-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 1.5rem;
    align-items: center;
    border-left: 1px solid var(--color-border);
    padding-left: 1.5rem;
}

.lang-btn {
    background: transparent;
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.lang-btn:hover {
    color: var(--color-primary-dark);
    background: var(--color-primary-light);
}

.lang-btn.active {
    background: var(--color-primary);
    color: white;
}

/* Formas de fondo suaves */
.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
}

.hero-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary-light);
    top: -100px;
    right: -100px;
}

.hero-shapes .shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-success-light);
    bottom: -50px;
    left: -50px;
}

/* --- Panel Dashboard --- */
.dashboard {
    padding: 2rem 0 6rem 0;
    position: relative;
    z-index: 5;
}

.section-head {
    text-align: center;
    margin-bottom: 3rem;
}

.section-head h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.section-head-left {
    margin-bottom: 2rem;
}

.section-head-left h2 {
    font-size: 2rem;
    position: relative;
    padding-left: 1rem;
}

.section-head-left h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 6px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

/* --- Kanban Board (Incidencias) --- */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.kanban-col {
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px dashed var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.kanban-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 2px solid;
}

.col-received .kanban-header {
    color: var(--color-primary-dark);
    border-color: var(--color-primary-light);
}

.col-progress .kanban-header {
    color: #D97706;
    border-color: #FEF3C7;
}

/* Naranja suave */
.col-solved .kanban-header {
    color: var(--color-success-dark);
    border-color: var(--color-success-light);
}

.kanban-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    cursor: default;
}

.kanban-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.kanban-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
}

.card-detail {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.tag-blue {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}

.tag-orange {
    background: #FEF3C7;
    color: #B45309;
}

.tag-green {
    background: var(--color-success-light);
    color: var(--color-success-dark);
}

.tag-purple {
    background: #F3E8FF;
    color: #7E22CE;
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.timeline-step i {
    font-size: 1.2rem;
}

/* Barra de progreso para "En Proceso" */
.progress-bar-bg {
    height: 6px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #F59E0B, #D97706);
    border-radius: var(--radius-full);
    animation: loadProgress 1s ease-out forwards;
}

@keyframes loadProgress {
    from {
        width: 0;
    }
}

/* --- Layout Grid 2 (Propuestas & Transparencia) --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

/* Propuestas */
.propuesta-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-primary-light);
    text-align: center;
    transition: transform 0.3s ease;
}

.propuesta-card:hover {
    transform: translateY(-5px);
}

.propuesta-icon {
    font-size: 4rem;
    color: var(--color-primary-soft);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: var(--color-primary-light);
    border-radius: 50%;
}

.propuesta-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.propuesta-card p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.propuesta-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
}

.avatars img:first-child {
    margin-left: 0;
}

.propuesta-stats span {
    font-weight: 500;
    color: var(--color-primary-dark);
}

/* Transparencia */
.transparencia-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-surface);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.doc-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-soft);
    background: linear-gradient(to right, white, var(--color-primary-light));
}

.doc-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.doc-info i {
    font-size: 2.5rem;
    color: var(--color-primary);
    opacity: 0.9;
}

.doc-title {
    display: block;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--color-text-main);
    margin-bottom: 0.25rem;
}

.doc-meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.doc-download {
    font-size: 1.5rem;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.doc-item:hover .doc-download {
    background: var(--color-primary);
    color: white;
}

/* --- Widget Avisos Urgentes --- */
.urgent-widget {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    /* Posicionado abajo para no entorpecer la navegación */
    width: 320px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border-left: 6px solid #D97706;
    /* Naranja institucional, no agresivo */
    padding: 1.5rem;
    z-index: 1000;
    transform: translateX(-150%);
    animation: slideInWidget 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1s;
}

@keyframes slideInWidget {
    to {
        transform: translateX(0);
    }
}

.widget-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.widget-close:hover {
    color: var(--color-text-main);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #B45309;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.widget-header i {
    font-size: 1.5rem;
}

.urgent-widget p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* --- Botón FAB Alerta Rápida --- */
.fab-alert {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--color-success), var(--color-success-dark));
    color: white;
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.4);
    cursor: pointer;
    border: none;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-alert i {
    font-size: 1.75rem;
}

.fab-alert:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.5);
    background: linear-gradient(135deg, var(--color-success-soft), var(--color-success));
}

.fab-alert::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-success-light);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.fab-alert:hover::before {
    opacity: 1;
    transform: scale(1.1);
    animation: pulseFab 1.5s infinite;
}

@keyframes pulseFab {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* --- Modal y Formularios Públicos --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.panel-form {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    background-color: #ffffff;
}

.panel-head {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--color-border);
}

.panel-head h2 {
    font-size: 1.5rem;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-close-panel {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.btn-close-panel:hover {
    color: var(--color-text-main);
}

.incidencia-form {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.required {
    color: #EF4444;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    background-color: #F8FAFC;
    color: var(--color-text-main);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-soft);
    box-shadow: 0 0 0 3px var(--color-primary-light);
    background-color: white;
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    z-index: 10;
}

.checkmark {
    display: block;
    position: relative;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid #CBD5E1;
    border-radius: 4px;
    margin-right: 0.75rem;
    flex-shrink: 0;
    transition: all 0.2s;
}

.checkbox-container:hover input~.checkmark {
    border-color: var(--color-primary-soft);
}

.checkbox-container input:checked~.checkmark {
    background-color: #EF4444;
    border-color: #EF4444;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
    margin-top: 4rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .kanban-board {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .navbar-content {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .weather-widget {
        margin-left: 0;
    }

    /* En una versión completa habría menú hamburguesa */
    .fab-alert {
        bottom: 1rem;
        right: 1rem;
        padding: 1rem;
    }

    .fab-alert span {
        display: none;
    }

    /* Solo icono en móvil */
    .urgent-widget {
        left: 1rem;
        right: 1rem;
        width: auto;
        bottom: 5rem;
    }
}

/* --- Popup WhatsApp --- */
.wa-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.wa-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wa-popup {
    background: var(--color-surface);
    width: 90%;
    max-width: 450px;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--color-border);
}

.wa-popup-overlay.active .wa-popup {
    transform: scale(1) translateY(0);
}

.wa-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.3s, background 0.3s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-popup-close:hover {
    color: var(--color-text-main);
    background: var(--color-bg);
}

.wa-popup-icon {
    font-size: 4rem;
    color: #25D366;
    margin-bottom: 1rem;
}

.wa-popup h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.wa-popup p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
    font-size: 1.05rem;
}

.btn-wa {
    background: #25D366;
    color: white;
    width: 100%;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}