@tailwind base;
@tailwind components;
@tailwind utilities;

/* Bolas de luz decorativas de fondo */
.background-blobs {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 30%, #fbbf24 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, #ea580c 0%, transparent 40%);
    filter: blur(80px);
    opacity: 0.4;
}

h1 { font-size: 2.2rem; margin-top: 1rem; }

:root {
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

/* El resplandor del sol de fondo */
.sun-glow {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.badge {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.solar-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

.solar-input:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.btn-primary {
    width: 100%;
    background: var(--accent);
    color: #451a03;
    padding: 16px;
    border-radius: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, filter 0.2s;
}

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

.input-group label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 500;
}
/*

/* --- Reglas del Sidebar Global --- */
#sidebar {
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
}

#sidebar.sidebar-open {
    transform: translateX(0);
}

/* Scrollbar para el sidebar */
#sidebar::-webkit-scrollbar {
    width: 6px;
}

#sidebar::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 3px;
}
