/* System Message Bubbles (Remaining Counts) */
.msg.ai.system-msg {
    background: #f8f8f8 !important;
    color: #888 !important;
    font-size: 0.82rem !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    margin: 10px auto !important;
    border: 1px dashed #d0d0d0 !important;
    width: fit-content !important;
    text-align: center !important;
    box-shadow: none !important;
    display: block !important;
    clear: both;
    font-weight: 500;
}

/* Ensure price badge pulses and looks premium */
.chat-price-badge {
    background: linear-gradient(135deg, #b89552 0%, #d4af37 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(184, 149, 82, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    animation: pulseBadge 3s infinite ease-in-out;
}

/* Disabled Tarot Card Look */
.tarot-card-item.disabled-card {
    opacity: 0.4;
    cursor: not-allowed !important;
    pointer-events: auto;
    /* Allow click to show alert but look disabled */
}

.tarot-card-item.disabled-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Tarot Guide Box Styles */
.tarot-guide-box {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #b89552;
    padding: 20px 25px;
    margin-bottom: 30px;
    text-align: left;
    border-radius: 4px 15px 15px 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.guide-title {
    color: #b89552;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-title::before {
    content: "✨";
}

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

.guide-list li {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.6;
}

.guide-list li strong {
    color: #222;
    margin-right: 8px;
    font-weight: 700;
}

.guide-footer {
    font-size: 0.85rem;
    color: #888;
    margin-top: 15px;
    font-style: italic;
    border-top: 1px dashed #ddd;
    padding-top: 10px;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(184, 149, 82, 0.4);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 6px 20px rgba(184, 149, 82, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(184, 149, 82, 0.4);
    }
}