/* Lily theme: reusable lily mark, empty/loading states, and watermark. */

/* ---- Lily mark (colors follow the theme) ---- */
.st-lm { display: inline-block; vertical-align: middle; flex: none; overflow: visible; }
.st-lm-pad { fill: none; stroke: #2e8b57; stroke-width: 5; }
.st-lm-ribs { stroke: #2e8b57; stroke-width: 3; stroke-linecap: round; opacity: .8; }
.st-lm-flower { fill: #ffe6ef; stroke: #df4759; stroke-width: 4; stroke-linejoin: round; }
body[data-theme="dark"] .st-lm-pad, body[data-theme="dark"] .st-lm-ribs { stroke: #5fcf92; }
.st-lm-mono .st-lm-pad, .st-lm-mono .st-lm-ribs, .st-lm-mono .st-lm-flower { stroke: currentColor; }
.st-lm-mono .st-lm-flower { fill: none; }
.st-lm-bloom { transform-box: fill-box; transform-origin: 50% 100%; }

@keyframes st-lm-bloom-in { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes st-lm-bloom-loop { 0%, 100% { transform: scale(.75); opacity: .65; } 50% { transform: scale(1); opacity: 1; } }
@keyframes st-lm-sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.st-lm-bloom-in .st-lm-bloom, .st-lm-bloom .st-lm-bloom { }
.st-lm-bloomloop .st-lm-bloom { animation: st-lm-bloom-loop 2.2s ease-in-out infinite; }
.st-lm-bloomonce .st-lm-bloom { animation: st-lm-bloom-in 1s ease-out both; }
.st-lm-sway { animation: st-lm-sway 6s ease-in-out infinite; transform-origin: 50% 60%; }

/* ---- Empty state / loader / tip ---- */
.st-lily-empty { display: flex; align-items: center; gap: 1rem; padding: .75rem .25rem; color: var(--rz-text-secondary-color); }
.st-lily-empty-compact { gap: .6rem; padding: .25rem 0; }
.st-lily-empty-title { color: var(--rz-text-color); font-weight: 600; }
.st-lily-empty-msg { font-size: .9rem; }
.st-lily-empty a { color: var(--rz-primary); }
.st-lily-loader { display: flex; align-items: center; gap: .75rem; justify-content: center; padding: 1.5rem; color: var(--rz-text-secondary-color); }
.st-lily-tip { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--rz-text-secondary-color); margin-top: .35rem; }
.st-lily-tip strong { color: var(--rz-text-color); font-weight: 600; }

/* all-clear state on the dashboard */
.st-attention-clear .st-attention-title { gap: .6rem; }
.st-attention-clear .st-lily-tip { display: flex; margin: .25rem 0 0 0; }

/* ---- Decorative lily pads (low opacity, on colored surfaces) ---- */
.welcome-banner { position: relative; overflow: hidden; }
.welcome-banner > * { position: relative; z-index: 1; }
.welcome-banner::before, .welcome-banner::after, .st-login-pads::before, .st-login-pads::after {
    content: ""; position: absolute; border-radius: 50%; border: 2px solid currentColor; opacity: .14; pointer-events: none;
}
.welcome-banner::before { width: 220px; height: 170px; right: -50px; top: -60px; transform: rotate(-12deg); }
.welcome-banner::after { width: 120px; height: 92px; right: 150px; bottom: -42px; transform: rotate(8deg); }
.st-login-pads { overflow: hidden; }
.st-login-pads::before { width: 340px; height: 260px; right: -110px; bottom: -80px; transform: rotate(-10deg); }
.st-login-pads::after { width: 170px; height: 130px; right: 120px; bottom: -50px; transform: rotate(12deg); }
.st-login-pads > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
    .st-lm-bloomloop .st-lm-bloom, .st-lm-bloomonce .st-lm-bloom, .st-lm-sway { animation: none; }
}
