/* ─── Learn with AI offcanvas (source: front-end/app.css) ─────────────── */
/* Extracted verbatim from themes/omankind/partials/ai-offcanvas.blade.php
   <style> block. Loaded via @push('styles') by that partial. */
.ai-offcanvas {
  inset: 0;
  opacity: 0;
  position: fixed;
  transition: opacity .3s ease, visibility .3s ease;
  visibility: hidden;
  z-index: 9999;
}

.ai-offcanvas.is-open {
  opacity: 1;
  visibility: visible;
}

.ai-offcanvas-backdrop {
  backdrop-filter: blur(6px);
  background: rgba(8, 26, 58, .55);
  cursor: pointer;
  inset: 0;
  position: absolute;
}

.ai-offcanvas-panel {
  background: #fff;
  box-shadow: 24px 0 60px -20px rgba(8, 26, 58, .45);
  display: flex;
  flex-direction: column;
  height: 100%;
  left: 0;
  max-width: 400px;
  position: absolute;
  top: 0;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  width: 100%;
}

.ai-offcanvas.is-open .ai-offcanvas-panel {
  transform: translateX(0);
}

.ai-oc-header {
  align-items: flex-start;
  border-bottom: 1px solid #10254414;
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  justify-content: space-between;
  padding: 20px;
}

.ai-oc-close {
  align-items: center;
  background: #1025440d;
  border: none;
  border-radius: 50%;
  color: #102544;
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  height: 34px;
  justify-content: center;
  transition: background-color .2s;
  width: 34px;
}

.ai-oc-close:hover {
  background: #ff7a1a1f;
  color: #fd5c07;
}

.ai-oc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  padding: 20px;
}

.ai-oc-context {
  align-items: center;
  background: #1025440a;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
}

.ai-oc-label {
  color: #10254545;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.ai-oc-quick-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.ai-oc-quick-btn {
  align-items: center;
  background: #1025440a;
  border: none;
  border-radius: 12px;
  color: #102544;
  cursor: pointer;
  display: flex;
  font-size: 12px;
  font-weight: 600;
  gap: 8px;
  padding: 11px 12px;
  text-align: left;
  transition: background-color .2s;
}

.ai-oc-quick-btn:hover {
  background: #10254414;
}

.ai-oc-quick-btn i {
  color: #fd5c07;
  flex: 0 0 auto;
  font-size: 12px;
}

.ai-oc-message {
  background: #1025440a;
  border-radius: 14px;
  color: #102544cc;
  font-size: 13px;
  line-height: 1.75;
  padding: 14px 16px;
}

.ai-oc-followup {
  align-items: center;
  background: #1025440a;
  border: none;
  border-radius: 12px;
  color: #102544;
  cursor: pointer;
  display: flex;
  font-size: 12.5px;
  font-weight: 600;
  gap: 10px;
  padding: 12px 14px;
  text-align: left;
  transition: background-color .2s;
  width: 100%;
}

.ai-oc-followup:hover {
  background: #10254414;
}

.ai-oc-followup i {
  color: #10254566;
  flex: 0 0 auto;
  font-size: 12px;
}

.ai-oc-input-wrap {
  border-top: 1px solid #10254414;
  flex: 0 0 auto;
  padding: 16px 20px;
}

.ai-oc-input {
  align-items: center;
  border: 1px solid #1025441f;
  border-radius: 999px;
  display: flex;
  gap: 8px;
  padding: 6px 6px 6px 18px;
}

.ai-oc-input input {
  background: transparent;
  border: none;
  color: #102544;
  flex: 1;
  font-size: 13px;
  min-width: 0;
  outline: none;
}

.ai-oc-input input::placeholder {
  color: #10254466;
}

.ai-oc-input .icon-btn {
  background: transparent;
  color: #10254480;
  height: 30px;
  width: 30px;
}

.ai-oc-input .icon-btn,
.ai-oc-send {
  align-items: center;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  font-size: 13px;
  justify-content: center;
}

.ai-oc-input .icon-btn:disabled {
  cursor: default;
  opacity: .4;
}

#ai-oc-mic.is-recording {
  background: #fd5c0722;
  color: #fd5c07;
}

#ai-oc-mic.is-transcribing {
  opacity: .5;
  pointer-events: none;
}

.ai-oc-send:disabled {
  cursor: default;
  opacity: .6;
}

.ai-oc-send {
  background: #fd5c07;
  color: #fff;
  height: 34px;
  width: 34px;
}

.ai-oc-footnote {
  color: #10254552;
  font-size: 10.5px;
  margin-top: 10px;
  text-align: center;
}

/* ─── Task switching ──────────────────────────────────────────────────── */
.ai-oc-task-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* .hidden (from the site's static omankind.css) ties on specificity with
   the rule above and loses on source order since this block renders after
   <head> — the two-class selector here always wins regardless of order. */
.ai-oc-task-body.hidden {
  display: none;
}

.ai-oc-section-label {
  color: #10254545;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.ai-task-preview {
  background: #1025440a;
  border: 1px solid #10254414;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px;
}

.ai-task-preview-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-task-preview-item+.ai-task-preview-item {
  border-top: 1px solid #10254414;
  padding-top: 14px;
}

.ai-task-preview-badge {
  color: #10254566;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.ai-task-preview-title {
  color: #102544;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
}

.ai-task-preview-text {
  color: #102544b3;
  font-size: 12px;
  line-height: 1.65;
}

/* ─── Utilities referenced by the offcanvas markup (missing from bundle) ─── */
.text-\[\#102544\] {
  color: #102544;
}

.text-\[\#1025446B\] {
  color: #1025446b;
}

.bg-\[\#102544\] {
  background-color: #102544;
}

.bg-\[\#10254412\] {
  background-color: #10254412;
}

.flex-shrink-0 {
  flex-shrink: 0;
}
