:root {
  --font-sans: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  --bg-dark-a: #4b3761;
  --bg-dark-b: #6c4ea3;
  --bg-dark-c: #b792d7;
  --bg-light: #f8f6f4;
  --text-dark: #1f2937;
  --text-dark-soft: #667085;
  --text-light: #f4f6fb;
  --text-light-soft: rgba(244, 246, 251, 0.82);
  --line-soft: rgba(88, 71, 113, 0.14);
  --line-light: #ddd6cf;
  --panel-dark: rgba(255, 255, 255, 0.08);
  --panel-dark-soft: rgba(255, 255, 255, 0.06);
  --panel-light: #fffdfb;
  --panel-light-soft: #f5f1ec;
  --accent: #a855f7;
  --accent-strong: #9333ea;
  --accent-soft: #f4e8ff;
  --purple-soft: #a875cf;
  --green: #0f8f5f;
  --green-soft: #e8f8f2;
  --red: #bd3551;
  --red-soft: #ffefeb;
  --amber: #d99516;
  --amber-soft: #f7c981;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

textarea {
  resize: vertical;
}

body.theme-dark {
  color: var(--text-light);
  background:
    radial-gradient(circle at top left, rgba(168, 116, 201, 0.20), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(145deg, var(--bg-dark-a) 0%, var(--bg-dark-b) 52%, var(--bg-dark-c) 100%);
}

body.theme-light {
  color: var(--text-dark);
  background:
    radial-gradient(circle at top left, rgba(168, 116, 201, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.08), transparent 26%),
    var(--bg-light);
}

.site-logo,
.brand-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img,
.brand-logo img {
  width: auto;
  display: block;
  object-fit: contain;
}

.site-logo img {
  height: 90px;
}

.brand-logo img {
  height: 150px;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.eyebrow.inverse {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  height: 140px;
}


.btn-primary,
.button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease;
  border: 1px solid transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-soft), var(--accent-strong));
  width: 100%;
  box-shadow: 0 16px 28px rgba(168, 85, 247, 0.22);
  cursor: pointer;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid rgba(88, 71, 113, 0.14);
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.82);
}

.btn-primary:hover,
.btn-secondary:hover,
.button:hover,
.submit-button:hover,
button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.form-input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  justify-self: end;
  justify-content: flex-end;
  border: 1px solid var(--line-light);
  background: #fff;
  color: var(--text-dark);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.form-input:focus {
  outline: none;
  border-color: rgba(36, 86, 212, 0.55);
  box-shadow: 0 0 0 4px rgba(36, 86, 212, 0.10);
}

.message {
  min-height: 1.3em;
  font-weight: 700;
}
  .landing-page nav {
    grid-template-columns: minmax(300px, 380px) 1fr auto;
    gap: 20px;
  }

.message.ok,
.ok {
  color: var(--green);
}

.message.error {
  color: var(--red);
}

.landing-page {
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

.landing-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.landing-page header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(88, 71, 113, 0.12);
  z-index: 999;
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
}

.landing-page .topbar {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.14), rgba(255, 255, 255, 0.6));
  color: var(--text-dark);
  text-align: center;
  padding: 12px;
  font-weight: 700;
}

.landing-page nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  gap: 18px;
}

.landing-page .logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.landing-page .site-logo {
  display: inline-flex;
  align-items: center;
}

.landing-page .site-logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.landing-page .menu {
  display: flex;
  gap: 30px;
}

.landing-page .menu a {
  color: var(--text-dark);
  font-weight: 600;
}

.landing-page .button.subtle {
  border: 1px solid rgba(88, 71, 113, 0.14);
  color: var(--text-dark);
  background: rgba(255,255,255,0.82);
  box-shadow: none;
}

.landing-page .nav-actions,
.landing-page .hero-actions,
.landing-page .footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-page .hero {
  padding: 90px 0;
}

.landing-page .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.landing-page h1 {
  margin: 0 0 25px;
  font-size: 58px;
  line-height: 1.2;
}

.landing-page .subtitle {
  margin-bottom: 32px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4b5563;
}

.landing-page .eyebrow {
  margin-bottom: 18px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(168, 85, 247, 0.08);
  color: var(--accent-strong);
}

.landing-page .hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.landing-page .hero-actions .btn-primary,
.landing-page .hero-actions .btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
}

.landing-page .hero-actions .btn-primary {
  background: #9333EA;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(147, 51, 234, 0.2);
}

.landing-page .hero-actions .btn-secondary {
  border: 1px solid #d1d5db;
  background: transparent;
  color: #111827;
}

.landing-page .hero-actions.centered {
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 0;
}

.landing-page .card {
  background: rgba(255,255,255,0.9);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 15px;
  color: var(--text-dark);
  border: 1px solid rgba(88, 71, 113, 0.08);
}

.landing-page .checklist-item,
.landing-page .features-bar-item {
  display: flex;
  align-items: flex-start;
}

.landing-page .checklist-item {
  margin-bottom: 24px;
}

.landing-page .checklist-item:last-child {
  margin-bottom: 0;
}

.landing-page .features-bar {
  padding: 40px 0;
  background: #fff;
  border-bottom: 1px solid rgba(88, 71, 113, 0.08);
}

.landing-page .features-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.landing-page .checklist-icon {
  width: 20px;
  height: 20px;
  color: #9333EA;
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.landing-page .checklist-copy {
  display: grid;
  gap: 4px;
}

.landing-page .checklist-title {
  color: #1f2937;
  font-weight: 700;
  line-height: 1.4;
}

.landing-page .checklist-text {
  color: #6b7280;
  line-height: 1.6;
}

.auragpt-preview {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(147, 51, 234, 0.25);
  border: 1px solid rgba(147, 51, 234, 0.08);
  overflow: hidden;
}

.auragpt-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #f5eefd;
  border-bottom: 1px solid rgba(147, 51, 234, 0.08);
}

.auragpt-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.auragpt-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8c7ee;
}

.auragpt-topbar-title {
  flex: 1;
  text-align: center;
  margin-right: 34px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #6b21a8;
}

