/* 
  This package intentionally does NOT ship a Tailwind utilities bundle.
  The consuming app should generate utilities by scanning this package’s
  compiled JS output.
*/

@source "./src/**/*.{js,ts,jsx,tsx}";
@source "./dist/**/*.js";

@import "tw-animate-css";
@import "react-day-picker/style.css";
* {
  font-family:
    var(--font-inter),
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Roboto",
    "Oxygen",
    "Ubuntu",
    "Cantarell",
    "Fira Sans",
    "Droid Sans",
    "Helvetica Neue",
    sans-serif;
}

html,
body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  font-family:
    var(--font-inter),
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Roboto",
    "Oxygen",
    "Ubuntu",
    "Cantarell",
    "Fira Sans",
    "Droid Sans",
    "Helvetica Neue",
    sans-serif;
}

@theme {
  --font-inter: "Inter";
  --color-dark: #111111;
  --color-gray-1: #444444;
  --color-gray-2: #767676;
  --color-gray-3: #e4e2e2;
  --color-gray-4: #f2f2f2;
  --color-gray-5: #f5f5f5;
  --color-component-blue: #209cfc;
  --color-dark-lighter: #333333;
  --color-dark-lightest: #444444;
  --color-dark-darker: #111111;
  --color-dark-darkest: #222222;
  --color-theme-secondary: #9650fb;
  --color-theme-secondary-light: #f6eeff;
  --color-neutral-350: #b4b4b4;
  --text-2xs: 0.7rem;
  --text-3xs: 0.6rem;
  --animate-sparkle: "sparkle 1.5s ease-in-out infinite";
  --animate-slideUp: "slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1)";
  --animate-fadeBottom: "fadeBottom 0.3s cubic-bezier(0.4, 0, 0.2, 1)";
  --animate-fadeIn: "fadeIn 0.5s ease-in-out";
  --animate-fadeLeft: "fadeLeft 0.8s ease-in-out";
  --animate-fadeRight: "fadeRight 0.8s ease-in-out";
  --animate-bounceDots: "bounceDots .6s infinite alternate";
  /* 
  Breakpoints - tailwind defaults 
  --breakpoint-sm: 640px;   
  --breakpoint-md: 768px; 
  --breakpoint-lg: 1024px; 
  --breakpoint-xl: 1280px; 
  --breakpoint-2xl: 1536px;
  */ 

  @keyframes sparkle {
    "0%, 100%": {
      opacity: 0.8;
      transform: scale(1);
    }
    "50%": {
      opacity: 1;
      transform: scale(1.3);
    }
  }
  @keyframes slideUp {
    "0%": {
      transform: translateY(70px);
      opacity: 0;
    }
    "100%": {
      transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes fadeIn {
    "0%": {
      opacity: 0;
    }
    "100%": {
      opacity: 1;
    }
  }
  @keyframes fadeLeft {
    "0%": {
      transform: translateX(-50%);
      opacity: 0;
    }
    "100%": {
      transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes fadeRight {
    "0%": {
      transform: translateX(50%);
      opacity: 0;
    }
    "100%": {
      transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes fadeBottom {
    "0%": {
      transform: translateY(50%);
      opacity: 0;
    }
    "100%": {
      transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes bounceDots {
    "0%": {
      opacity: 1;
      transform: translateY(0);
    }
    "100%": {
      opacity: 0.3;
      transform: translateY(-2px);
    }
  }
  @keyframes fadeOut {
    "0%": {
      opacity: 1;
      transform: translateX(-50%) scale(1);
    }
    "80%": {
      opacity: 1;
      transform: translateX(-50%) scale(1);
    }
    "100%": {
      opacity: 0;
      transform: translateX(-50%) scale(0.9);
    }
  }
}

:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.577 0.245 27.325);
  --border: oklch(0.922 0 0);
  --input: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --radius: 0.625rem;
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
  --neutral-350: #b4b4b4;
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.145 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.145 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.985 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
  --ring: oklch(0.439 0 0);
  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(0.269 0 0);
  --sidebar-ring: oklch(0.439 0 0);
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
}

@layer utilities {
  .scrollbar-hide {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }
  .scrollbar-hide::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  body {
    @apply bg-background text-foreground;
  }
  button {
    cursor: pointer;
  }
}

@layer alpaca-editor {
  .bg-shape-black {
    background-color: black;
    background-image: url("./images/bg-shape-black.webp");
    background-position: right;
    background-repeat: no-repeat;
  }

  .bg-wizard {
    background-image: url("./images/wizard-bg.png");
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.2;
  }

  .bg-parhelia-logo {
    background-color: transparent;
    background-image: url("./images/phlogo.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .parhelia-spin {
    animation: parhelia-spin 60s linear infinite;
  }

  @keyframes parhelia-spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(-360deg);
    }
  }

  .alpaca-no-border {
    border: none !important;
  }

  .alpaca-overflow-scroll {
    overflow: auto;
  }

  .alpaca-minor-label {
    display: block;
    font-size: 12px;
    font-weight: bold;
  }

  .p-tabview-panels {
    padding: 0;
    flex: 1;
    border-radius: 0;
  }

  .alpaca-editor-tabs div.p-tabview-panels {
    overflow: auto;
    height: calc(100% - 34px);
  }

  .p-splitter {
    border: 0;
    border-radius: 0;
  }

  /* placeholder code */
  [contentEditable="true"]:empty:before {
    content: attr(placeholder);
    opacity: 0.6;
  }

  [contenteditable] {
    outline: 0px solid transparent;
  }

  .p-tree {
    background-color: unset;
    padding: 0;
  }

  .p-treenode-content {
    padding: 0;
  }

  .p-treenode {
    padding: 1px;
    font-size: 12px;
  }

  div.p-tree .p-treenode-droppoint {
    height: 3px;
  }

  .placeholder > div {
    opacity: 1;
    transition: 0.3s;
  }

  .placeholder.hidden > div {
    opacity: 0;
  }

  .placeholder.hidden {
    height: 0;
    width: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: none;
  }

  .editframe.removed {
    transition: all 0.7s;
    opacity: 0;
  }

  .p-dropdown {
    border-color: #ddd;
  }

  .p-dropdown-trigger {
    color: #ddd;
  }

  .p-dropdown-label.p-inputtext {
    padding: 5px;
    font-size: 12px;
  }

  .p-dropdown-item {
    font-size: 12px;
    padding: 8px;
  }

  .p-inputtext:not(.p-dropdown-label) {
    padding: 5px;
    border: 1px solid #ddd;
  }

  input,
  select,
  textarea {
    border-width: 1px;
  }

  div.p-tabview .p-tabview-nav li .p-tabview-nav-link {
    padding: 16px 32px;
  }

  .p-highlight .p-tabview-nav-link {
    color: black;
    border-color: black;
  }

  .p-tabview-nav-link:focus {
    background-color: unset;
  }

  .p-sidebar-header.p-sidebar-custom-header {
    justify-content: space-between;
    font-weight: bold;
    font-size: 18px;
  }

  .inserting-placeholder {
    min-width: 50px;
  }

  .editframe:has(.placeholder-dropzone) {
    min-height: 60px;
  }

  .p-dialog-header {
    background-color: #363a40;
    padding: 8px;
    color: white;
  }
  .p-dialog-header-close-icon {
    color: white;
  }

  .p-dialog-content {
    padding: 0;
  }

  .p-dialog .p-dialog-header .p-dialog-title {
    font-size: 1rem;
  }

  .p-dialog-content:has(.p-confirm-dialog-message) {
    padding-top: 18px;
  }

  .p-tree-toggler {
    height: 22px;
    width: 22px;
    padding: 4px;
    margin-right: 5px;
  }

  .p-blockui-container {
    overflow: hidden;
  }

  .h-fill-available {
    height: -moz-available;
    height: -webkit-fill-available;
  }

  .p-listbox-item {
    padding: 4px;
    font-size: 12px;
  }

  .p-treenode-content:has(> .selected-secondary) {
    background: #f5f5f5;
  }

  .p-menubar-root-list {
    flex-wrap: nowrap;
  }

  .p-menuitem-link {
    padding: 0.5rem;
  }

  .p-menuitem-text {
    font-size: 13px;
  }

  .p-tabview-title {
    font-size: 12px;
  }

  .__json-pretty__ {
    overflow: visible;
  }

  .mce-selected:has(.selected) .editframe:not(.selected) {
    display: none;
  }

  .mce-selected .editframe.selected {
    display: block;
  }
  .mce-selected:not(:has(.editframe.selected)) .editframe:nth-child(2) {
    display: block;
  }

  .mce-items {
    background: #f0f0f0;
  }

  .mce-items .editframe-menu {
    display: none;
  }

  .mce-items .editframe {
    cursor: pointer;
    width: var(--mce-thumb-width, 150);
    height: var(--mce-thumb-height, 150);
    position: relative;
  }

  .mce-items .placeholder {
    position: relative;
    width: 200px;
    zoom: 0.6;
  }

  .mce-items .editframe > * {
    position: absolute;
    inset: 0;
    justify-content: center;
    zoom: var(--mce-thumb-zoom, 0.2);
    pointer-events: none;
  }

  .mce:not(:has(.editframe.selected)) .mce-items {
    display: none;
  }

  div.mce > .mce-items:has(.inserting-placeholder),
  .editframe.selected > .mce .mce-items {
    display: flex;
  }

  .workbox .p-datatable .p-datatable-tbody > tr > td {
    padding: 6px 4px;
  }

  .focused-field .focus-shadow {
    box-shadow: 0 0 7px 0 #9650fb;
    transition: box-shadow 0.5s ease-in-out;
  }

  .executing-action .focus-shadow,
  .executing-action.focus-shadow {
    animation: shadow-pulse 2s infinite;
    box-shadow: 0 0 7px 0 #9650fb;
  }
  .saved .focus-shadow,
  .saved.focus-shadow {
    box-shadow: 0 0 7px 0 #8ae048;
    transition: box-shadow 0.5s ease-in-out;
  }

  .focused-field.readonly .focus-shadow,
  .focused-field.readonly.focus-shadow {
    box-shadow: 0 0 7px 0 #a0a0a0;
    transition: box-shadow 0.5s ease-in-out;
  }

  .saving .focus-shadow,
  .saving.focus-shadow {
    box-shadow: 0 0 7px 0 #ffc310;
    transition: box-shadow 0.5s ease-in-out;
  }

  .edited-field.saving.focus-shadow {
    animation: shadow-pulse 2s infinite;
    box-shadow: 0 0 17px 0 #9650fb;
  }

  .edited-field.saved.focus-shadow {
    animation: purple-to-green-fade 5s forwards;
  }

  .edited-field.focus-shadow {
    border-radius: 10px;
  }

  @keyframes purple-to-green-fade {
    0% {
      box-shadow: 0 0 17px 0 #9650fb;
    }
    20% {
      box-shadow: 0 0 17px 0 #9650fb;
    }
    40% {
      box-shadow: 0 0 17px 0 #8ae048;
    }
    100% {
      box-shadow: none;
    }
  }

  @keyframes shadow-pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(72, 171, 224, 0.4);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(72, 171, 224, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(72, 171, 224, 0);
    }
  }

  @keyframes text-shimmer {
    0% {
      background-position: 200% center;
    }
    100% {
      background-position: -200% center;
    }
  }

  .animate-text-shimmer {
    background: linear-gradient(
      90deg,
      currentColor 0%,
      currentColor 40%,
      rgba(147, 157, 184, 0.5) 50%,
      currentColor 60%,
      currentColor 100%
    );
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shimmer 2s ease-in-out infinite;
  }

  .p-tooltip-text {
    padding: 5px;
    font-size: 12px;
  }

  .p-overlaypanel .p-overlaypanel-content {
    padding: 0;
  }
  .p-datatable .p-datatable-tbody > tr > td,
  .p-datatable .p-datatable-thead > tr > th {
    padding: 7px;
  }

  .alpaca-editor-container::-webkit-scrollbar {
    width: 2px;
  }

  .alpaca-editor-container::-webkit-scrollbar-track {
    background: white;
  }

  .alpaca-editor-container::-webkit-scrollbar-thumb {
    background-color: gray;
    border: none;
  }

  .p-tabview-nav > li,
  .p-tabview-title,
  .p-tabview-nav-link {
    min-width: auto;
  }
  .p-tabview-nav {
    justify-content: center;
  }
  .p-tabview .p-tabview-nav li .p-tabview-nav-link,
  .p-tabview .p-tabview-nav li.p-highlight .p-tabview-nav-link,
  .p-tabview
    .p-tabview-nav
    li:not(.p-highlight):not(.p-disabled):hover
    .p-tabview-nav-link,
  .p-tabview .p-tabview-nav {
    background: unset;
  }

  .p-button.p-component {
    font-size: 14px;
    background: white;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 6px 12px;
  }
  .p-button.p-component:hover {
    background: #f0f0f0;
  }

  .p-button.p-component.p-button-secondary {
    background: white;
    color: blue;
    border: none;
  }

  .p-component {
    font-family: unset;
  }

  .p-disabled {
    background-color: white !important;
  }

  .p-inputnumber-input {
    font-size: 12px;
  }

  .p-contextmenu {
    width: 9rem;
  }

  @property --a {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
  }

  .glow-text svg {
    transition: scale 0.5s ease-in-out;
  }

  .glow-text:hover svg {
    scale: 1.15;
    transition: scale 0.5s ease-in-out;
  }

  .glow-text::after {
    --a: 180deg;
    content: "";

    position: absolute;
    left: 0px;
    top: 12px;

    height: 100%;
    width: 80px;

    background: linear-gradient(
      var(--a),
      aqua 12.9254386713%,
      blue 37.9254386713%
    );
    transform: translateY(-50%);
    mask: radial-gradient(circle at 22% 50%, black 0%, transparent 20%);
    animation: glowAnimation 10s infinite;
  }

  @keyframes glowAnimation {
    0% {
      opacity: 0.6;
      filter: blur(5px);
      --a: 0deg;
    }
    50% {
      opacity: 0.9;
      filter: blur(10px);
      --a: 180deg;
    }
    100% {
      opacity: 0.6;
      filter: blur(5px);
      --a: 360deg;
    }
  }
}

.ql-container.ql-snow {
  border: none;
  height: 150px;
  overflow: auto;
  resize: vertical;
}

.p-checkbox-box {
  width: 15px;
  height: 15px;
}

/* Animation utilities for popover and other UI components */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes zoom-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoom-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes slide-in-from-top {
  from {
    transform: translateY(-2px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slide-in-from-bottom {
  from {
    transform: translateY(2px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slide-in-from-left {
  from {
    transform: translateX(-2px);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slide-in-from-right {
  from {
    transform: translateX(2px);
  }
  to {
    transform: translateX(0);
  }
}

/* Animation utility classes */
.animate-in {
  animation-duration: 150ms;
  animation-fill-mode: both;
}

.animate-out {
  animation-duration: 150ms;
  animation-fill-mode: both;
}

.fade-in-0 {
  animation-name: fade-in;
}

.fade-out-0 {
  animation-name: fade-out;
}

.zoom-in-95 {
  animation-name: zoom-in;
}

.zoom-out-95 {
  animation-name: zoom-out;
}

.slide-in-from-top-2 {
  animation-name: slide-in-from-top;
}

.slide-in-from-bottom-2 {
  animation-name: slide-in-from-bottom;
}

.slide-in-from-left-2 {
  animation-name: slide-in-from-left;
}

.slide-in-from-right-2 {
  animation-name: slide-in-from-right;
}

/* Data attribute selectors for state-based animations */
[data-state="open"].animate-in {
  animation-duration: 150ms;
  animation-fill-mode: both;
}

[data-state="closed"].animate-out {
  animation-duration: 150ms;
  animation-fill-mode: both;
}

[data-state="open"].fade-in-0 {
  animation-name: fade-in;
}

[data-state="closed"].fade-out-0 {
  animation-name: fade-out;
}

[data-state="open"].zoom-in-95 {
  animation-name: zoom-in;
}

[data-state="closed"].zoom-out-95 {
  animation-name: zoom-out;
}

[data-side="top"].slide-in-from-bottom-2 {
  animation-name: slide-in-from-bottom;
}

[data-side="bottom"].slide-in-from-top-2 {
  animation-name: slide-in-from-top;
}

[data-side="left"].slide-in-from-right-2 {
  animation-name: slide-in-from-right;
}

[data-side="right"].slide-in-from-left-2 {
  animation-name: slide-in-from-left;
}

/* View slide-in animation */
.animate-view-slide-in {
  animation: 400ms cubic-bezier(0.16, 1, 0.3, 1) both view-slide-in;
}

@keyframes view-slide-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ViewTransition animations for Setup Loading Screen */
/* The browser automatically animates position when both elements share viewTransitionName */
/* These animations enhance the transition with opacity and scale effects */
::view-transition-old(parhelia-logo) {
  animation: 500ms cubic-bezier(0.4, 0, 0.2, 1) both logo-fade-out;
}

::view-transition-new(parhelia-logo) {
  animation: 600ms cubic-bezier(0.4, 0, 0.2, 1) both logo-fade-in;
  /* Position is automatically animated by the browser */
}

@keyframes logo-fade-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes logo-fade-in {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Agent Profile Description Animation */
.agent-profile-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* text-[11px] with leading-relaxed (1.625) = 11px * 1.625 * 2 lines = 35.75px, add small buffer */
  max-height: 38px;
  transition-property: max-height, color;
  transition-duration: 0.2s, 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1), ease-in-out;
  transition-delay: 0s, 0s;
}

.group:hover .agent-profile-description {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  max-height: 500px;
  transition-property: max-height, color;
  transition-duration: 0.8s, 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1), ease-in-out;
  transition-delay: 0.8s, 0s;
}


.licensing-background-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fillRule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}