/* ==========================================================================
   JUS IA - DESIGN SYSTEM & STYLES (NO TAILWIND)
   ========================================================================== */

/* --- 1. CSS VARIABLES (Design System) --- */
:root {
    /* Colors */
    --background: #ffffff;
    --foreground: #223958;
    /* Azul Marino Institucional */

    --primary: #223958;
    --primary-foreground: #ffffff;

    /* Strict Green Action color */
    --accent: #85D127;
    /* Verde Tecnológico */
    --accent-foreground: #223958;
    /* Dark text on green for contrast */
    --accent-hover: #71B31D;

    --muted: #F1F5F9;
    /* Gris Claro */
    --muted-foreground: #66758C;
    /* Slate 500 for secondary text */

    --surface-card: #ffffff;
    --border-subtle: rgba(29, 58, 86, 0.1);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* --- 2. RESET & BASE --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--muted-foreground);
    margin-bottom: var(--space-sm);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- 3. UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.text-center {
    text-align: center;
}

.mb-section {
    margin-bottom: var(--space-lg);
}

.mt-small {
    margin-top: var(--space-sm);
}

.mt-medium {
    margin-top: var(--space-md);
}

.mt-large {
    margin-top: var(--space-lg);
}

.bg-muted {
    background-color: var(--muted);
}

.italic {
    font-style: italic;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-4xl {
    max-width: 56rem;
}

.lead {
    font-size: 1.125rem;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
}

/* --- 4. COMPONENTS - BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--background);
    /* White text on green */
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--background);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-outline-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--border-subtle);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.btn-outline-secondary:hover {
    border-color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    border-radius: 50px;
    /* Pillow button look */
}

/* --- 5. NAVBAR --- */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-xs) 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-img {
    height: 40px;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--foreground);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

.badge {
    font-size: 0.7rem;
    background-color: var(--muted);
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-sm);
    color: var(--muted-foreground);
    margin-left: 0.25rem;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: var(--space-sm);
    background-color: var(--background);
    border-top: 1px solid var(--border-subtle);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-subtle);
    font-family: var(--font-heading);
    font-weight: 600;
}

.mobile-nav .btn {
    margin-top: var(--space-sm);
}

.mobile-link-secondary {
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
    }

    .nav-actions {
        display: flex;
    }

    .mobile-nav {
        display: none !important;
    }
}

/* --- 6. HERO SECTION --- */
.hero-section {
    padding: var(--space-xl) 0 var(--space-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(241, 241, 241, 0.5) 100%);
    overflow: hidden;
}