.auragpt-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 24px 24px 8px;
}

.auragpt-hint {
  margin: 0 0 16px;
  color: var(--text-dark-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.auragpt-chat {
  flex: 1;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  transition: opacity 500ms ease;
}

.auragpt-chat-fading {
  opacity: 0;
}

.auragpt-msg {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  animation: auragpt-bubble-in 220ms ease forwards;
}

.auragpt-msg-user {
  align-self: flex-end;
  background: #9333ea;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.auragpt-msg-assistant {
  align-self: flex-start;
  background: #f5eefd;
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
}

.auragpt-msg-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
}

.auragpt-typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a855f7;
  animation: auragpt-typing-bounce 1s ease-in-out infinite;
}

.auragpt-typing-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.auragpt-typing-dot:nth-child(3) {
  animation-delay: 0.3s;
}

.auragpt-inputbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 24px 24px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(147, 51, 234, 0.16);
}

.auragpt-input {
  flex: 1;
  min-height: 1.4em;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.auragpt-cursor {
  color: var(--accent-strong);
  font-weight: 700;
  animation: auragpt-blink 1s steps(1) infinite;
}

.auragpt-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #9333ea;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.auragpt-send svg {
  width: 16px;
  height: 16px;
}

@keyframes auragpt-blink {
  0%, 50% {
    opacity: 1;
  }
  50.01%, 100% {
    opacity: 0;
  }
}

@keyframes auragpt-bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auragpt-typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.landing-page section {
  padding: 80px 0;
}

.landing-page h2 {
  margin: 0 0 40px;
  text-align: center;
  font-size: 40px;
  color: var(--text-dark);
}

.landing-page .section-copy {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--text-dark-soft);
}

.landing-page section#functies {
  background: #f9fafb;
}

.landing-page .features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.landing-page .feature {
  padding: 32px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.landing-page .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5f3ff;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.landing-page .feature h3 {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #111827;
}

.landing-page .feature p {
  margin: 0;
  color: #6b7280;
}

.landing-page .highlight {
  background: linear-gradient(135deg, #f5f3ff, #eef2ff);
  border: 1px solid #e9d5ff;
  border-radius: 25px;
  padding: 60px 50px;
  text-align: center;
  box-shadow: 0 24px 50px rgba(147, 51, 234, 0.08);
}

.landing-page .highlight h2 {
  color: #111827;
  font-weight: 800;
  margin-bottom: 16px;
}

.landing-page .highlight p {
  color: #4b5563;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

.landing-page .highlight .btn-primary {
  background: #9333ea;
  color: #ffffff;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 14px 0 rgba(147, 51, 234, 0.4);
}

.landing-page .pricing {
  display: flex;
  justify-content: center;
}

.landing-page .price-box {
  width: 100%;
  max-width: 500px;
  border: 1px solid rgba(88, 71, 113, 0.10);
  background: rgba(255,255,255,0.74);
  border-radius: 25px;
  padding: 40px;
  text-align: center;
  color: var(--text-dark);
  box-shadow: 0 20px 45px rgba(31, 41, 55, 0.08);
}

.landing-page .price {
  font-size: 55px;
  color: var(--accent-strong);
  margin: 15px 0;
}

.landing-page .list {
  margin-top: 25px;
  text-align: left;
}

.landing-page .list p {
  margin-bottom: 10px;
}

.landing-page footer {
  background: rgba(245, 241, 236, 0.92);
  color: var(--text-dark);
  text-align: center;
  padding: 50px 0;
  border-top: 1px solid rgba(88, 71, 113, 0.10);
}

.landing-page footer a {
  color: var(--text-dark);
}

.landing-page .footer-links {
  justify-content: center;
  margin-top: 18px;
}

.landing-page .footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(88, 71, 113, 0.10);
}

.register-page {
  min-height: 100vh;
  padding: 24px;
}

.register-page .page {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 28px;
  overflow: hidden;
  background: var(--panel-light);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.register-page .form-side,
.register-page .visual-side {
  display: grid;
  align-content: center;
}

.register-page .form-side {
  padding: 48px;
  background: rgba(255, 253, 251, 0.94);
}

.register-page .form-shell {
  width: min(460px, 100%);
  display: grid;
  gap: 24px;
}

.register-page .eyebrow {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.register-page .copy,
.register-page .visual-copy {
  display: grid;
  gap: 14px;
}

.register-page h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.register-page p {
  margin: 0;
  color: var(--text-dark-soft);
  line-height: 1.55;
}

.register-page .proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.register-page .proof-card {
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 14px 16px;
  background: var(--panel-light-soft);
  display: grid;
  gap: 6px;
}

.register-page .proof-card strong {
  font-size: 1.05rem;
}

.register-page form {
  display: grid;
  gap: 14px;
}

.register-page .field-grid {
  display: grid;
  gap: 14px;
}

.register-page label {
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dark);
}

.register-page .field-hint {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dark-soft);
}

.register-page .meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

.register-page .meta-links a {
  color: var(--accent-strong);
}

.register-page .visual-side {
  padding: 48px 40px;
  color: var(--text-light);
  gap: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(160deg, #7e58b7 0%, #9f78cf 52%, #c8b0e6 100%);
}

.register-page .brand-logo {
  margin-bottom: 14px;
  align-self: start;
}

.register-page .brand-logo img {
  height: 85px;
}

.register-page .visual-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.register-page .visual-copy p,
.register-page .visual-copy li,
.register-page .visual-caption {
  color: rgba(238, 242, 255, 0.82);
}

.register-page .visual-copy ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.register-page .mockup {
  border-radius: 26px;
  padding: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  display: grid;
  gap: 14px;
}

.register-page .mockup-top,
.register-page .calendar-row,
.register-page .metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.register-page .mockup-badge {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  font-size: 0.82rem;
  font-weight: 700;
}

.register-page .mockup-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.15fr 0.85fr;
}

.register-page .mockup-panel {
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.register-page .calendar-row,
.register-page .metric-row {
  border-radius: 14px;
  padding: 12px;
  background: rgba(17, 24, 39, 0.32);
}

.register-page .calendar-row strong,
.register-page .metric-row strong {
  font-size: 0.95rem;
}

.register-page .calendar-row span,
.register-page .metric-row span {
  font-size: 0.85rem;
  color: rgba(238, 242, 255, 0.72);
}

.register-page .visual-caption {
  font-size: 0.92rem;
  line-height: 1.5;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f9fafb;
}

.login-page .login-shell {
  width: min(440px, 100%);
  background: #fff;
  padding: 48px 40px;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 20px;
  text-align: center;
}

.login-page h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.login-page .login-subtitle {
  margin: 0;
  color: var(--text-dark-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.login-page form {
  display: grid;
  gap: 16px;
  text-align: left;
}

.login-page label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.login-page .form-input {
  border-radius: 8px;
}

.login-page .btn-login {
  margin-top: 4px;
  border: none;
  border-radius: 8px;
  min-height: 50px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: #9333ea;
  cursor: pointer;
  transition: filter 140ms ease, transform 140ms ease;
}

.login-page .btn-login:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.login-page .login-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.login-page .login-links a {
  color: var(--accent-strong);
  font-weight: 600;
}

.login-page .message {
  text-align: center;
}

@media (max-width: 520px) {
  .login-page .login-shell {
    padding: 32px 24px;
  }
}

.auth-page,
.admin-page {
  min-height: 100vh;
  padding: 20px;
}

.auth-page .shell,
.admin-page .shell {
  width: min(960px, 100%);
}

.auth-page .hero,
.auth-page .panel,
.auth-page .note,
.admin-page .shell {
  border: 1px solid var(--line-soft);
  background: var(--panel-dark);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.auth-page .shell {
  display: grid;
  gap: 16px;
}

.auth-page .hero {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.auth-page .hero-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  align-items: start;
}

.auth-page h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.auth-page .panel,
.auth-page .note {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.auth-page p,
.admin-page p,
.dashboard-page p {
  margin: 0;
}

.auth-page .links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-page .links a,
.admin-page nav a {
  color: var(--text-light);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--panel-dark-soft);
  padding: 10px 14px;
  font-weight: 700;
}

.auth-page ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-light-soft);
  display: grid;
  gap: 8px;
}

.auth-page input,
.admin-page input {
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.92);
  color: var(--text-dark);
}

.auth-page button,
.admin-page button {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-soft), var(--accent));
  font-weight: 700;
  cursor: pointer;
}

.admin-page {
  display: grid;
  place-items: center;
}

.admin-page .shell {
  border-radius: 16px;
  overflow: hidden;
}

.admin-page header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-page h1 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-light);
}

