/* Verve Real Estate Dashboard Design System */

/* Import Roboto Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* CSS Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #00a67e;
    --color-background: #f8fafc;
    --color-white: #ffffff;
    --color-text: #1a202c;
    --color-text-secondary: #64748b;
    --color-border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    
    /* Color Palette */
    --verve-brand: #2D3748;
    --verve-brand-light: #4A5568;
    --verve-accent: #38A169;
    
    --verve-bg-primary: #F7FAFC;
    --verve-bg-secondary: #EDF2F7;
    --verve-bg-card: #FFFFFF;
    --verve-bg-overlay: rgba(255, 255, 255, 0.95);
    
    --verve-text-primary: #1A202C;
    --verve-text-secondary: #4A5568;
    --verve-text-muted: #718096;
    --verve-text-light: #A0AEC0;
    
    --verve-success: #38A169;
    --verve-info: #3182CE;
    --verve-warning: #D69E2E;
    --verve-error: #E53E3E;
    
    --verve-chart1: #4FD1C7;
    --verve-chart2: #63B3ED;
    --verve-chart3: #F6E05E;
    --verve-chart4: #FC8181;
    --verve-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Typography */
    --verve-font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --verve-font-mono: Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    
    /* Font Sizes */
    --verve-text-xs: 0.75rem;
    --verve-text-sm: 0.875rem;
    --verve-text-base: 1rem;
    --verve-text-lg: 1.125rem;
    --verve-text-xl: 1.25rem;
    --verve-text-2xl: 1.5rem;
    --verve-text-3xl: 1.875rem;
    --verve-text-4xl: 2.25rem;
    --verve-text-5xl: 3rem;
    
    /* Font Weights */
    --verve-weight-light: 300;
    --verve-weight-normal: 400;
    --verve-weight-medium: 500;
    --verve-weight-semibold: 600;
    --verve-weight-bold: 700;
    --verve-weight-extrabold: 800;
    
    /* Line Heights */
    --verve-leading-tight: 1.25;
    --verve-leading-normal: 1.5;
    --verve-leading-relaxed: 1.625;
    
    /* Spacing */
    --verve-space-xs: 0.25rem;
    --verve-space-sm: 0.5rem;
    --verve-space-md: 1rem;
    --verve-space-lg: 1.5rem;
    --verve-space-xl: 2rem;
    --verve-space-2xl: 3rem;
    --verve-space-3xl: 4rem;
    --verve-space-4xl: 6rem;
    --verve-space-5xl: 8rem;
    --verve-space-6xl: 10rem;
    
    /* Border Radius */
    --verve-radius-sm: 0.125rem;
    --verve-radius-base: 0.25rem;
    --verve-radius-md: 0.375rem;
    --verve-radius-lg: 0.5rem;
    --verve-radius-xl: 0.75rem;
    --verve-radius-2xl: 1rem;
    --verve-radius-3xl: 1.5rem;
    --verve-radius-full: 9999px;
    
    /* Shadows */
    --verve-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --verve-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --verve-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --verve-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --verve-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --verve-transition-default: all 0.2s ease;
    --verve-transition-slow: all 0.3s ease;
    --verve-transition-fast: all 0.1s ease;
}

/* Base Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: var(--verve-leading-normal);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Dashboard Container */
.verve-dashboard {
    min-height: 100vh;
    background-color: var(--verve-bg-primary);
}

/* Navigation Bar */
.nav-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--verve-space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 32px;
    width: auto;
}

.nav-title {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* User Badge */
.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #4b5563;
    color: var(--color-white);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.nav-bar .btn-ghost,
a.btn-ghost {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.25rem !important;
    background: var(--verve-bg-card) !important;
    color: var(--verve-brand) !important;
    border: 2px solid var(--verve-brand) !important;
    border-radius: var(--verve-radius-base) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    box-shadow: var(--verve-shadow-sm) !important;
}

.nav-bar .btn-ghost:hover,
a.btn-ghost:hover {
    background: var(--verve-brand) !important;
    color: var(--verve-bg-card) !important;
    transform: translateY(-1px) !important;
    box-shadow: var(--verve-shadow-md) !important;
}

.nav-bar .btn-ghost svg,
a.btn-ghost svg {
    stroke: currentColor !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--verve-space-sm);
    padding: var(--verve-space-md) var(--verve-space-lg);
    border-radius: 12px;
    font-size: var(--verve-text-sm);
    font-weight: var(--verve-weight-semibold);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background: #059669;
}

