/* 
 * Lila Orb Widget Styles
 * External CSS file to avoid Django template caching issues
 */

/* ============================================================
   MODE 0: THE ORB - Breathing presence when idle
   ============================================================ */

.lila-orb-trigger {
    position: fixed !important;
    right: 24px !important;
    bottom: 100px !important;
    width: var(--lila-mode-orb);
    height: var(--lila-mode-orb);
    border-radius: 50%;
    background: var(--lila-gradient);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.4);
    cursor: pointer;
    z-index: var(--lila-z-orb);
    transition: all var(--lila-transition-slow) var(--lila-transition-ease);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: orb-breathe 4s ease-in-out infinite;
}

.lila-orb-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 48px rgba(168, 85, 247, 0.6);
}

.lila-orb-trigger.hidden {
    display: none;
}

/* Breathing animation */
@keyframes orb-breathe {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(168, 85, 247, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 12px 48px rgba(168, 85, 247, 0.7);
        transform: scale(1.05);
    }
}

/* The Sphere inside Orb */
.lila-sphere {
    width: 42px;
    height: 42px;
    position: relative;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lila-core {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.4);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    animation: core-shimmer 2s ease-in-out infinite alternate;
}

@keyframes core-shimmer {
    0% {
        opacity: 0.5;
        transform: scale(0.9);
    }

    100% {
        opacity: 0.9;
        transform: scale(1);
    }
}