.admin-page p {
  color: var(--text-light-soft);
}

.admin-page nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-page main {
  display: grid;
  gap: 14px;
  padding: 18px 20px 20px;
}

.admin-page .note {
  border-radius: 12px;
  border: 1px solid rgba(146, 183, 255, 0.24);
  background: rgba(255,255,255,0.06);
  color: var(--text-light);
  padding: 12px;
  line-height: 1.45;
}

.admin-page .warning {
  border: 1px solid rgba(255, 205, 153, 0.3);
  background: rgba(255,255,255,0.05);
  color: var(--amber-soft);
}

.admin-page form {
  display: grid;
  gap: 8px;
  max-width: 420px;
}

.auragpt-admin-page {
  min-height: 100vh;
  background: var(--bg-light);
  padding: 28px 20px 60px;
}

.auragpt-shell {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.auragpt-admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.auragpt-admin-topbar a {
  color: var(--text-dark-soft);
  font-weight: 700;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--panel-light);
}

.auragpt-header {
  background: var(--panel-light);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.06);
}

.auragpt-header h1 {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.auragpt-header p {
  margin: 0;
  color: var(--text-dark-soft);
  line-height: 1.5;
}

.auragpt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.auragpt-card {
  background: var(--panel-light);
  border: 1px solid var(--line-light);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 26px rgba(31, 41, 55, 0.06);
  display: grid;
  gap: 14px;
  align-content: start;
}

.auragpt-card.auragpt-card-wide {
  grid-column: 1 / -1;
}

.auragpt-card h2 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.auragpt-card .auragpt-card-subtitle {
  margin: -8px 0 0;
  color: var(--text-dark-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.auragpt-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.auragpt-status-item {
  background: var(--panel-light-soft);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}

.auragpt-status-label {
  font-size: 0.78rem;
  color: var(--text-dark-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auragpt-status-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
}

.auragpt-btn-primary {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.15s ease;
}

.auragpt-btn-primary:hover:not(:disabled) {
  opacity: 0.92;
}

.auragpt-btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.auragpt-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: auragpt-spin 0.7s linear infinite;
  display: none;
}

.auragpt-btn-primary.is-loading .auragpt-spinner {
  display: inline-block;
}

@keyframes auragpt-spin {
  to {
    transform: rotate(360deg);
  }
}

.auragpt-progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: var(--panel-light-soft);
  border: 1px solid var(--line-light);
  overflow: hidden;
}

.auragpt-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  transition: width 0.4s ease;
}

.auragpt-progress-label {
  font-size: 0.85rem;
  color: var(--text-dark-soft);
  font-weight: 700;
}

.auragpt-log-console {
  background: #1f2937;
  color: #d8f5dc;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  border-radius: 12px;
  padding: 14px 16px;
  height: 220px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.auragpt-log-console:empty::before {
  content: "Nog geen trainingslogs. Start een training om live output te zien.";
  color: rgba(216, 245, 220, 0.55);
}

.auragpt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--panel-light-soft);
  color: var(--text-dark-soft);
  border: 1px solid var(--line-light);
  width: fit-content;
}

.auragpt-badge.is-running {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: transparent;
}

.auragpt-badge.is-completed {
  color: var(--green);
  background: var(--green-soft);
  border-color: transparent;
}

.auragpt-badge.is-failed {
  color: var(--red);
  background: var(--red-soft);
  border-color: transparent;
}

.auragpt-badge.is-info {
  color: #1d4ed8;
  background: #dbeafe;
  border-color: transparent;
}