.btn-secondary {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    font-weight: 700;
    border-color: transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 55, 72, 0.4);
}

.btn-lg {
    padding: var(--verve-space-lg) var(--verve-space-xl);
    font-size: var(--verve-text-base);
}

/* Container */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0 2rem;
    margin: 0 auto;
}

/* Section */
.section {
    margin: var(--verve-space-sm) 0;
    padding: var(--verve-space-4xl) 0;
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.section.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-bg {
    background-color: var(--verve-bg-secondary);
    margin-top: var(--verve-space-6xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--verve-space-3xl);
}

.section-title {
    font-size: var(--verve-text-3xl);
    font-weight: 700;
    color: var(--verve-text-primary);
    margin: 0 0 var(--verve-space-md) 0;
    font-family: 'Roboto', sans-serif;
}

.section-description {
    font-size: var(--verve-text-lg);
    color: var(--verve-text-secondary);
    margin: 0;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

/* Hero Section */
.hero-section {
    padding: var(--verve-space-lg) 0 var(--verve-space-xl) 0;
    background: linear-gradient(135deg, var(--verve-bg-primary) 0%, var(--verve-bg-secondary) 100%);
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--verve-space-5xl);
    align-items: center;
    min-height: 600px;
    position: relative;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    margin-bottom: var(--verve-space-lg);
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: var(--verve-text-4xl);
    font-weight: var(--verve-weight-bold);
    line-height: 1.2;
    margin: var(--verve-space-lg) 0;
    color: var(--verve-text-primary);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8), 
                 -1px -1px 2px rgba(255, 255, 255, 0.6),
                 1px -1px 2px rgba(255, 255, 255, 0.6),
                 -1px 1px 2px rgba(255, 255, 255, 0.6);
    width: 100%;
    max-width: 100%;
    min-height: 3.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroTitleFadeIn 1.2s ease-out 0.5s forwards;
}

/* Ensure green text shows during typewriter */
.text-accent {
    color: #38A169 !important;
    font-weight: var(--verve-weight-bold);
}

/* Keep green color after typewriter completes - remove gradient for now */
.hero-title.typewriter-complete {
    white-space: normal;
    overflow: visible;
}

.hero-title.typewriter-complete .text-accent {
    color: #38A169 !important;
    font-weight: var(--verve-weight-bold);
    background: none;
    -webkit-text-fill-color: initial;
    animation: none;
}

@keyframes heroTitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 50% {
        border-color: var(--verve-text-primary);
    }
    51%, 100% {
        border-color: transparent;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: var(--verve-text-lg);
    color: var(--verve-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--verve-space-xl);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7),
                 -1px -1px 1px rgba(255, 255, 255, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease-out 0.8s forwards;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: var(--verve-space-md);
    margin-bottom: var(--verve-space-xl);
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease-out 1.1s forwards;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--verve-space-sm);
    font-size: var(--verve-text-base);
    color: var(--verve-text-secondary);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}

.hero-cta {
    display: flex;
    gap: var(--verve-space-md);
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease-out 1.4s forwards;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
    min-height: 500px;
    width: 100%;
}

.hero-visual::before {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 120%;
    height: 130%;
    background-image: url('/static/avisos/edificio.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1.0;
    z-index: 1;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    border-radius: 0 !important;
    border: none !important;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translateZ(0);
    will-change: transform;
}

.hero-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    position: relative;
    z-index: 15;
    transition: all 0.3s ease;
}

