:root {
            /* Colores principales - Inspirados en el mar y las mascotas */
            --primary: #0ea5e9;
            --primary-dark: #0284c7;
            --primary-light: #38bdf8;
            --secondary: #f97316;
            --secondary-dark: #ea580c;
            --secondary-light: #fb923c;
            
            /* Colores neutros modernos */
            --gray-50: #f8fafc;
            --gray-100: #f1f5f9;
            --gray-200: #e2e8f0;
            --gray-300: #cbd5e1;
            --gray-400: #94a3b8;
            --gray-500: #64748b;
            --gray-600: #475569;
            --gray-700: #334155;
            --gray-800: #1e293b;
            --gray-900: #0f172a;
            
            /* Estados */
            --success: #10b981;
            --success-light: #34d399;
            --warning: #f59e0b;
            --error: #ef4444;
            --info: var(--primary);
            
            /* Gradientes */
            --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            --gradient-soft: linear-gradient(135deg, #f0f9ff 0%, #fef3c7 100%);
            --gradient-ocean: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #8b5cf6 100%);
            
            /* Sombras modernas */
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
            --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
            
            /* Tipografía */
            --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
        }

        /* Reset moderno */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            height: 100%;
        }

        body {
            font-family: var(--font-sans);
            line-height: 1.6;
            color: var(--gray-800);
            background: var(--gradient-soft);
            min-height: 100vh;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* ============================================
           LAYOUT PRINCIPAL
           ============================================ */

        .app-container {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .main-content {
            flex: 1;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        @media (min-width: 640px) {
            .container { padding: 0 1.5rem; }
        }

        /* ============================================
           HEADER MODERNO
           ============================================ */

        .header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--gray-200);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: var(--shadow-sm);
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 4rem;
            gap: 2rem;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .logo:hover {
            transform: translateY(-2px);
        }

        .logo-icon {
            width: 45px;
            height: 45px;
            background: var(--gradient-ocean);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            transform: rotate(-3deg);
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
            position: relative;
            overflow: hidden;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        }
        
        .logo-icon::after {
            content: '';
            position: absolute;
            top: 8px;
            right: 8px;
            width: 8px;
            height: 8px;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            animation: twinkle 2s ease-in-out infinite;
        }

        .logo:hover .logo-icon {
            transform: rotate(0deg) scale(1.1);
        }

        .logo-text h1 {
            font-size: 1.5rem;
            font-weight: 800;
            background: var(--gradient-ocean);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
        }

        .logo-text p {
            font-size: 0.75rem;
            color: var(--gray-500);
            font-weight: 500;
        }
        
        
        /* Estilos específicos para logo en páginas de auth */
        .auth-form .logo {
            justify-content: center;
            margin-bottom: 2rem;
        }
        
        .auth-form .logo-icon {
            width: 50px;
            height: 50px;
            background: var(--gradient-ocean);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            transform: rotate(-3deg);
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
            position: relative;
            overflow: hidden;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        }
        
        .auth-form .logo-icon::after {
            content: '';
            position: absolute;
            top: 8px;
            right: 8px;
            width: 8px;
            height: 8px;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            animation: twinkle 2s ease-in-out infinite;
        }
        
        .auth-form .logo:hover .logo-icon {
            transform: rotate(0deg) scale(1.1);
        }
        
        .auth-form .logo-text {
            margin-left: 1rem;
        }
        
        .auth-form .logo-title {
            font-size: 1.8rem;
            font-weight: 800;
            background: var(--gradient-ocean);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
        }
        
        .auth-form .logo-subtitle {
            font-size: 0.9rem;
            color: var(--gray-500);
            font-weight: 500;
        }
        
        /* Corregir altura del contenedor de auth */
        .paw-pattern {
            min-height: auto;
            padding: 1rem 0 2rem 0;
        }
        
        .auth-container {
            min-height: auto;
        }

        /* ============================================
           NAVEGACIÓN
           ============================================ */

        .nav {
            display: flex;
            gap: 2rem;
        }

        .nav-link {
            position: relative;
            color: var(--gray-600);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.875rem;
            padding: 0.5rem 0;
            transition: color 0.2s ease;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--primary);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--gradient-primary);
            border-radius: 1px;
            transform: scaleX(0);
            transition: transform 0.2s ease;
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            transform: scaleX(1);
        }

        /* ============================================
           HERO SECTION
           ============================================ */

        .hero {
            background: var(--gradient-ocean);
            min-height: 70vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60 ' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 30c0-6.627-5.373-12-12-12s-12 5.373-12 12 5.373 12 12 12 12-5.373 12-12zm-2 0c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10 10 4.477 10 10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
            opacity: 0.5;
            animation: float 20s ease-in-out infinite;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
        }

        .hero-icon {
            width: 100px;
            height: 100px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            margin: 0 auto 2rem;
            animation: bounce 2s ease-in-out infinite;
            box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
        }
        
        .hero-icon::after {
            content: '';
            position: absolute;
            top: 12px;
            right: 12px;
            width: 12px;
            height: 12px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            animation: twinkle 2s ease-in-out infinite;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 900;
            margin-bottom: 1rem;
            line-height: 1.1;
        }

        .hero p {
            font-size: 1.25rem;
            opacity: 0.9;
            margin-bottom: 0.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero .subtitle {
            font-size: 1rem;
            opacity: 0.8;
            margin-bottom: 3rem;
        }

        /* ============================================
           BOTONES MODERNOS
           ============================================ */

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            font-weight: 600;
            font-size: 0.875rem;
            padding: 0.75rem 2rem;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: white;
            box-shadow: var(--shadow-md);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-1px);
        }

        .btn-ghost {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .btn-ghost:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-1px);
        }

        /* ============================================
           CARDS MODERNAS
           ============================================ */

        .card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 2rem;
            border: 1px solid var(--gray-200);
            box-shadow: var(--shadow-md);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
        }

        .card:hover::before {
            transform: scaleX(1);
        }

        .feature-card {
            text-align: center;
            height: 100%;
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin: 0 auto 1.5rem;
            transform: rotate(-3deg);
            transition: transform 0.3s ease;
        }

        .card:hover .feature-icon {
            transform: rotate(0deg) scale(1.1);
        }

        /* ============================================
           SCANNER INTERFACE
           ============================================ */

        .scanner-container {
            max-width: 600px;
            margin: 0 auto;
            padding: 2rem;
        }

        .scanner-card {
            background: white;
            border-radius: 24px;
            padding: 3rem 2rem;
            box-shadow: var(--shadow-xl);
            border: 2px solid var(--primary);
            position: relative;
            overflow: hidden;
        }

        .scanner-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: var(--gradient-primary);
        }

        .scanner-input-group {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .scanner-input {
            flex: 1;
            padding: 1rem 1.5rem;
            font-size: 1.125rem;
            font-family: var(--font-mono);
            font-weight: 600;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 2px;
            border: 2px solid var(--gray-200);
            border-radius: 16px;
            background: var(--gray-50);
            transition: all 0.3s ease;
        }

        .scanner-input:focus {
            outline: none;
            border-color: var(--primary);
            background: white;
            box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
        }

        .scanner-btn {
            padding: 1rem 2rem;
            font-size: 1.125rem;
            font-weight: 700;
            white-space: nowrap;
        }

        /* ============================================
           RESULT STATES
           ============================================ */

        .result-card {
            border-radius: 24px;
            padding: 2rem;
            text-align: center;
            margin-top: 2rem;
            animation: slideUp 0.5s ease;
        }

        .result-loading {
            background: linear-gradient(135deg, #fbbf24, #f59e0b);
            color: white;
        }

        .result-error {
            background: linear-gradient(135deg, #f87171, #ef4444);
            color: white;
        }

        .result-success {
            background: linear-gradient(135deg, #34d399, #10b981);
            color: white;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
            margin: 0 auto 1rem;
        }

        /* ============================================
           PET PROFILE CARD
           ============================================ */

        .pet-profile {
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: var(--shadow-xl);
            max-width: 600px;
            margin: 2rem auto;
            animation: slideUp 0.5s ease;
        }

        .pet-header {
            background: var(--gradient-primary);
            color: white;
            padding: 2rem;
            text-align: center;
            position: relative;
        }

        .pet-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            margin: 0 auto 1rem;
            border: 4px solid rgba(255, 255, 255, 0.3);
        }

        .pet-name {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            color: white;
        }

        .pet-species {
            opacity: 0.9;
            font-size: 1.125rem;
        }

        .pet-details {
            padding: 2rem;
        }

        .pet-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .pet-info-item {
            background: var(--gray-50);
            padding: 1rem;
            border-radius: 12px;
            border-left: 4px solid var(--primary);
        }

        .pet-info-label {
            font-size: 0.875rem;
            color: var(--gray-500);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.25rem;
        }

        .pet-info-value {
            font-size: 1rem;
            font-weight: 600;
            color: var(--gray-800);
        }

        .owner-contact {
            background: var(--gradient-soft);
            border-radius: 16px;
            padding: 1.5rem;
            border: 2px solid var(--primary-light);
        }

        .contact-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary-dark);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .contact-actions {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 1.5rem;
        }

        /* ============================================
           GRID SYSTEM
           ============================================ */

        .grid {
            display: grid;
            gap: 2rem;
        }

        .grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
        .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
        .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

        @media (max-width: 768px) {
            .grid-cols-2,
            .grid-cols-3 {
                grid-template-columns: 1fr;
            }
            
            .scanner-input-group {
                flex-direction: column;
            }
            
            .nav {
                display: none;
            }
        }

        /* ============================================
           UTILITIES
           ============================================ */

        .text-center { text-align: center; }
        .mb-4 { margin-bottom: 1rem; }
        .mb-6 { margin-bottom: 1.5rem; }
        .mb-8 { margin-bottom: 2rem; }
        .py-8 { padding: 2rem 0; }
        .py-12 { padding: 3rem 0; }
        .py-16 { padding: 4rem 0; }

        .hidden { display: none !important; }
        .flex { display: flex; }
        .items-center { align-items: center; }
        .justify-center { justify-content: center; }
        .gap-4 { gap: 1rem; }
        .gap-6 { gap: 1.5rem; }

        /* ============================================
           ANIMATIONS
           ============================================ */

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(2deg); }
        }

        @keyframes bounce {
            0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
            40%, 43% { transform: translateY(-20px); }
            70% { transform: translateY(-10px); }
            90% { transform: translateY(-4px); }
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* ============================================
           MOBILE OPTIMIZATIONS
           ============================================ */

        @media (max-width: 640px) {
            .container {
                padding: 0 1rem;
            }
            
            .hero {
                min-height: 60vh;
                padding: 2rem 0;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.125rem;
            }
            
            .card {
                padding: 1.5rem;
            }
            
            .scanner-card {
                padding: 2rem 1.5rem;
            }
            
            .pet-profile {
                margin: 1rem;
            }
        }

        /* ============================================
           ACCESSIBILITY & PERFORMANCE
           ============================================ */

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Focus styles for accessibility */
        *:focus {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
        }

        /* Improve text readability */
        .hero,
        .result-loading,
        .result-error,
        .result-success {
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }

        /* Loading skeleton for better UX */
        .skeleton {
            background: linear-gradient(90deg, var(--gray-200), var(--gray-100), var(--gray-200));
            background-size: 200px 100%;
            animation: loading 1.5s infinite;
        }

        @keyframes loading {
            0% { background-position: -200px 0; }
            100% { background-position: calc(200px + 100%) 0; }
        }
        
        @keyframes twinkle {
            0%, 100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.3;
                transform: scale(0.8);
            }
        }
        
        /* ============================================
           ESTILOS ADICIONALES PARA FUNCIONALIDAD
           ============================================ */
        