.auragpt-model-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.auragpt-model-form input {
  flex: 1 1 220px;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text-dark);
  background: var(--panel-light-soft);
}

.auragpt-prompt-form {
  display: grid;
  gap: 14px;
}

.auragpt-prompt-form h3 {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.auragpt-prompt-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  align-items: start;
}

.auragpt-prompt-textarea {
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text-dark);
  background: var(--panel-light-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  resize: vertical;
}

.auragpt-prompt-form .auragpt-btn-primary {
  justify-self: start;
}

.auragpt-message {
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.auragpt-message.is-visible {
  display: block;
}

.auragpt-message.is-success {
  color: var(--green);
  background: var(--green-soft);
}

.auragpt-message.is-error {
  color: var(--red);
  background: var(--red-soft);
}

.auragpt-blacklist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.auragpt-blacklist-form input {
  flex: 1 1 220px;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text-dark);
  background: var(--panel-light-soft);
}

.auragpt-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auragpt-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
}

.auragpt-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(147, 51, 234, 0.18);
  color: var(--accent-strong);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  font-size: 0.8rem;
}

.auragpt-tag-remove:hover {
  background: rgba(147, 51, 234, 0.3);
}

.auragpt-tag-empty {
  color: var(--text-dark-soft);
  font-size: 0.88rem;
}

.auragpt-table-wrap {
  overflow-x: auto;
}

.auragpt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.auragpt-table th {
  text-align: left;
  padding: 10px 12px;
  color: var(--text-dark-soft);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-light);
}

.auragpt-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-light);
  color: var(--text-dark);
  vertical-align: top;
}

.auragpt-table td.auragpt-table-message {
  max-width: 360px;
}

.auragpt-tool-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--panel-light-soft);
  border: 1px solid var(--line-light);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark-soft);
}

.auragpt-table-empty {
  color: var(--text-dark-soft);
  font-size: 0.9rem;
  padding: 14px 4px;
}

.auragpt-btn-danger {
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  white-space: nowrap;
}

.auragpt-btn-danger:hover:not(:disabled) {
  opacity: 0.9;
}

.auragpt-btn-danger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auragpt-btn-compact {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.auragpt-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-dark-soft);
}

.auragpt-audit-type {
  color: var(--text-dark-soft);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.78rem;
}

.auragpt-btn-inspect {
  border: 1px solid var(--line-light);
  background: var(--panel-light-soft);
  color: var(--text-dark-soft);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.auragpt-btn-inspect:hover {
  background: var(--panel-light);
  color: var(--text-dark);
}

.auragpt-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 20, 0.55);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.auragpt-modal-overlay.is-open {
  display: flex;
  opacity: 1;
}

.auragpt-modal {
  width: min(820px, 92vw);
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  background: #1E1E24;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform: scale(0.96) translateY(8px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.auragpt-modal-overlay.is-open .auragpt-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.auragpt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auragpt-modal-header h3 {
  margin: 0;
  color: #f4f4f7;
  font-size: 1rem;
  font-weight: 700;
}

.auragpt-modal-close {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f4f7;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auragpt-modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.auragpt-modal-body {
  padding: 16px 20px 20px;
  overflow-y: auto;
  display: grid;
  gap: 14px;
}

.auragpt-modal-section {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.auragpt-modal-section summary {
  cursor: pointer;
  padding: 10px 14px;
  color: #d8d8e0;
  font-weight: 700;
  font-size: 0.88rem;
  list-style: none;
}

.auragpt-modal-section summary::-webkit-details-marker {
  display: none;
}

.auragpt-modal-section summary::before {
  content: "\25b8";
  display: inline-block;
  margin-right: 8px;
  transition: transform 0.15s ease;
}

.auragpt-modal-section[open] summary::before {
  transform: rotate(90deg);
}

.auragpt-modal-section pre {
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  max-height: 320px;
  overflow-y: auto;
}

.auragpt-modal-section code {
  color: #9ef0b8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.8rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.saas-admin-page {
  margin: 0;
  min-height: 100vh;
  background: #F9FAFB;
  color: var(--text-dark);
}

.saas-admin-header {
  background: #ffffff;
  border-bottom: 1px solid #E5E7EB;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.saas-admin-header img {
  height: 45px;
  width: auto;
  display: block;
  object-fit: contain;
}

.saas-admin-header-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.saas-admin-body {
  display: flex;
  align-items: stretch;
}

.saas-admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  min-height: calc(100vh - 80px);
  background: #ffffff;
  border-right: 1px solid #E5E7EB;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.saas-admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark-soft);
  cursor: pointer;
}

.saas-admin-nav-item:hover {
  background: #F9FAFB;
}

.saas-admin-nav-item.is-active {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-right: 3px solid var(--accent-strong);
}

.saas-admin-main {
  flex: 1;
  min-width: 0;
  padding: 32px;
  display: grid;
  gap: 20px;
  align-content: start;
}

.saas-admin-section {
  display: none;
}

.saas-admin-section.is-active {
  display: grid;
  gap: 18px;
}

.saas-admin-owner-email {
  color: var(--text-dark-soft);
}

.saas-admin-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.saas-admin-filter-button {
  border: 1px solid var(--line-light);
  background: var(--panel-light);
  color: var(--text-dark-soft);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.saas-admin-filter-button:hover {
  background: var(--panel-light-soft);
}

.saas-admin-filter-button.is-active {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

.saas-admin-policy-card {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
}

.saas-admin-policy-card input[type="number"] {
  width: 80px;
  padding: 6px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  color: var(--text-dark);
  background: var(--panel-light-soft);
}

.booking-widget-page {
  margin: 0;
  min-height: 100vh;
  background: #F9FAFB;
  color: var(--text-dark);
  padding-bottom: 32px;
}

.booking-widget-shell {
  width: min(480px, 100%);
  margin: 0 auto;
}

.booking-widget-topbar {
  background: #ffffff;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line-light);
  text-align: center;
}

.booking-widget-topbar h1 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}

.booking-widget-subtitle {
  margin: 0;
  color: var(--text-dark-soft);
  font-size: 0.88rem;
}

.booking-widget-message {
  margin: 12px 16px 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.booking-widget-message.is-visible {
  display: block;
}

.booking-widget-message.is-error {
  color: var(--red);
  background: var(--red-soft);
}

.booking-widget-main {
  padding: 16px;
  display: grid;
  gap: 12px;
}

#bookingSuccessSection {
  display: none;
}

#bookingSuccessSection.is-active {
  display: grid;
}

.booking-widget-section {
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  overflow: hidden;
}

.booking-widget-section.is-locked {
  opacity: 0.5;
}

.booking-widget-section-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.booking-widget-section.is-locked .booking-widget-section-header {
  cursor: default;
}

.booking-widget-section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.booking-widget-section.is-complete .booking-widget-section-index {
  background: var(--green-soft);
  color: var(--green);
}

.booking-widget-section-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.booking-widget-section-summary {
  flex: 1;
  min-width: 0;
  text-align: right;
  color: var(--text-dark-soft);
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-widget-section-chevron {
  flex-shrink: 0;
  color: var(--text-dark-soft);
  transition: transform 0.2s ease;
}

.booking-widget-section.is-open .booking-widget-section-chevron {
  transform: rotate(180deg);
}

.booking-widget-section-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.booking-widget-section.is-open .booking-widget-section-body {
  max-height: 2400px;
}

.booking-widget-section-body-inner {
  padding: 0 16px 16px;
  display: grid;
  gap: 14px;
}

.booking-widget-category {
  border: 1px solid var(--line-light);
  border-radius: 14px;
  overflow: hidden;
}

.booking-widget-category-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: none;
  background: var(--panel-light-soft);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
}

.booking-widget-category-header .booking-widget-section-chevron {
  transition: transform 0.2s ease;
}

.booking-widget-category.is-open .booking-widget-category-header .booking-widget-section-chevron {
  transform: rotate(180deg);
}

.booking-widget-category-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.booking-widget-category.is-open .booking-widget-category-body {
  max-height: 1600px;
}

.booking-widget-service-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--line-light);
}