.card-header {
    padding: var(--verve-space-lg);
    border-bottom: 1px solid var(--verve-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: var(--verve-text-lg);
    font-weight: var(--verve-weight-semibold);
    color: var(--verve-text-primary);
    margin: 0;
}

.card-content {
    padding: var(--verve-space-lg);
}

.property-preview {
    display: flex;
    gap: var(--verve-space-md);
    margin-bottom: var(--verve-space-md);
}

.property-image {
    width: 80px;
    height: 60px;
    background: linear-gradient(45deg, var(--verve-bg-secondary) 0%, var(--verve-border) 100%);
    border-radius: var(--verve-radius);
    flex-shrink: 0;
}

.property-details h4 {
    font-size: var(--verve-text-base);
    font-weight: var(--verve-weight-semibold);
    color: var(--verve-text-primary);
    margin: 0 0 var(--verve-space-xs) 0;
}

.property-location {
    font-size: var(--verve-text-sm);
    color: var(--verve-text-secondary);
    margin: 0 0 var(--verve-space-xs) 0;
}

.property-price {
    font-size: var(--verve-text-lg);
    font-weight: var(--verve-weight-bold);
    color: var(--verve-accent);
    margin: 0;
}

.notification-time {
    display: flex;
    align-items: center;
    gap: var(--verve-space-xs);
    font-size: var(--verve-text-xs);
    color: var(--verve-text-muted);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--verve-space-xl);
}

.step-card {
    background: #ffffff;
    border-radius: 20px;
    padding: var(--verve-space-lg);
    box-shadow: var(--verve-shadow-md);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    align-items: center;
    gap: var(--verve-space-md);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--verve-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 3;
    box-shadow: var(--verve-shadow-sm);
}

.step-content {
    flex-grow: 1;
    position: relative;
    z-index: 3;
}

.step-title {
    font-size: var(--verve-text-xl);
    font-weight: 700;
    color: var(--verve-text-primary);
    margin: 0 0 var(--verve-space-md) 0;
    font-family: 'Roboto', sans-serif;
    text-shadow: 4px 4px 8px rgba(255, 255, 255, 1), 
                 -3px -3px 6px rgba(255, 255, 255, 1),
                 3px -3px 6px rgba(255, 255, 255, 1),
                 -3px 3px 6px rgba(255, 255, 255, 1),
                 0 0 12px rgba(255, 255, 255, 1),
                 0 0 20px rgba(255, 255, 255, 0.9),
                 2px 2px 4px rgba(255, 255, 255, 1),
                 -2px -2px 4px rgba(255, 255, 255, 1);
}

.step-description {
    font-size: var(--verve-text-base);
    color: var(--verve-text-secondary);
    line-height: 1.6;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    text-shadow: 3px 3px 7px rgba(255, 255, 255, 1),
                 -2px -2px 5px rgba(255, 255, 255, 1),
                 2px -2px 5px rgba(255, 255, 255, 1),
                 -2px 2px 5px rgba(255, 255, 255, 1),
                 0 0 10px rgba(255, 255, 255, 1),
                 0 0 16px rgba(255, 255, 255, 0.9),
                 1px 1px 3px rgba(255, 255, 255, 1),
                 -1px -1px 3px rgba(255, 255, 255, 1);
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.step-card:nth-child(1) { transition-delay: 0.1s; }
.step-card:nth-child(2) { transition-delay: 0.2s; }
.step-card:nth-child(3) { transition-delay: 0.3s; }

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 1;
    border-radius: 20px;
}

.step-card:nth-child(1)::before {
    background-image: url('/static/avisos/9julio.jpg');
}

.step-card:nth-child(2)::before {
    background-image: url('/static/avisos/depto.jpg');
}

.step-card:nth-child(3)::before {
    background-image: url('/static/avisos/depto2.jpg');
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--verve-shadow-lg);
}

/* Stats Card */
.stats-card {
    background: var(--verve-bg-card);
    border-radius: var(--verve-radius-lg);
    padding: var(--verve-space-lg);
    box-shadow: var(--verve-shadow-md);
    display: flex;
    align-items: center;
    gap: var(--verve-space-md);
}

.stats-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--verve-radius-lg);
    background: var(--verve-bg-secondary);
}

.stats-content {
    flex: 1;
}

.stats-title {
    font-size: var(--verve-text-lg);
    font-weight: var(--verve-weight-semibold);
    color: var(--verve-text-primary);
    margin-bottom: var(--verve-space-xs);
}

.stats-value {
    font-size: var(--verve-text-2xl);
    font-weight: var(--verve-weight-bold);
    color: var(--verve-brand);
}

.stats-description {
    font-size: var(--verve-text-sm);
    color: var(--verve-text-secondary);
    margin-top: var(--verve-space-xs);
}

