/* =====================================================
   COMPONENTES REUTILIZABLES (SISTEMA WOLF PREMIUM)
   Botones, Cards, Tablas, Badges, Formularios, etc.
   ===================================================== */

/** 
 * DISEÑO ÓPTICO Y DISTRIBUCIÓN COHERENTE
 * Aplica a todos los módulos para unificar la experiencia visual.
 */

/* BOTONES */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.65rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }

.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #059669; }

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #dc2626; }

.btn-warning { background: var(--warning); color: white; }
.btn-warning:hover { background: #d97706; }

.btn-secondary { background: #6b7280; color: white; }
.btn-secondary:hover { background: #4b5563; }

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* CARDS */
.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition);
    border: 1px solid var(--border-light);
}

.card:hover {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.card-header h3 {
    font-size: 1.3rem;
    color: var(--text);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* ESTADÍSTICAS - MINI DASHBOARD */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 0.25rem;
    width: 100%;
}

.stat-card {
    flex: 1 1 0px; /* Todas las cards crecen y encogen por igual */
    min-width: 220px; /* Ancho mínimo para mantener legibilidad */
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: var(--bg-alt);
    color: var(--primary);
    transition: all var(--transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(-5deg);
}

.stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex-grow: 1;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.5px;
}

/* Variantes de Color para Stat Cards */
.stat-card.blue { border-left-color: #3b82f6; }
.stat-card.blue .stat-icon { background: #eff6ff; color: #3b82f6; }

.stat-card.green { border-left-color: #10b981; }
.stat-card.green .stat-icon { background: #f0fdf4; color: #10b981; }

.stat-card.red { border-left-color: #ef4444; }
.stat-card.red .stat-icon { background: #fef2f2; color: #ef4444; }

.stat-card.orange { border-left-color: #f59e0b; }
.stat-card.orange .stat-icon { background: #fffbeb; color: #f59e0b; }

.stat-card.purple { border-left-color: #8b5cf6; }
.stat-card.purple .stat-icon { background: #f5f3ff; color: #8b5cf6; }

/* TABLAS COMPACTAS (Standard) */
.table-compact {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
}

.table-compact thead th {
    background: #f8fafc;
    padding: 10px 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.table-compact tbody tr {
    background: white;
    transition: all 0.2s;
}

.table-compact tbody tr:hover {
    background: #f1f5f9;
}

.table-compact tbody td {
    padding: 10px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
}

/* Información secundaria bajo el nombre */
.table-identity-sub {
    display: flex;
    gap: 10px;
    margin-top: 2px;
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 600;
}

.table-identity-sub i {
    opacity: 0.5;
    width: 12px;
}

/* BADGES */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef9c3; color: #854d0e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #e0f2fe; color: #075985; }
.badge-secondary { background: #f1f5f9; color: #475569; }
.badge-coral { background: #ffede5; color: #f97316; border: 1px solid #f9731630; }

/* BOTONES DE ACCIÓN (Compactos) */
.btn-action {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-action:hover { transform: translateY(-2px); filter: brightness(0.95); }

.btn-action.primary { background: #eff6ff; color: #2563eb; }
.btn-action.success { background: #f0fdf4; color: #16a34a; }
.btn-action.warning { background: #fffbeb; color: #d97706; }
.btn-action.danger { background: #fef2f2; color: #dc2626; }
.btn-action.secondary { background: #f8fafc; color: #64748b; }

/* FORMULARIOS */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

/* ── COMPONENTES WOLF (EXTRACTO PREMIUM) ── */

/* Inputs/selects compactos */
.wolf-input {
    padding: .42rem .7rem;
    font-size: .88rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    width: 100%;
    background: var(--bg-card);
    color: var(--text);
    transition: all .18s ease;
}

.wolf-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

.wolf-input:read-only {
    background: var(--bg-alt);
    cursor: default;
    border-color: var(--border-light);
}

/* Etiquetas y ayudas */
.wolf-label  { 
    display: block; 
    font-size: .78rem; 
    font-weight: 700; 
    color: var(--text); 
    margin-bottom: .28rem;
    text-transform: none; /* Evitar mayúsculas forzadas para mayor limpieza */
}

.wolf-hint   { 
    font-size: .71rem; 
    color: var(--text-light); 
    margin-top: .15rem; 
    display: block;
    line-height: 1.2;
}

.wolf-req    { color: var(--danger); margin-left: 2px; }

/* Grids del formulario controlados */
.wolf-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:.65rem }
.wolf-grid-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:.65rem }

/* Paneles de agrupación */
.wolf-panel {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .75rem;
    margin-bottom: .75rem;
}

.wolf-panel-title {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .6rem;
    display: flex;
    align-items: center;
    gap: .35rem;
    color: var(--text-light);
}

.wolf-panel-info {
    background: var(--info-light);
    border: 1.5px solid var(--info);
    border-radius: 10px;
    padding: .75rem;
    margin-bottom: .75rem;
}

/* Caja de resumen / totales */
.wolf-resumen {
    background: var(--bg-dark, #1e293b);
    border-radius: 10px;
    padding: .65rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    margin-bottom: .5rem;
}

.wolf-resumen-label { font-size: .62rem; color: #94a3b8; text-transform: uppercase; font-weight: 700; }
.wolf-resumen-val   { font-size: 1.35rem; font-weight: 800; letter-spacing: -.5px; }

/* Micro-mejoras para tablas modernas */
.table-modern td {
    padding: .75rem 1rem;
    font-size: .88rem;
}

.table-modern .table-main-text {
    font-weight: 600;
    color: var(--text);
    display: block;
}

.table-modern .table-subtext {
    font-size: .75rem;
    color: var(--text-light);
}

/* ALERTAS */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.alert i {
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.alert-info {
    background: var(--info-light);
    border-left: 4px solid var(--info);
    color: #1e40af;
}

.alert-success {
    background: var(--success-light);
    border-left: 4px solid var(--success);
    color: #065f46;
}

.alert-warning {
    background: var(--warning-light);
    border-left: 4px solid var(--warning);
    color: #92400e;
}

.alert-danger {
    background: var(--danger-light);
    border-left: 4px solid var(--danger);
    color: #991b1b;
}

/* MODALES */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.close-btn:hover {
    background: var(--bg-hover);
    color: var(--text);
}



/* RESPONSIVE PREMIUM */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .stat-value {
        font-size: 1.4rem;
    }
    .card {
        padding: 1rem;
    }
    .card-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    th, td {
        padding: 0.75rem 0.5rem;
        font-size: 0.82rem;
    }
    
    /* Contenedor responsivo táctil para tablas de datos */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .table-modern, .table-compact {
        width: 100%;
        min-width: 600px; /* Previene compresión extrema */
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    .stat-card {
        padding: 1rem;
    }
    .card-header h3 {
        font-size: 1.15rem;
    }
}

/* MODULO EN PROCESO (Overlay) */
.module-overlay-container {
    position: relative;
    min-height: 480px;
}

.module-blur {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
    opacity: 0.6;
}

.module-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    text-align: center;
    max-width: 500px;
    width: 90%;
    backdrop-filter: blur(10px);
}

.module-message i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.module-message h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 800;
}

.module-message p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.module-message .contact-box {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
}

.module-message .developer-name {
    display: block;
    font-weight: 700;
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.module-message .developer-tel {
    color: #2563eb;
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
}

/* AUTOCOMPLETE PREMIUM */
#results_autocomplete {
    position: absolute;
    width: 100%;
    max-height: 250px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 100;
    overflow-y: auto;
    margin-top: 5px;
}

.autocomplete-item {
    transition: all 0.2s ease;
}

.autocomplete-item:hover {
    background: #f1f5f9;
}
/* POS: Ítems de deuda agrupados */
.pos-deuda-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.15rem;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    box-shadow: var(--shadow-sm);
}

.pos-deuda-item:hover {
    border-color: var(--primary-light);
    transform: translateX(4px);
    background: #f8fafc;
}

.pos-deuda-item.checked {
    border-color: var(--primary);
    background: #eff6ff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.pos-deuda-item.vencida {
    border-left: 4px solid var(--danger);
}

.pos-deuda-item.vencida.checked {
    background: #fef2f2;
    border-color: var(--danger);
}

.pos-deuda-item-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-alt);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.pos-deuda-item.checked .pos-deuda-item-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.pos-deuda-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    margin-left: 12px;
}

.pos-deuda-item-title {
    font-weight: 700;
    color: var(--text);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pos-deuda-item-meta {
    font-size: 0.72rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pos-deuda-item-price {
    text-align: right;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
    letter-spacing: -0.3px;
    transition: all 0.2s ease;
}

.pos-deuda-item.checked .pos-deuda-item-price {
    transform: scale(1.05);
}

.pos-deuda-item.vencida .pos-deuda-item-price {
    color: var(--danger);
}
/* NOTIFICACIONES TOAST PREMIUM */
.notification {
    position: fixed;
    top: 25px;
    right: 25px;
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 420px;
    border: 1px solid var(--border-light);
}

.notification.show {
    transform: translateX(0);
}

.notification-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.notification-success { border-left: 5px solid var(--success); }
.notification-success .notification-icon { color: var(--success); background: var(--success-light); }

.notification-danger, .notification-error { border-left: 5px solid var(--danger); }
.notification-danger .notification-icon, .notification-error .notification-icon { color: var(--danger); background: var(--danger-light); }

.notification-warning { border-left: 5px solid var(--warning); }
.notification-warning .notification-icon { color: var(--warning); background: var(--warning-light); }

.notification-info { border-left: 5px solid var(--info); }
.notification-info .notification-icon { color: var(--info); background: var(--info-light); }

.notification-content {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-light);
    cursor: pointer;
    margin-left: auto;
    padding: 0 0 0 10px;
    opacity: 0.5;
}

.notification-close:hover { opacity: 1; }

/* MODAL CONFIRMACIÓN ESPECIAL */
#custom-confirm-modal .modal-content {
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* -- DARK MODE OVERRIDES PARA COMPONENTES PREMIUM -- */
[data-theme='dark'] .card {
    background: var(--bg-card);
    border-color: var(--border-light);
}

[data-theme='dark'] .stat-card {
    background: var(--bg-card);
    border-color: var(--border-light);
}

[data-theme='dark'] .table-compact thead th {
    background: var(--bg-alt);
    border-color: var(--border);
}

[data-theme='dark'] .table-compact tbody tr {
    background: var(--bg-card);
}

[data-theme='dark'] .table-compact tbody tr:hover {
    background: var(--bg-hover);
}

[data-theme='dark'] .table-compact tbody td {
    border-color: var(--border-light);
}

[data-theme='dark'] .form-control {
    background: var(--bg-alt);
    color: var(--text);
    border-color: var(--border);
}

[data-theme='dark'] .form-control:focus {
    background: var(--bg-card);
}

[data-theme='dark'] .modal-content {
    background: var(--bg-card);
}

[data-theme='dark'] .pos-deuda-item {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme='dark'] .pos-deuda-item:hover {
    background: var(--bg-hover);
}

[data-theme='dark'] #results_autocomplete {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme='dark'] .autocomplete-item:hover {
    background: var(--bg-hover);
}

/* -- LECTURAS MODULE IMPROVED OVERLAY STYLES (Overrides removed to prevent caching conflict, styled inline) -- */

.module-badge {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

[data-theme='dark'] .module-badge {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border-color: rgba(14, 165, 233, 0.25);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #0ea5e9;
    border-radius: 50%;
    display: inline-block;
    animation: licPulse 1.8s infinite;
}

.module-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
    margin-bottom: 8px;
}

.module-icon-wrap i {
    font-size: 1.8rem;
}

.fa-bounce-slow {
    animation: fa-bounce 3s infinite;
}

.module-message-card h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.02em;
    font-family: 'Outfit', sans-serif;
}

.module-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-light);
    margin: 0;
}

.module-divider {
    width: 100%;
    height: 1px;
    background: rgba(229, 231, 235, 0.5);
    margin: 4px 0;
}

[data-theme='dark'] .module-divider {
    background: rgba(55, 65, 81, 0.4);
}

.module-contact-section {
    width: 100%;
    text-align: center;
}

.contact-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px 0;
}

.contact-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0 0 16px 0;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

@media (min-width: 480px) {
    .contact-buttons {
        flex-direction: row;
    }
}

.contact-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
    background: #20ba5a;
}

.email-btn {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.email-btn:hover {
    transform: translateY(-2px);
    background: var(--bg-hover);
    border-color: var(--primary-light);
    color: var(--primary);
}

.developer-credit {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 10px;
}

@keyframes licPulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}