.booking-widget-service-info {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.booking-widget-service-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.booking-widget-service-meta {
  font-size: 0.8rem;
  color: var(--text-dark-soft);
}

.booking-widget-choose-button {
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: #9333EA;
  cursor: pointer;
}

.booking-widget-choose-button:hover {
  opacity: 0.92;
}

.booking-widget-employee-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.booking-widget-employee-card {
  flex: 0 0 auto;
  width: 84px;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px 4px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--panel-light-soft);
  cursor: pointer;
  scroll-snap-align: start;
}

.booking-widget-employee-card.is-selected {
  border-color: #9333EA;
  background: var(--accent-soft);
}

.booking-widget-employee-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.booking-widget-employee-card.is-no-preference .booking-widget-employee-avatar {
  background: linear-gradient(135deg, #f5d0fe, #d8b4fe);
  font-size: 1.3rem;
}

.booking-widget-employee-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.25;
}

.booking-widget-week-strip-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.booking-widget-week-nav {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: #fff;
  color: var(--text-dark);
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.booking-widget-week-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.booking-widget-week-strip {
  flex: 1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.booking-widget-day-button {
  flex: 0 0 auto;
  width: 52px;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 4px;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  scroll-snap-align: start;
}

.booking-widget-day-button.is-selected {
  background: #9333EA;
  border-color: #9333EA;
}

.booking-widget-day-button.is-selected .booking-widget-day-name,
.booking-widget-day-button.is-selected .booking-widget-day-number {
  color: #fff;
}

.booking-widget-day-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.booking-widget-day-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark-soft);
  text-transform: uppercase;
}

.booking-widget-day-number {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.booking-widget-status {
  color: var(--text-dark-soft);
  font-size: 0.85rem;
  margin-top: 12px;
}

.booking-widget-timeslot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.booking-widget-timeslot-badge {
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--panel-light-soft);
  cursor: pointer;
  min-width: 76px;
  text-align: center;
}

.booking-widget-timeslot-badge.is-selected {
  background: #9333EA;
  border-color: #9333EA;
  color: #fff;
}

.booking-widget-summary {
  border-radius: 12px;
  background: var(--panel-light-soft);
  border: 1px solid var(--line-light);
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--text-dark-soft);
  display: grid;
  gap: 4px;
}

.booking-widget-summary strong {
  color: var(--text-dark);
}

.booking-widget-form {
  display: grid;
  gap: 12px;
}

.booking-widget-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.booking-widget-form input {
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--panel-light-soft);
}

.booking-widget-confirm-button {
  border: none;
  border-radius: 12px;
  padding: 16px 20px;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: #9333EA;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.booking-widget-confirm-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.booking-widget-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: booking-widget-spin 0.7s linear infinite;
  display: none;
}

.booking-widget-confirm-button.is-loading .booking-widget-spinner {
  display: inline-block;
}

@keyframes booking-widget-spin {
  to {
    transform: rotate(360deg);
  }
}

.booking-widget-back-button {
  border: none;
  background: transparent;
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 0 4px;
  cursor: pointer;
}

.booking-widget-success {
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  animation: booking-widget-fade-in 0.35s ease;
}

.booking-widget-success-icon {
  font-size: 3rem;
  line-height: 1;
}

.booking-widget-success h2 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--text-dark);
}

.booking-widget-success p {
  margin: 0;
  color: var(--text-dark-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

@keyframes booking-widget-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-page {
  min-height: 100vh;
  background: #f9fafb;
}

.dashboard-page .mobile-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 60px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.dashboard-page .mobile-topbar-logo {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.dashboard-page .mobile-menu-toggle {
  appearance: none;
  border: none;
  background: transparent;
  padding: 4px 8px;
  font-size: 1.5rem;
  line-height: 1;
  color: #111827;
  cursor: pointer;
}

.dashboard-page .sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.4);
  z-index: 25;
}

.dashboard-page .sidebar-backdrop.is-visible {
  display: block;
}

.dashboard-page .app-shell {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 60px);
}