.hero-grid-bg {
    background-color: var(--background);
    background-image:
        linear-gradient(rgba(29, 58, 86, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 58, 86, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.hero-text {
    flex: 1;
    text-align: center;
}

.hero-text h1 {
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto var(--space-md);
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-img-fluid {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .hero-cta-group {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
    }

    .hero-text {
        text-align: left;
    }

    .subtitle {
        margin-left: 0;
    }

    .hero-cta-group {
        justify-content: flex-start;
    }

    .hero-image {
        justify-content: flex-end;
    }
}

/* --- 7. PROBLEM SECTION --- */
.problem-section {
    padding: var(--space-xl) 0;
    background-color: var(--muted);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.problem-intro h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: var(--space-md);
}

.highlight-paragraph {
    font-size: 1.125rem;
    color: var(--primary);
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
    background-color: var(--background);
    padding: 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
}

.problem-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.p-card {
    background-color: var(--background);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.p-card .icon-wrapper {
    width: 40px;
    height: 40px;
    background-color: rgba(29, 58, 86, 0.05);
    /* very light primary */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.p-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.p-card p {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

@media (min-width: 992px) {
    .problem-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- 8. COMO FUNCIONA (FLOW) SECTION --- */
.flow-section {
    padding: var(--space-xl) 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: var(--space-lg);
}

.step-card {
    position: relative;
    padding: 2rem;
    background-color: var(--background);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
    z-index: 1;
}

.step-card:hover {
    box-shadow: var(--shadow-hover);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--primary-foreground);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
}

.step-card h3 {
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    margin: 0;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        position: relative;
    }

    /* Horizontal connection line for desktop */
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 3.5rem;
        /* align with icons roughly */
        left: 5%;
        right: 5%;
        height: 2px;
        background-color: var(--border-subtle);
        z-index: 0;
    }

    .step-card {
        background-color: var(--background);
        /* Ensure line goes behind */
    }
}

/* --- 9. SERVICIOS MVP SECTION --- */
.services-section {
    padding: var(--space-xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background-color: var(--background);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(124, 209, 57, 0.3);
    /* green tint border on hover */
}

.s-icon-wrapper {
    background-color: var(--primary);
    color: var(--primary-foreground);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.s-icon-wrapper i {
    font-size: 1.8rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    margin: 0;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- 10. PRICING SECTION --- */
.pricing-section {
    padding: var(--space-xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.pricing-card {
    background-color: var(--background);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.highlighted {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
}

.badge-top {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--background);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.feature-list i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 2px;
}

.pricing-fineprint {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
    margin-top: auto;
}

.pricing-disclaimer {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    max-width: 800px;
    margin: var(--space-lg) auto 0;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
}

/* --- 11. INSTITUTIONAL SECTION --- */
.institutional-section {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: var(--space-xl) 0;
}

.institutional-section h2 {
    color: #ffffff;
}

.institutional-section p {
    color: rgba(255, 255, 255, 0.85);
}

/* --- 12. FINAL CTA --- */
.final-cta-section {
    padding: var(--space-xl) 0;
    background-color: var(--background);
}

.final-cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

/* --- 13. FOOTER --- */
.footer {
    padding: var(--space-xl) 0 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: var(--space-lg);
}

.footer-logo {
    height: 40px;
    filter: brightness(0);
    /* Make it dark for footer */
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* --- 8. TARJETAS DE NAVEGACIÓN RÁPIDAS (ACCESOS DIRECTOS) --- */
.nav-card {
    background: var(--surface, #0f0f0f);
    border: 1px solid var(--border, #1c1c1c);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.nav-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.nav-card-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text, var(--primary));
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-card-desc {
    font-size: 13px;
    color: var(--muted2, var(--muted-foreground));
    line-height: 1.4;
}

.nav-card-footer {
    font-size: 11px;
    color: var(--accent);
    font-family: 'DM Mono', monospace;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- 9. NOTIFICACIONES DE CLIENTE --- */
.notif-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.notif-card {
    background: var(--surface, #0f0f0f);
    border: 1px solid var(--border, #1c1c1c);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.notif-card.no-leida {
    cursor: pointer;
}

.notif-card:hover {
    border-color: var(--border2, #262626);
}

.notif-card.no-leida:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.notif-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.notif-card-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text, #e8e8e8);
}

.notif-card-msg {
    font-size: 13px;
    color: var(--muted2, #888);
    line-height: 1.5;
}

.notif-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border, #1c1c1c);
    padding-top: 12px;
    margin-top: 4px;
}

.notif-card-date {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--muted, #555);
}

.estado-no_leida {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.estado-no_leida::before {
    background: #f59e0b;
}

.estado-leida {
    background: rgba(0, 200, 83, 0.1);
    color: var(--accent, #00c853);
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.estado-leida::before {
    background: var(--accent, #00c853);
}

/* --- 10. UNIFIED TOAST SYSTEM --- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--surface, #0f0f0f);
    border: 1px solid var(--border2, #262626);
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--text, #e8e8e8);
    font-size: 13px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--border2, #262626);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left-color: var(--accent, #00c853);
}

.toast.error {
    border-left-color: #ef4444; /* Mandatory red */
}

.toast.warning {
    border-left-color: #f59e0b; /* Mandatory yellow */
}

.toast-icon {
    font-size: 15px;
    font-weight: bold;
}

.toast-icon.success {
    color: var(--accent, #00c853);
}

.toast-icon.error {
    color: #ef4444;
}

.toast-icon.warning {
    color: #f59e0b;
}

/* --- 11. CONFIRMATION MODAL SYSTEM --- */
.confirm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.confirm-modal-overlay.fade-out {
    opacity: 0;
}

.confirm-modal-card {
    background: var(--surface, #0f0f0f);
    border: 1px solid var(--border2, #262626);
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.confirm-modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text, #e8e8e8);
    margin-bottom: 0;
}

.confirm-modal-body p {
    font-size: 13px;
    color: var(--muted2, #888);
    line-height: 1.5;
    margin-bottom: 0;
}

.confirm-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.btn-confirm-cancel,
.btn-confirm-action {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'DM Sans', sans-serif;
    border: 1px solid var(--border2, #262626);
}

.btn-confirm-cancel {
    background: transparent;
    color: var(--muted2, #888);
}

.btn-confirm-cancel:hover {
    border-color: var(--text, #e8e8e8);
    color: var(--text, #e8e8e8);
}

.btn-confirm-action {
    background: #ef4444; /* Mandatory red for destructive actions */
    color: #ffffff;
    border-color: #ef4444;
}

.btn-confirm-action:hover {
    background: #dc2626;
    border-color: #dc2626;
}

/* ==========================================================================
   12. LAWYER PANEL (panel-abogado.html) V2 STYLES
   ========================================================================== */

/* Active Cases Badge in Topbar */
#active-cases-badge,
.active-cases-badge {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--accent, #00c853);
    background: rgba(0, 200, 83, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

/* Case Status Badges */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
}

.badge-status::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
}

.badge-status.nuevo {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-status.nuevo::before {
    background: #f59e0b;
}

.badge-status.en_proceso {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-status.en_proceso::before {
    background: #3b82f6;
}

.badge-status.resuelto {
    background: rgba(0, 200, 83, 0.1);
    color: #00c853;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.badge-status.resuelto::before {
    background: #00c853;
}

.badge-status.archivado {
    background: rgba(85, 85, 85, 0.1);
    color: #888888;
    border: 1px solid rgba(85, 85, 85, 0.2);
}

.badge-status.archivado::before {
    background: #555555;
}

/* Local Filter Buttons */
.filter-btn-group {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #262626;
    background: transparent;
    color: #888888;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'DM Sans', sans-serif;
}

.filter-btn:hover {
    border-color: #00c853;
    color: #e8e8e8;
}

.filter-btn.active {
    background: rgba(0, 200, 83, 0.1);
    border-color: #00c853;
    color: #00c853;
}