/* Botones adicionales */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
}

.btn-profile {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.btn-profile:hover {
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
}

/* Estilos para el menú de usuario */
.user-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.user-actions .btn-profile {
    margin-right: 0.5rem;
}
        
        .btn-danger {
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        .btn-danger:hover {
            background: linear-gradient(135deg, #dc2626, #b91c1c);
            transform: translateY(-1px);
            box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3);
        }
        
        .btn-danger:active {
            transform: translateY(0);
        }
        
        .btn-outline {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
            box-shadow: none;
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-1px);
            box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.3);
        }

        .btn-outline:active {
            transform: translateY(0);
        }
        
        /* Estilos para el grid de mascotas */
        .grid {
            display: grid;
            gap: 1.5rem;
        }
        
        .grid-cols-1 {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }
        
        .grid-cols-2 {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        
        .grid-cols-3 {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
        
        /* Estilos para el body de las cards */
        .card-body {
            padding: 1.5rem;
        }
        
        /* Utilidades de flexbox */
        .flex {
            display: flex;
        }
        
        .flex-1 {
            flex: 1 1 0%;
        }
        
        .items-start {
            align-items: flex-start;
        }
        
        .items-center {
            align-items: center;
        }
        
        .justify-between {
            justify-content: space-between;
        }
        
        .gap-2 {
            gap: 0.5rem;
        }
        
        .gap-3 {
            gap: 0.75rem;
        }
        
        /* Espaciado */
        .mb-4 {
            margin-bottom: 1rem;
        }
        
        .space-y-2 > * + * {
            margin-top: 0.5rem;
        }
        
        /* Utilidades de texto */
        .text-sm {
            font-size: 0.875rem;
            line-height: 1.25rem;
        }
        
        .text-xs {
            font-size: 0.75rem;
            line-height: 1rem;
        }
        
        .text-xl {
            font-size: 1.25rem;
            line-height: 1.75rem;
        }
        
        .text-4xl {
            font-size: 2.25rem;
            line-height: 2.5rem;
        }
        
        .text-6xl {
            font-size: 3.75rem;
            line-height: 1;
        }
        
        .font-medium {
            font-weight: 500;
        }
        
        .font-semibold {
            font-weight: 600;
        }
        
        .font-mono {
            font-family: var(--font-mono);
        }
        
        /* Colores de texto */
        .text-gray-600 {
            color: var(--gray-600);
        }
        
        .text-gray-700 {
            color: var(--gray-700);
        }
        
        .text-gray-800 {
            color: var(--gray-800);
        }
        
        .text-blue-800 {
            color: #1e40af;
        }
        
        .text-red-600 {
            color: #dc2626;
        }
        
        .text-green-800 {
            color: #166534;
        }
        
        /* Colores de fondo */
        .bg-blue-100 {
            background-color: #dbeafe;
        }
        
        .bg-gray-50 {
            background-color: var(--gray-50);
        }
        
        /* Utilidades de padding */
        .py-8 {
            padding-top: 2rem;
            padding-bottom: 2rem;
        }
        
        .py-12 {
            padding-top: 3rem;
            padding-bottom: 3rem;
        }
        
        .p-3 {
            padding: 0.75rem;
        }
        
        .px-2 {
            padding-left: 0.5rem;
            padding-right: 0.5rem;
        }
        
        .py-1 {
            padding-top: 0.25rem;
            padding-bottom: 0.25rem;
        }
        
        /* Utilidades de border radius */
        .rounded {
            border-radius: 0.25rem;
        }
        
        .rounded-lg {
            border-radius: 0.5rem;
        }
        
        /* Utilidades de display */
        .inline-block {
            display: inline-block;
        }
        
        /* Utilidades de overflow */
        .col-span-full {
            grid-column: 1 / -1;
        }
        
/* Responsive ajustes */
@media (min-width: 768px) {
    .md\\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ============================================
   ESTILOS PARA TARJETAS DE MASCOTAS
   ============================================ */

.pets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pet-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pet-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.pet-image-container {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f4ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pet-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pet-emoji-container,
.pet-emoji-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pet-emoji {
    font-size: 4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.pet-species-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pet-photo-indicator {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pet-content {
    padding: 1.5rem;
}

.pet-header {
    margin-bottom: 1rem;
}

.pet-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
}

.pet-registration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.pet-registration-icon {
    font-size: 1rem;
}

/* Estilos para selectores de rol */
.role-selector {
    appearance: none;
    background-image: none;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.role-selector:hover {
    transform: scale(1.05);
}

.role-selector:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Estilos específicos para cada rol en selectores */
.role-selector.bg-red-100 {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
}

.role-selector.bg-purple-100 {
    background-color: #f3e8ff !important;
    color: #7c3aed !important;
}

.role-selector.bg-blue-100 {
    background-color: #dbeafe !important;
    color: #1e40af !important;
}

.pet-details {
    margin-bottom: 1rem;
}

.pet-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.pet-detail-item:last-child {
    margin-bottom: 0;
}

.pet-detail-icon {
    font-size: 1rem;
    color: #9ca3af;
    width: 20px;
    text-align: center;
}

.pet-detail-text {
    font-size: 0.875rem;
    color: #4b5563;
    flex: 1;
}

.pet-code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #374151;
    margin-left: 0.25rem;
}

.pet-description {
    background: #f9fafb;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.pet-description-text {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.4;
}

.pet-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pet-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

.pet-actions .btn:last-child {
    flex: 0 0 auto;
    min-width: 44px;
}

/* Responsive para tarjetas de mascotas */
@media (max-width: 768px) {
    .pets-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pet-content {
        padding: 1rem;
    }
    
    .pet-actions {
        flex-direction: column;
    }
    
    .pet-actions .btn {
        flex: none;
    }
}