/* Search Form */
.search-form {
    background: var(--verve-bg-card);
    border-radius: var(--verve-radius-lg);
    padding: var(--verve-space-xl);
    box-shadow: var(--verve-shadow-md);
    margin-bottom: var(--verve-space-xl);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--verve-space-sm);
}

.form-label {
    font-size: var(--verve-text-sm);
    font-weight: var(--verve-weight-medium);
    color: var(--verve-text-primary);
}

.form-input {
    padding: var(--verve-space-sm) var(--verve-space-md);
    border: 1px solid var(--verve-text-light);
    border-radius: var(--verve-radius-base);
    font-size: var(--verve-text-sm);
    transition: var(--verve-transition-default);
}

.form-input:focus {
    border-color: var(--verve-brand);
    box-shadow: 0 0 0 2px rgba(45, 55, 72, 0.1);
    outline: none;
}

.form-select {
    padding: var(--verve-space-sm) var(--verve-space-md);
    border: 1px solid var(--verve-text-light);
    border-radius: var(--verve-radius-base);
    font-size: var(--verve-text-sm);
    background-color: var(--verve-bg-card);
    transition: var(--verve-transition-default);
}

.form-select:focus {
    border-color: var(--verve-brand);
    box-shadow: 0 0 0 2px rgba(45, 55, 72, 0.1);
    outline: none;
}

/* Search Results */
.search-results {
    background: var(--verve-bg-card);
    border-radius: var(--verve-radius-lg);
    box-shadow: var(--verve-shadow-md);
    overflow: hidden;
}

.results-header {
    padding: var(--verve-space-lg);
    border-bottom: 1px solid var(--verve-text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-title {
    font-size: var(--verve-text-lg);
    font-weight: var(--verve-weight-semibold);
    color: var(--verve-text-primary);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th {
    background: var(--verve-bg-secondary);
    padding: var(--verve-space-md);
    text-align: left;
    font-size: var(--verve-text-sm);
    font-weight: var(--verve-weight-medium);
    color: var(--verve-text-secondary);
}

.results-table td {
    padding: var(--verve-space-md);
    border-bottom: 1px solid var(--verve-text-light);
    font-size: var(--verve-text-sm);
    color: var(--verve-text-primary);
}

.results-table tr:hover {
    background: var(--verve-bg-secondary);
}

.action-buttons {
    display: flex;
    gap: var(--verve-space-sm);
}

.action-button {
    padding: var(--verve-space-xs) var(--verve-space-sm);
    border-radius: var(--verve-radius-base);
    font-size: var(--verve-text-sm);
    font-weight: var(--verve-weight-medium);
    text-decoration: none;
    transition: var(--verve-transition-default);
}

.action-button.edit {
    color: var(--verve-info);
    background: rgba(49, 130, 206, 0.1);
}

.action-button.delete {
    color: var(--verve-error);
    background: rgba(229, 62, 62, 0.1);
}

.action-button:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .results-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--verve-space-4xl);
    align-items: center;
}

.benefits-content {
    max-width: 500px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--verve-space-lg);
    margin-top: var(--verve-space-xl);
}

.benefit-item {
    display: flex;
    gap: var(--verve-space-md);
    align-items: flex-start;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.benefit-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.benefit-item:nth-child(1) { transition-delay: 0.1s; }
.benefit-item:nth-child(2) { transition-delay: 0.2s; }
.benefit-item:nth-child(3) { transition-delay: 0.3s; }

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--verve-accent-light);
    border-radius: var(--verve-radius);
    color: var(--verve-accent);
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: var(--verve-text-lg);
    font-weight: var(--verve-weight-semibold);
    color: var(--verve-text-primary);
    margin: 0 0 var(--verve-space-xs) 0;
}

