/* ─── Guide Tooltip Card ─────────────────────────────────────────── */

.guide-tooltip-card {
    position: relative;
    margin: 12px 0;
    padding: 16px 40px 16px 16px;
    background: #fefce8;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    animation: guideCardFadeIn 0.3s ease;
}

.guide-tooltip-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-tooltip-card li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #44403c;
}

.guide-tooltip-card li:last-child {
    margin-bottom: 0;
}

.guide-tooltip-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
}

.guide-tooltip-card li b {
    font-weight: 700;
    color: #292524;
}

/* ── Close button ── */
.guide-tooltip-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    color: #78716c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.guide-tooltip-close:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #44403c;
}

/* ── Dismiss confirmation ── */
.guide-tooltip-confirm {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5ddd0;
}

.guide-tooltip-confirm p {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 600;
    color: #44403c;
}

.guide-tooltip-confirm-btns {
    display: flex;
    gap: 8px;
}

.guide-tooltip-btn-yes,
.guide-tooltip-btn-no {
    padding: 6px 14px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.guide-tooltip-btn-yes {
    background: #ef4444;
    color: #fff;
}

.guide-tooltip-btn-yes:hover {
    background: #dc2626;
}

.guide-tooltip-btn-no {
    background: #e7e5e4;
    color: #44403c;
}

.guide-tooltip-btn-no:hover {
    background: #d6d3d1;
}

/* ── Animation ── */
@keyframes guideCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .guide-tooltip-card {
        margin: 8px 0;
        padding: 12px 36px 12px 12px;
    }

    .guide-tooltip-card li {
        font-size: 12.5px;
        padding-left: 16px;
        margin-bottom: 6px;
    }

    .guide-tooltip-card li::before {
        width: 6px;
        height: 6px;
        top: 7px;
    }
}

/* ── Dark mode ── */
.dark .guide-tooltip-card {
    background: #292524;
    border-color: #b45309;
}

.dark .guide-tooltip-card li {
    color: #d6d3d1;
}

.dark .guide-tooltip-card li b {
    color: #fafaf9;
}

.dark .guide-tooltip-card li::before {
    background: #d97706;
}

.dark .guide-tooltip-close {
    background: rgba(255, 255, 255, 0.1);
    color: #a8a29e;
}

.dark .guide-tooltip-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #d6d3d1;
}

.dark .guide-tooltip-confirm {
    border-top-color: #44403c;
}

.dark .guide-tooltip-confirm p {
    color: #d6d3d1;
}

.dark .guide-tooltip-btn-no {
    background: #44403c;
    color: #d6d3d1;
}

.dark .guide-tooltip-btn-no:hover {
    background: #57534e;
}