.dashboard-page .sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  width: 260px;
  max-width: 80vw;
  padding: 20px 14px;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  color: #111827;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 220ms ease;
}

.dashboard-page .sidebar.is-open {
  transform: translateX(0);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.18);
}

.dashboard-page .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.dashboard-page .brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.dashboard-page .brand strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
  color: #111827;
}

.dashboard-page .brand span {
  color: #6b7280;
  font-size: 0.78rem;
}

.dashboard-page .tab-menu {
  display: grid;
  gap: 6px;
}

.dashboard-page .tab-button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: left;
  padding: 10px 12px;
  background: transparent;
  color: #374151;
  cursor: pointer;
  font-weight: 600;
}

.dashboard-page .tab-button:hover {
  background: #f3f4f6;
}

.dashboard-page .tab-button.active {
  background: #f5f3ff;
  border-color: #e9d5ff;
  color: #6d28d9;
}

.dashboard-page .is-hidden {
  display: none !important;
}

.dashboard-page .content {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 16px;
  background-color: #f9fafb;
  min-height: calc(100vh - 60px);
  min-width: 0;
}

.dashboard-page .topbar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.dashboard-page .topbar h1 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.8rem);
  color: #111827;
}

.dashboard-page .topbar p,
.dashboard-page .section-help,
.dashboard-page .muted,
.dashboard-page .day-row,
.dashboard-page .agenda-day-head,
.dashboard-page .list-item .meta {
  color: #6b7280;
}

.dashboard-page .page-header {
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  background: #f5f3ff;
  border: 1px solid #e9d5ff;
}

.dashboard-page .page-header h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.dashboard-page .page-header p {
  margin: 0;
  font-size: 0.88rem;
  color: #6b21a8;
  line-height: 1.4;
}

.dashboard-page .prominent-search {
  margin-bottom: 14px;
}

.dashboard-page .search-input-lg {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.dashboard-page .toolbar,
.dashboard-page .row,
.dashboard-page .agenda-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.dashboard-page .toolbar {
  width: 100%;
}

.dashboard-page .toolbar button {
  flex: 1 1 140px;
}

.dashboard-page .panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.dashboard-page h2,
.dashboard-page h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #111827;
}

.dashboard-page form {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.dashboard-page input,
.dashboard-page textarea,
.dashboard-page select {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: var(--text-dark);
}

.dashboard-page textarea {
  min-height: 84px;
}

.dashboard-page .form-section-title {
  margin: 8px 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #6b7280;
}

.dashboard-page .toggle-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
}

.dashboard-page .toggle-card:last-child {
  margin-bottom: 0;
}

.dashboard-page .toggle-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
}

.dashboard-page .toggle-card-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.dashboard-page .toggle-card-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.dashboard-page .toggle-card-fields label {
  flex: 1 1 120px;
  display: grid;
  gap: 4px;
  font-size: 0.85rem;
  color: #6b7280;
}

.dashboard-page .stacked-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-page .stacked-form button {
  width: 100%;
}

.dashboard-page .role-badge-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  font-size: 0.95rem;
  cursor: help;
}

.dashboard-page .is-desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .dashboard-page .is-desktop-only {
    display: block;
  }
}

.dashboard-page button {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--purple-soft);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.dashboard-page button.secondary {
  background: var(--accent);
}

.dashboard-page button.danger {
  background: var(--red);
}

.dashboard-page .card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.dashboard-page .metric {
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: grid;
  gap: 6px;
}

.dashboard-page .metric strong {
  font-size: 1.6rem;
  line-height: 1;
  color: #111827;
}

.dashboard-page .metric small {
  color: #6b7280;
  font-weight: 600;
}

.dashboard-page .dashboard-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dashboard-page .dashboard-main,
.dashboard-page .dashboard-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.dashboard-page .dashboard-agenda-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.dashboard-page .dashboard-agenda-header strong {
  color: #111827;
  font-size: 1rem;
  text-align: center;
}

.dashboard-page .icon-button {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dashboard-page .icon-button:hover {
  background: #f5f3ff;
}

.dashboard-page .timeline {
  display: flex;
  margin-top: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.dashboard-page .timeline-hours {
  width: 64px;
  flex-shrink: 0;
  background: #f9fafb;
  border-right: 1px solid #e5e7eb;
}

.dashboard-page .timeline-hour {
  height: 56px;
  padding: 6px 8px 0;
  box-sizing: border-box;
  font-size: 0.78rem;
  color: #6b7280;
  border-bottom: 1px solid #e5e7eb;
}

.dashboard-page .timeline-hour:last-child {
  border-bottom: none;
}

.dashboard-page .timeline-appointments {
  position: relative;
  flex: 1;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 55px,
    #e5e7eb 55px,
    #e5e7eb 56px
  );
}

.dashboard-page .timeline-appointment {
  position: absolute;
  left: 8px;
  right: 8px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #ede9fe;
  border: 1px solid #c4b5fd;
  color: #5b21b6;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(147, 51, 234, 0.12);
  cursor: pointer;
}

.dashboard-page .timeline-empty {
  margin: 0;
  padding: 10px;
  font-size: 0.82rem;
  color: #6b7280;
}

.dashboard-page .floating-action-button {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 40;
  width: calc(100% - 32px);
  max-width: 420px;
  min-height: 52px;
  border: none;
  border-radius: 999px;
  background: #9333ea;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 12px 30px rgba(147, 51, 234, 0.35);
  cursor: pointer;
}

@media (min-width: 768px) {
  .dashboard-page .floating-action-button {
    left: auto;
    right: 24px;
    transform: none;
    width: auto;
    padding: 0 28px;
  }
}

.dashboard-page .quick-action-button {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.25);
}

.dashboard-page .activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.dashboard-page .activity-list li {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .dashboard-page .dashboard-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .dashboard-page .dashboard-main {
    flex: 7;
  }

  .dashboard-page .dashboard-side {
    flex: 3;
  }
}

.dashboard-page .tab-panel {
  display: none;
  animation: fadeIn 220ms ease-out;
}

.dashboard-page .tab-panel.active {
  display: grid;
  gap: 14px;
}

