/* ============================================
   Glossary Tooltips — Master Style Guide
   Shared across all verse, sutra, and term pages
   ============================================ */

.gt-link {
    color: var(--accent, #c8a87e);
    cursor: pointer;
    border-bottom: 1px dotted var(--accent, #c8a87e);
    transition: opacity 0.2s;
}
.gt-link:hover {
    opacity: 0.8;
}
.gt-tooltip {
    position: absolute;
    z-index: 10000;
    background: #1a1a2e;
    border: 1px solid rgba(200,168,126,0.3);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    max-width: 340px;
    font-family: 'Inter', sans-serif;
    animation: gtFadeIn 0.2s ease;
}
@keyframes gtFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}
.gt-head {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent, #c8a87e);
    margin-bottom: 8px;
}
.gt-dev {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 0.95rem;
    opacity: 0.7;
    margin-left: 6px;
}
.gt-body {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 8px;
}
.gt-foot {
    font-size: 0.75rem;
    color: var(--accent, #c8a87e);
    opacity: 0.7;
    text-align: right;
}

/* ============================================
   Quick Terms — Public Signup Prompt
   Shown when unauthenticated users click terms
   ============================================ */
.gt-signup-prompt {
    position: absolute;
    z-index: 10001;
    background: #ffffff;
    border: 1px solid #e0dbd3;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    max-width: 300px;
    font-family: 'Inter', -apple-system, sans-serif;
    text-align: center;
    animation: gtFadeIn 0.2s ease;
}
.gt-signup-icon {
    margin-bottom: 8px;
}
.gt-signup-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #2c2a26;
    margin-bottom: 6px;
}
.gt-signup-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #6b6560;
    margin-bottom: 14px;
}
.gt-signup-btn {
    display: inline-block;
    background: #b8860b;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s;
}
.gt-signup-btn:hover {
    background: #d4a843;
}
.gt-signup-login {
    font-size: 0.75rem;
    color: #958e85;
    margin-top: 10px;
}
.gt-signup-login a {
    color: #b8860b;
    text-decoration: none;
}
.gt-signup-login a:hover {
    text-decoration: underline;
}

/* ============================================
   Ask AI — helper hint beneath buttons
   ============================================ */
.ask-ai-hint {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    font-style: italic;
    color: var(--color-text-muted, #9b9590);
    opacity: 0.7;
    letter-spacing: 0.01em;
}
