/*
 * Utility classes for the help-chat widget (includes/help-chat.php).
 *
 * The project's compiled Tailwind build (app.css) was generated before this
 * widget existed, so it does not contain the classes the widget uses. Like
 * shell.css, this file supplies exactly those classes with Tailwind-matching
 * values. It is emitted by the widget include itself so it works on every page
 * regardless of the shell.
 */

/* ── Positioning ─────────────────────────────────────────────────────── */
.bottom-4 { bottom: 1rem; }
.justify-start { justify-content: flex-start; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.overflow-hidden { overflow: hidden; }
.p-1\.5 { padding: 0.375rem; }
.relative { position: relative; }
.min-w-5 { min-width: 1.25rem; }
.h-5 { height: 1.25rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.items-center { align-items: center; }
.font-semibold { font-weight: 600; }

/* ── Sizing ──────────────────────────────────────────────────────────── */
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.w-80 { width: 20rem; }
.h-64 { height: 16rem; }
.h-7 { height: 1.75rem; }
.max-w-\[85\%\] { max-width: 85%; }
.max-w-\[calc\(100vw-2rem\)\] { max-width: calc(100vw - 2rem); }

/* ── Typography ──────────────────────────────────────────────────────── */
.leading-tight { line-height: 1.25; }
.text-blue-100 { color: #dbeafe; }

/* ── Forms ───────────────────────────────────────────────────────────── */
.disabled\:opacity-50:disabled { opacity: 0.5; }
.resize-none { resize: none; }

/* ── Effects / interactions ──────────────────────────────────────────── */
.hover\:scale-105:hover { transform: scale(1.05); }
.active\:scale-95:active { transform: scale(0.95); }
.shadow-blue-900\/40 { box-shadow: 0 10px 15px -3px rgb(30 58 138 / 0.4), 0 4px 6px -4px rgb(30 58 138 / 0.4); }
.bg-white\/20 { background-color: rgb(255 255 255 / 0.2); }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 200ms; }

/* ── Borders ─────────────────────────────────────────────────────────── */
.rounded-bl-sm { border-bottom-left-radius: 0.25rem; }
.rounded-br-sm { border-bottom-right-radius: 0.25rem; }

/* ── Admin inbox page (admin/help-chat.php) ──────────────────────────── */
.lg\:col-span-1 { grid-column: span 1 / span 1; }
.lg\:col-span-2 { grid-column: span 2 / span 2; }
.h-96 { height: 24rem; }
.max-h-\[70vh\] { max-height: 70vh; }
.dark\:hover\:bg-slate-700\/50:hover { background-color: rgb(51 65 85 / 0.5); }
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}