.dashboard-page .two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.dashboard-page .day-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.9rem;
}

.dashboard-page .day-row:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.dashboard-page .agenda-columns,
.dashboard-page .pos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.dashboard-page .agenda-board,
.dashboard-page .list {
  display: grid;
  gap: 8px;
  overflow: auto;
  max-height: none;
}

.dashboard-page .agenda-board {
  padding-right: 4px;
}

.dashboard-page .agenda-day,
.dashboard-page .list-item,
.dashboard-page .customer-search-form {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
}

.dashboard-page .agenda-day {
  padding: 10px;
  display: grid;
  gap: 8px;
}

.dashboard-page .agenda-day-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
}

.dashboard-page .agenda-appointment {
  border: 1px solid #dbe3f3;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  display: grid;
  gap: 4px;
}

.dashboard-page .agenda-appointment strong,
.dashboard-page .list-item .title,
.dashboard-page .profile-card h3 {
  color: var(--text-dark);
}

.dashboard-page .agenda-empty {
  color: #6b7280;
  font-size: 0.88rem;
}

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

.dashboard-page .list-item {
  padding: 10px;
  display: grid;
  gap: 6px;
}

.dashboard-page .list-item.active {
  border-color: #c4b5fd;
  box-shadow: inset 0 0 0 1px rgba(147, 51, 234, 0.25);
  background: #f5f3ff;
}

.dashboard-page .badge {
  display: inline-flex;
  align-items: center;
  border-radius: 99px;
  padding: 4px 8px;
  background: #f5f3ff;
  color: #6d28d9;
  font-size: 0.82rem;
  font-weight: 600;
}

.dashboard-page .badge.is-success {
  background: #dcfce7;
  color: #15803d;
}

.dashboard-page .badge.is-failed {
  background: #fee2e2;
  color: #b91c1c;
}

.dashboard-page .badge.is-cancelled {
  background: #f3f4f6;
  color: #6b7280;
}

.dashboard-page .checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-dark-soft, #6b7280);
}

.dashboard-page .table-wrap {
  overflow-x: auto;
}

.dashboard-page .audit-log-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.dashboard-page .audit-log-table th,
.dashboard-page .audit-log-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.dashboard-page .audit-log-table th {
  color: #6b7280;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dashboard-page .audit-log-table .audit-log-type {
  color: #6b7280;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.78rem;
}

.dashboard-page .accordion-category {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.dashboard-page .accordion-category:last-child {
  margin-bottom: 0;
}

.dashboard-page .accordion-category summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 700;
  color: #111827;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-page .accordion-category summary::-webkit-details-marker {
  display: none;
}

.dashboard-page .accordion-category summary::after {
  content: '+';
  font-weight: 700;
  color: #9333ea;
}

.dashboard-page .accordion-category[open] summary::after {
  content: '\2212';
}

.dashboard-page .accordion-category .list {
  padding: 8px;
}

.dashboard-page .sub-tab-menu {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
}

.dashboard-page .sub-tab-button {
  appearance: none;
  border: none;
  background: transparent;
  padding: 10px 4px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.dashboard-page .sub-tab-button.active {
  color: #6d28d9;
  border-bottom-color: #9333ea;
}

.dashboard-page .sub-tab-panel {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.dashboard-page .sub-tab-panel.active {
  display: flex;
}

.dashboard-page .export-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.dashboard-page .export-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
}

.dashboard-page .export-card-icon {
  font-size: 1.8rem;
}

.dashboard-page .export-card .quick-action-button {
  margin-top: 4px;
}

.dashboard-page .warning-box {
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .dashboard-page .export-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.dashboard-page .toggle-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.92rem;
  color: #111827;
  cursor: pointer;
}

.dashboard-page .toggle-switch-row:last-of-type {
  border-bottom: none;
}

.dashboard-page .toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}

.dashboard-page .toggle-switch input {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.dashboard-page .toggle-switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d1d5db;
  transition: background-color 160ms ease;
}

.dashboard-page .toggle-switch-track::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 160ms ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.dashboard-page .toggle-switch input:checked + .toggle-switch-track {
  background: #9333ea;
}

.dashboard-page .toggle-switch input:checked + .toggle-switch-track::before {
  transform: translateX(18px);
}

.dashboard-page .AuraGPT-panel {
  min-height: 70vh;
}

.dashboard-page .AuraGPT-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  min-height: 70vh;
}

.dashboard-page .AuraGPT-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 14px;
  border: 1px solid #eadcf8;
  border-radius: 18px;
  background: linear-gradient(180deg, #fcf8ff 0%, #f7f2ff 100%);
}

.dashboard-page .AuraGPT-sidebar-head {
  display: grid;
  gap: 10px;
}

.dashboard-page .AuraGPT-sidebar-head h3 {
  margin: 0;
  font-size: 1rem;
}

.dashboard-page .AuraGPT-new-conversation {
  width: 100%;
}

.dashboard-page .AuraGPT-sidebar-head-actions {
  display: grid;
  gap: 8px;
}

.dashboard-page .AuraGPT-sidebar-head-actions .AuraGPT-conversation-action {
  width: 100%;
}

.dashboard-page .AuraGPT-conversation-groups {
  display: grid;
  gap: 14px;
}

.dashboard-page .AuraGPT-conversation-group {
  display: grid;
  gap: 8px;
}

.dashboard-page .AuraGPT-conversation-group-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7c3aed;
}

.dashboard-page .AuraGPT-conversation-item {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #e9d5ff;
  border-radius: 14px;
  background: #ffffff;
}

.dashboard-page .AuraGPT-conversation-item.is-active {
  border-color: #9333ea;
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.12);
}