.benefit-text p {
    font-size: var(--verve-text-base);
    color: var(--verve-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* CTA Section */
.cta-card {
    background-image: linear-gradient(rgba(45, 55, 72, 0.85), rgba(45, 55, 72, 0.85)), url('/static/avisos/fondo_inferior.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-radius: 24px;
    padding: var(--verve-space-4xl);
    text-align: center;
    color: white;
    margin: var(--verve-space-6xl) 0 var(--verve-space-4xl) 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 161, 105, 0.1) 0%, rgba(45, 55, 72, 0.2) 100%);
    z-index: 1;
}

.cta-card > * {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: var(--verve-text-3xl);
    font-weight: var(--verve-weight-bold);
    margin-bottom: var(--verve-space-lg);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-description {
    font-size: var(--verve-text-lg);
    margin-bottom: var(--verve-space-xl);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--verve-space-md);
}

.cta-actions .btn-primary {
    background-color: white;
    color: var(--verve-primary);
}

.cta-actions .btn-primary:hover {
    background-color: var(--verve-bg-secondary);
    transform: translateY(-2px);
}

.cta-note {
    display: flex;
    align-items: center;
    gap: var(--verve-space-xs);
    font-size: var(--verve-text-sm);
    opacity: 0.8;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, #1a202c, #2d3748);
    color: #fff;
    padding: 1rem 0;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
    height: 100px;
    display: flex;
    align-items: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--verve-space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: var(--verve-space-xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--verve-space-md);
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: none;
}

.footer-brand > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-title {
    font-size: var(--verve-text-xl);
    font-weight: var(--verve-weight-bold);
    color: #fff;
    margin: 0;
}

.footer-tagline {
    font-size: var(--verve-text-sm);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 200px;
}

.footer-links {
    display: flex;
    gap: var(--verve-space-xl);
    align-items: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column h4 {
    font-size: var(--verve-text-sm);
    font-weight: var(--verve-weight-bold);
    color: #fff;
    margin: 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
}

.footer-column li {
    margin: 0;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: var(--verve-text-sm);
    transition: var(--verve-transition-default);
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    gap: var(--verve-space-lg);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--verve-text-xs);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--verve-transition-default);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-column ul {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--verve-space-xs);
    padding: var(--verve-space-sm) var(--verve-space-md);
    border-radius: var(--verve-radius-full);
    font-size: var(--verve-text-sm);
    font-weight: var(--verve-weight-medium);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.badge-primary {
    background-color: var(--verve-primary-light);
    color: var(--verve-primary);
}

.badge-success {
    background-color: var(--verve-success-light);
    color: var(--verve-success);
}

/* Icon Sizes */
.icon-xs {
    width: 12px;
    height: 12px;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-md {
    width: 24px;
    height: 24px;
}

/* Responsive Design for Landing */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 var(--verve-space-md);
    }
    
    .nav-actions {
        gap: var(--verve-space-sm);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--verve-space-xl);
        text-align: center;
    }
    
    .hero-title {
        font-size: var(--verve-text-3xl);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--verve-space-xl);
        text-align: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--verve-space-xl);
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--verve-space-xl);
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--verve-space-lg);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--verve-space-md);
    }
    
    .section {
        padding: var(--verve-space-2xl) 0;
    }
    
    .hero-section {
        padding: var(--verve-space-2xl) 0 var(--verve-space-3xl) 0;
    }
    
    .hero-title {
        font-size: var(--verve-text-2xl);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .step-card {
        padding: var(--verve-space-lg);
    }
    
    .cta-card {
        padding: var(--verve-space-2xl);
    }
    
    .cta-title {
        font-size: var(--verve-text-2xl);
    }
    
    .stats-card {
        grid-template-columns: 1fr;
        gap: var(--verve-space-md);
    }
}

.emoji {
    color: #2F855A;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login Page Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    padding: var(--verve-space-lg) 0;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--verve-space-xl);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: var(--verve-space-lg);
}

.login-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.login-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin: 0 0 2rem 0;
    text-align: center;
}

.login-form {
    margin-bottom: var(--verve-space-md);
}

.form-group {
    margin-bottom: var(--verve-space-lg);
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #1a202c;
    background-color: white;
    transition: all 0.2s ease;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    border-color: #38a169;
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.1);
    outline: none;
}

.login-form input[type="text"]::placeholder,
.login-form input[type="password"]::placeholder {
    color: #a0aec0;
}

.form-errors {
    margin-bottom: var(--verve-space-lg);
}

.error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.login-submit {
    width: 100%;
    justify-content: center;
    margin-bottom: var(--verve-space-md);
}

.login-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.login-footer p {
    color: #4a5568;
    font-size: 1rem;
}

.login-link {
    color: #38a169;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.login-link:hover {
    color: #2f855a;
    text-decoration: underline;
}

