/* ====================================================================== */
/* HotelReview - Styles communs                                            */
/* ====================================================================== */

body { font-family: 'Space Grotesk', sans-serif; }

.brand-gradient {
    background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
}
.brand-text-gradient {
    background: linear-gradient(135deg, #f97316, #ec4899);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ----- Cards ----- */
.portal-card {
    transition: all 0.3s ease;
    cursor: pointer;
}
.portal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.portal-card:hover .card-icon { transform: scale(1.08); }
.card-icon { transition: transform 0.3s ease; }

/* ----- Badges ----- */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 600; line-height: 1.4;
}
.badge.green   { background: #dcfce7; color: #15803d; }
.badge.amber   { background: #fef3c7; color: #b45309; }
.badge.red     { background: #fee2e2; color: #b91c1c; }
.badge.blue    { background: #dbeafe; color: #1d4ed8; }
.badge.gray    { background: #f3f4f6; color: #4b5563; }
.badge.purple  { background: #ede9fe; color: #6d28d9; }

/* ----- Sentiment dots ----- */
.dot { width: 9px; height: 9px; border-radius: 999px; display: inline-block; }
.dot.positive { background: #10b981; }
.dot.neutral  { background: #9ca3af; }
.dot.negative { background: #f59e0b; }
.dot.critical { background: #ef4444; }

/* ----- Inbox layout ----- */
.review-row {
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}
.review-row:hover { background: #fafafa; }
.review-row.active {
    background: #fff7ed;
    border-left-color: #f97316;
}
.review-row.unread { background: #fffbeb; }
.review-row.unread:hover { background: #fef3c7; }

/* ----- Stars ----- */
.stars { color: #f59e0b; letter-spacing: 1px; font-size: 13px; }
.stars.empty { color: #e5e7eb; }

/* ----- Animations ----- */
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fade-in .25s ease both; }

@keyframes pulse-ai {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.ai-shimmer {
    background: linear-gradient(90deg, #fef3c7, #fce7f3, #ede9fe, #fef3c7);
    background-size: 300% 300%;
    animation: pulse-ai 3s ease infinite;
}

/* ----- Toasts ----- */
#toastRoot {
    position: fixed; top: 20px; right: 20px; z-index: 9999;
    display: flex; flex-direction: column; gap: 8px;
}
.toast {
    min-width: 260px; padding: 12px 16px; border-radius: 12px;
    background: white; box-shadow: 0 10px 30px rgba(0,0,0,.12);
    font-size: 14px; display: flex; align-items: center; gap: 10px;
    animation: fade-in .2s ease both;
    border-left: 4px solid #f97316;
}
.toast.success { border-color: #10b981; }
.toast.error   { border-color: #ef4444; }
.toast.info    { border-color: #3b82f6; }

/* ----- Scroll fine ----- */
.thin-scroll::-webkit-scrollbar { width: 6px; }
.thin-scroll::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
.thin-scroll::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* ----- Generic header offset for mobile ----- */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
}