.dashboard-page .AuraGPT-conversation-open {
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.dashboard-page .AuraGPT-conversation-title {
  display: block;
  font-weight: 700;
  color: #111827;
}

.dashboard-page .AuraGPT-conversation-preview {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.84rem;
}

.dashboard-page .AuraGPT-conversation-meta {
  font-size: 0.76rem;
  color: #8b5cf6;
}

.dashboard-page .AuraGPT-conversation-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dashboard-page .AuraGPT-conversation-action {
  min-height: auto;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
}

.dashboard-page .AuraGPT-archive-panel {
  border-top: 1px solid #e9d5ff;
  padding-top: 12px;
}

.dashboard-page .AuraGPT-archive-panel summary {
  cursor: pointer;
  font-weight: 700;
  color: #6b21a8;
}

.dashboard-page .AuraGPT-thread-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dashboard-page .AuraGPT-thread-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.dashboard-page .AuraGPT-thread-header h3 {
  margin: 0 0 4px;
}

.dashboard-page .AuraGPT-thread-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-page .AuraGPT-thread-action {
  width: auto;
  min-height: 40px;
}

.dashboard-page .AuraGPT-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.dashboard-page .AuraGPT-shortcut {
  appearance: none;
  border: 1px solid #e9d5ff;
  border-radius: 999px;
  background: #f5f3ff;
  color: #6d28d9;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.dashboard-page .AuraGPT-chat {
  flex: 1;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid #ede9fe;
  border-radius: 18px;
  background: #ffffff;
}

.dashboard-page .AuraGPT-msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.dashboard-page .AuraGPT-msg-user {
  align-self: flex-end;
  background: #9333ea;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.dashboard-page .AuraGPT-msg-assistant {
  align-self: flex-start;
  background: #f5f3ff;
  color: #111827;
  border-bottom-left-radius: 4px;
}

.dashboard-page .AuraGPT-msg-meta {
  display: block;
  margin-top: 8px;
  font-size: 0.74rem;
  color: #7c3aed;
}

.dashboard-page .AuraGPT-msg-confirm-button {
  display: inline-block;
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  background: #9333ea;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.dashboard-page .AuraGPT-feedback {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.dashboard-page .AuraGPT-feedback-button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #ddd6fe;
  background: #ffffff;
  color: #6d28d9;
  cursor: pointer;
}

.dashboard-page .AuraGPT-feedback-button.is-selected {
  background: #ede9fe;
  border-color: #8b5cf6;
}

.dashboard-page .AuraGPT-loading {
  display: none;
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f5f3ff;
  color: #6d28d9;
  font-weight: 600;
}

.dashboard-page .AuraGPT-loading.is-visible {
  display: block;
}

.dashboard-page .AuraGPT-input-bar {
  display: flex;
  gap: 8px;
  margin: 0;
}

.dashboard-page .AuraGPT-input-bar input {
  flex: 1;
}

.dashboard-page .AuraGPT-send {
  width: auto;
  padding: 0 22px;
}

.dashboard-page .AuraGPT-empty-state {
  color: #6b7280;
  text-align: center;
  margin: auto 0;
}

.dashboard-page .action-message {
  margin: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
  display: none;
}

.dashboard-page .action-message.show {
  display: block;
  animation: fadeIn 220ms ease-out;
}

.dashboard-page .action-message.ok {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid #b9e9cc;
}

.dashboard-page .action-message.error {
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid #f7c5ba;
}

@media (max-width: 980px) {
  .dashboard-page .AuraGPT-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-page .AuraGPT-thread-header {
    flex-direction: column;
  }
}

.dashboard-page .profile-card {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e5e7eb;
}

.dashboard-page .customer-search-form {
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px;
  background: #f9fafb;
}

.dashboard-page .profile-card label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
  color: #6b7280;
}

.dashboard-page .profile-card label input[type="checkbox"] {
  width: auto;
}

@media (min-width: 768px) {
  .dashboard-page .mobile-topbar {
    display: none;
  }

  .dashboard-page .sidebar-backdrop {
    display: none !important;
  }

  .dashboard-page .app-shell {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
  }

  .dashboard-page .sidebar {
    position: static;
    width: auto;
    max-width: none;
    min-height: 100vh;
    transform: none;
    transition: none;
    box-shadow: none;
  }

  .dashboard-page .content {
    min-height: 100vh;
    padding: 24px;
    gap: 18px;
  }

  .dashboard-page .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .dashboard-page .toolbar {
    width: auto;
    justify-content: flex-end;
  }

  .dashboard-page .toolbar button {
    flex: initial;
  }

  .dashboard-page .card-grid {
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 14px;
  }

  .dashboard-page .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-page .agenda-columns {
    grid-template-columns: 2fr 1fr;
  }

  .dashboard-page .pos-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-page .agenda-board,
  .dashboard-page .list {
    max-height: 520px;
  }

  .dashboard-page .agenda-day-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .dashboard-page .day-row {
    padding: 8px 10px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .dashboard-page .card-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 980px) {
  .register-page .page,
  .landing-page .hero-grid,
  .landing-page .features,
  .auth-page .hero-grid,
  .register-page .mockup-grid,
  .register-page .proof {
    grid-template-columns: 1fr;
  }

  .landing-page .features-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .register-page .form-side,
  .register-page .visual-side {
    padding: 28px 22px;
  }
}

@media (max-width: 900px) {
  .landing-page .menu {
    display: none;
  }

  .landing-page h1 {
    font-size: 40px;
  }

  .landing-page .nav-actions,
  .landing-page .hero-actions,
  .landing-page .footer-links {
    justify-content: flex-start;
  }

  .landing-page nav {
    flex-wrap: wrap;
    padding: 1.25rem 0;
  }

  .site-logo img {
    height: 84px;
  }
}

@media (max-width: 860px) {
  .auth-page .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .landing-page .features-bar-grid {
    grid-template-columns: 1fr;
  }

  .register-page,
  .auth-page,
  .admin-page,
  .auragpt-admin-page {
    padding: 12px;
  }

  .register-page .page {
    min-height: auto;
    border-radius: 22px;
  }

  .register-page .form-side,
  .register-page .visual-side {
    padding: 24px 18px;
  }

  .register-page .meta-links {
    flex-direction: column;
    gap: 10px;
  }

  .brand-logo img {
    height: 132px;
    max-height: 132px;
  }
}

.dashboard-page .timeline-agenda-block {
  background: #fff7ed;
  border-color: #fb923c;
  color: #9a3412;
}