/* Base theme variables */
:root {
    /* Tema claro (no usado por defecto) */
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --primary: 252 59% 48%;
    --primary-foreground: 0 0% 98%;
    --secondary: 252 39% 88%;
    --secondary-foreground: 240 5.9% 10%;
    --muted: 240 4.8% 95.9%;
    --muted-foreground: 240 3.8% 46.1%;
    --accent: 191 91% 36%;
    --accent-foreground: 240 5.9% 10%;
    --highlight: 191 91% 56%;
    --highlight-foreground: 240 5.9% 10%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 5.9% 90%;
    --input: 240 5.9% 90%;
    --ring: 142.1 76.2% 36.3%;
    --radius: 0.75rem;
}

.dark {
    /* Tema oscuro (activado por defecto) */
    --background: 240 10% 4%;
    --foreground: 0 0% 95%;
    --card: 240 10% 7%;
    --card-foreground: 0 0% 95%;
    --primary: 252 59% 54%;
    --primary-foreground: 0 0% 98%;
    --secondary: 240 4% 16%;
    --secondary-foreground: 0 0% 98%;
    --muted: 240 3.7% 15.9%;
    --muted-foreground: 240 5% 64.9%;
    --accent: 191 91% 36%;
    --accent-foreground: 0 0% 98%;
    --highlight: 261 73% 60%;
    --highlight-foreground: 0 0% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 3.7% 15.9%;
    --input: 240 3.7% 15.9%;
    --ring: 142.1 76.2% 36.3%;
}

/* Base styling */
* {
    border-color: hsl(var(--border));
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    background-image: 
      radial-gradient(circle at 25% 25%, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%), 
      radial-gradient(circle at 75% 75%, rgba(var(--accent-rgb), 0.05) 0%, transparent 50%);
}

:root {
    --primary-rgb: 130, 94, 237;
    --accent-rgb: 0, 184, 222;
    --highlight-rgb: 149, 76, 233;
}

/* Component classes */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border-width: 0;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.badge:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
    --tw-ring-offset-width: 2px;
}

.badge-primary {
    background-color: hsl(var(--primary) / 0.2);
    color: hsl(var(--primary-foreground));
    border: 1px solid hsl(var(--primary) / 0.2);
}

.badge-primary:hover {
    background-color: hsl(var(--primary) / 0.3);
}

.badge-accent {
    background-color: hsl(var(--accent) / 0.2);
    color: hsl(var(--accent-foreground));
    border: 1px solid hsl(var(--accent) / 0.2);
}

.badge-accent:hover {
    background-color: hsl(var(--accent) / 0.3);
}

.badge-highlight {
    background-color: hsl(var(--highlight) / 0.2);
    color: hsl(var(--highlight-foreground));
    border: 1px solid hsl(var(--highlight) / 0.2);
}

.badge-highlight:hover {
    background-color: hsl(var(--highlight) / 0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.btn:focus-visible {
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
    --tw-ring-offset-width: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.5rem 1rem;
}

.btn-primary:hover {
    background-color: hsl(var(--primary) / 0.9);
}

.btn-accent {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
    padding: 0.5rem 1rem;
}

.btn-accent:hover {
    background-color: hsl(var(--accent) / 0.9);
}

.btn-highlight {
    background-color: hsl(var(--highlight));
    color: hsl(var(--highlight-foreground));
    padding: 0.5rem 1rem;
}

.btn-highlight:hover {
    background-color: hsl(var(--highlight) / 0.9);
}

.card {
    border-radius: 0.5rem;
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.glass-card {
    background: rgba(23, 23, 28, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.gradient-text {
    background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, hsl(var(--primary)), hsl(var(--accent)), hsl(var(--highlight)));
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
}

/* Cookie consent styles */
.cc-window {
    padding: 1em 1.8em;
    font-size: 16px;
    line-height: 1.5;
}

.cc-message {
    margin-right: 1em;
}

.cc-btn {
    padding: 0.6em 1.2em;
    border-radius: 4px;
    font-weight: 600;
}

/* Ocultar completamente el botón minimizado */
.cc-revoke {
    display: none !important;
}

/* Footer admin links styling */
.footer-admin-links {
    transition: opacity 0.5s ease;
    opacity: 0.2;
    font-size: 0.7rem;
    margin-top: 0.5rem;
}

.footer-admin-links:hover {
    opacity: 0.9;
    transition-delay: 0.3s;
}

.footer-admin-links a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-admin-links a:hover {
    color: hsl(var(--foreground));
    text-decoration: underline;
} 