/* Responsive Login */
@media (max-width: 480px) {
    .login-card {
        margin: 0 var(--verve-space-md);
        padding: var(--verve-space-xl);
    }
    
    .login-title {
        font-size: var(--verve-text-xl);
    }
} 
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-social {
        text-align: center;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

/* COMPACT LOGIN OVERRIDE - Force compact layout */
.login-container {
    min-height: 15vh !important;
    padding: 0.5rem 0 !important;
}

.login-card {
    padding: 1.5rem !important;
    margin: 0.5rem !important;
}

.login-header {
    margin-bottom: 1rem !important;
}

.form-group {
    margin-bottom: 1rem !important;
}

.login-footer {
    padding-top: 0.75rem !important;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    min-height: 48px !important;
    padding: 0.75rem 1rem !important;
}

.login-submit {
    margin-bottom: 0.75rem !important;
}

/* Dashboard Header */
.dashboard-header {
    padding: 1.5rem;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.dashboard-meta {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Navigation Menu */
.dashboard-nav {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
}

.nav-item:hover, .nav-item.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.nav-item.active {
    color: var(--color-primary);
    font-weight: 500;
}

/* Search Section */
.search-section {
    margin: 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

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

.search-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
}

.search-filters {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-background);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 0.875rem;
}

/* Results Table */
.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th {
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
}

.results-table td {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.results-table tr:hover {
    background: var(--color-background);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-text-secondary);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.action-button:hover {
    background: var(--color-background);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-title {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-bar,
    .dashboard-header,
    .search-section {
        margin: 0.75rem;
        padding: 1rem;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .results-table {
        display: block;
        overflow-x: auto;
    }
}

/* Base Styles */
.dashboard-container {
    box-sizing: border-box;
    margin: 0;
    padding: 20px 40px;
    background-color: #F5F7F8;
    font-family: 'Inter', sans-serif;
    color: #333;
    min-height: 100vh;
    max-width: 100%;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 20px;
    width: 100%;
}

.logo {
    height: 40px;
}

.nav-logo {
    height: 100%;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-link.active {
    color: #1C3AA9;
    border-bottom-color: #1C3AA9;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #4b5563;
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-ghost {
    padding: 8px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    background: white;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-ghost:hover {
    background: #F5F7F8;
}

/* Toolbar Styles */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    width: 100%;
}

.current-date {
    font-size: 0.9rem;
    color: #666;
}

.search-filter {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px;
    border: none;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #DDD;
    border-radius: 6px;
    width: 300px;
    font-size: 0.9rem;
}

/* Stats Overview */
.stats-overview {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: #1C3AA9;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #1C3AA9;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #1834a0;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.search-card, .table-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    width: 100%;
}

.card-title {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 16px;
}

/* Filter Grid */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #F5F7F8;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 0.875rem;
}

/* Results Table */
.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th {
    text-align: left;
    padding: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    border-bottom: 1px solid #E0E0E0;
    white-space: nowrap;
}

.results-table td {
    padding: 12px;
    font-size: 0.875rem;
    border-bottom: 1px solid #E0E0E0;
    white-space: nowrap;
}

.results-table .id-cell {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.875rem;
    color: #1C3AA9;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.results-table tr:hover {
    background: #F5F7F8;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 6px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.2rem;
    text-decoration: none;
}

.action-button:hover {
    background: #F5F7F8;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dashboard-container {
        padding: 20px;
    }

    .stats-overview {
        grid-template-columns: 1fr 1fr;
    }
    
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 16px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .results-table {
        display: block;
        overflow-x: auto;
    }
}

/* Navigation Buttons */
.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-button:hover {
    color: #1e293b;
    background: #f1f5f9;
}

.nav-button i {
    color: #94a3b8;
    transition: color 0.2s ease;
}

.nav-button:hover i {
    color: #1e293b;
}

.nav-button.active {
    background: #f1f5f9;
    color: #1e293b;
}

.nav-button.active i {
    color: #ef4444;
}

/* Admin badge style */
.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    color: #64748b;
    font-weight: 500;
    font-size: 0.95rem;
}

.admin-badge img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
}

/* User section */
.user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
}

.user-email {
    color: #64748b;
    font-size: 0.85rem;
}
