/* KayaGO — Theme utilities */

.glass-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-active {
    background-color: rgba(139, 195, 74, 0.2);
    border-left: 4px solid #8BC34A;
}

.auth-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
}

.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Lucide icon sizing in nav */
[data-lucide] {
    stroke-width: 2;
}

.nav-item-active [data-lucide] {
    stroke-width: 2.25;
}

/* Native <select> — lock height to match inputs/buttons (macOS/WebKit) */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 1rem;
    padding-right: 2.25rem !important;
}

/* Rich-text body (announcements + articles). Restores list markers after Tailwind preflight. */
.announcement-body p,
.article-body p {
    margin: 0 0 0.75rem;
}
.announcement-body p:last-child,
.article-body p:last-child {
    margin-bottom: 0;
}
.announcement-body ul,
.announcement-body ol,
.article-body ul,
.article-body ol {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}
.announcement-body ul,
.article-body ul {
    list-style-type: disc;
    list-style-position: outside;
}
.announcement-body ol,
.article-body ol {
    list-style-type: decimal;
    list-style-position: outside;
}
.announcement-body li,
.article-body li {
    display: list-item;
    margin: 0.25rem 0;
}
.announcement-body li > p,
.article-body li > p {
    margin: 0;
}
.announcement-body h2,
.article-body h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A5C3A;
    margin: 1.25em 0 0.5em;
}
.announcement-body h3,
.article-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A5C3A;
    margin: 1em 0 0.4em;
}
.announcement-body a,
.article-body a {
    color: #2E8B57;
    text-decoration: underline;
}
.announcement-body blockquote,
.article-body blockquote {
    border-left: 3px solid #8BC34A;
    padding-left: 0.75rem;
    margin: 0.75rem 0;
    color: #64748b;
}
.announcement-body strong,
.announcement-body b,
.article-body strong,
.article-body b {
    font-weight: 600;
}
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}
