.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--font-subheading);
  font-weight: 400;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--primary-foreground);
  border: 1px solid var(--gold-600);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
  background: linear-gradient(135deg, var(--gold-600), var(--gold-700));
  color: var(--primary-foreground);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}
.btn-outline:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border-color: var(--ring);
}
.btn-full { width: 100%; }
.btn-lg { padding: 1rem 2rem; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.75rem; }
.btn-icon {
  width: 2rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-danger {
  color: var(--red-500);
  border-color: rgba(239, 68, 68, 0.2);
}
.btn-danger:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red-500);
}
.form-label {
  display: block;
  font-family: var(--font-subheading);
  font-weight: 400;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1rem;
  margin-bottom: 0.85rem;
  color: var(--foreground);
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.875rem;
  transition: all 0.3s;
}
.form-input:focus {
  outline: none;
  border-color: rgba(242, 242, 242, 0.5);
  box-shadow: 0 0 0 1px rgba(242, 242, 242, 0.2);
}
.form-input::placeholder {
  color: var(--muted-foreground);
}
.card-lg {
  border-radius: 1.5rem;
  padding: 1.5rem;
  padding-bottom: 0;
}
@media (min-width: 1024px) {
  .card-lg {
    padding: 2rem;
    padding-bottom: 0;
  }
}
.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-circle svg { width: 22px; height: 22px; }
.icon-circle-sm {
  width: 2.5rem;
  height: 2.5rem;
}
.icon-circle-sm svg { width: 18px; height: 18px; }
.icon-circle-lg {
  width: 5rem;
  height: 5rem;
}
.icon-circle-lg svg { width: 40px; height: 40px; }
.icon-circle-primary {
  background: rgba(242, 242, 242, 0.1);
  color: var(--primary);
}
.icon-circle-green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-500);
}
.tabs-list {
  display: grid;
  border-radius: 9999px;
  padding: 4px;
  background: var(--card);
  gap: 0;
}
.tabs-list-2 { grid-template-columns: repeat(2, 1fr); }
.tab-trigger {
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--muted-foreground);
  white-space: nowrap;
  font-family: var(--font-subheading);
  font-weight: 400;
  background: var(--secondary);
}
.tab-trigger.active {
  background: var(--gold-500);
  color: var(--background);
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.2);
}
.tab-trigger:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--foreground);
  transform: translateY(-1px);
}
.tab-trigger svg { width: 14px; height: 14px; }
.status-badge {
  display: inline-flex;
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  border: 1px solid;
}
.status-green {
  background: rgba(34,197,94,0.1);
  color: var(--green-500);
  border-color: rgba(34,197,94,0.2);
}
.status-yellow {
  background: rgba(234,179,8,0.1);
  color: var(--yellow-500);
  border-color: rgba(234,179,8,0.2);
}
.status-red {
  background: rgba(239,68,68,0.1);
  color: var(--red-500);
  border-color: rgba(239,68,68,0.2);
}
.status-gray {
  background: rgba(148,163,184,0.12);
  color: var(--muted-foreground);
  border-color: rgba(148,163,184,0.2);
}
.chatbot-lateral {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1800;
  animation: chatbotEntrance 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes chatbotEntrance {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chatbot-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 191, 31, 0.45);
  background: linear-gradient(145deg, #ffca3a 0%, #ffb300 100%);
  color: #222;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 191, 31, 0.22) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 0;
  position: relative;
}

.chatbot-toggle:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 191, 31, 0.3) inset;
}

.chatbot-toggle svg {
  width: 26px;
  height: 26px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: calc(52px + 10px);
  width: min(360px, calc(100vw - 30px));
  height: min(480px, calc(100vh - 100px));
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.chatbot-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: none;
  color: var(--gold-500);
  cursor: pointer;
  transition: all 0.3s;
}

.chatbot-close:hover {
  transform: scale(1.2);
}
