@charset "UTF-8";

/* src/styles.scss */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --green: #25D366;
  --green-dark: #128C7E;
  --blue: #3b82f6;
  --orange: #f97316;
  --red: #ef4444;
  --g50: #f9fafb;
  --g100: #f3f4f6;
  --g200: #e5e7eb;
  --g400: #9ca3af;
  --g600: #4b5563;
  --g800: #1f2937;
  --sidebar: 310px;
  --radius: 8px;
}
body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--g50);
  color: var(--g800);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fg {
  margin-bottom: 15px;
}
.fg label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--g600);
  margin-bottom: 5px;
}
input[type=text],
input[type=password],
input[type=number],
input[type=email],
input[type=date],
textarea,
select {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--g200);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: border 0.15s;
  background: white;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  outline: none;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.12s;
  font-family: inherit;
}
.btn:hover:not(:disabled) {
  opacity: 0.85;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--green);
  color: white;
}
.btn-danger {
  background: var(--red);
  color: white;
}
.btn-ghost {
  background: var(--g100);
  color: var(--g800);
}
.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}
.btn-icon {
  padding: 5px 7px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  color: var(--g400);
  font-size: 0.9rem;
}
.btn-icon:hover {
  background: var(--g100);
  color: var(--red);
}
.full {
  width: 100%;
  justify-content: center;
}
.act-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}
.b-sub {
  background: #dbeafe;
  color: #1d4ed8;
}
.b-msg {
  background: #dcfce7;
  color: #15803d;
}
.b-agt {
  background: #ffedd5;
  color: #c2410c;
}
.b-col {
  background: #f3e8ff;
  color: #7e22ce;
}
.b-svc {
  background: #fef9c3;
  color: #854d0e;
}
.b-prod {
  background: #d1fae5;
  color: #065f46;
}
.b-off {
  background: var(--g200);
  color: var(--g600);
}
.b-pending {
  background: #fff7ed;
  color: var(--orange);
}
.b-active {
  background: #dcfce7;
  color: #15803d;
}
.b-closed {
  background: var(--g200);
  color: var(--g600);
}
.b-sector {
  background: #ede9fe;
  color: #7c3aed;
}
.card {
  background: white;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  max-width: 680px;
  margin-bottom: 16px;
}
.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast-container {
  position: fixed;
  bottom: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 999;
}
.toast {
  padding: 11px 16px;
  border-radius: var(--radius);
  color: white;
  font-size: 0.86rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  animation: tIn 0.18s ease;
  max-width: 300px;
  cursor: pointer;
}
.t-success {
  background: #16a34a;
}
.t-error {
  background: var(--red);
}
.t-info {
  background: var(--blue);
}
.t-warning {
  background: var(--orange);
}
@keyframes tIn {
  from {
    transform: translateX(110%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.chat-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  max-width: 72%;
}
.chat-group.user {
  align-self: flex-end;
  align-items: flex-end;
}
.chat-group.agent {
  align-self: flex-start;
  align-items: flex-start;
}
.chat-group.bot {
  align-self: flex-start;
  align-items: flex-start;
}
.bubble {
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-group.user .bubble {
  background: #dcfce7;
  color: var(--g800);
  border-bottom-right-radius: 4px;
}
.chat-group.agent .bubble {
  background: white;
  border: 1px solid var(--g200);
  border-bottom-left-radius: 4px;
}
.chat-group.bot .bubble {
  background: #e0f2fe;
  border-bottom-left-radius: 4px;
}
.bubble-time {
  font-size: 0.7rem;
  color: var(--g400);
  padding: 0 4px;
}
.chat-group.user .bubble-time {
  text-align: right;
}
.chat-date-divider {
  text-align: center;
  font-size: 0.75rem;
  color: var(--g400);
  margin: 16px 0 10px;
  position: relative;
}
.chat-date-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--g200);
  z-index: 0;
}
.chat-date-divider span {
  background: var(--g50);
  padding: 0 10px;
  position: relative;
  z-index: 1;
}
.tab-bar {
  display: flex;
  gap: 2px;
  background: var(--green-dark);
  padding: 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}
.tab {
  padding: 9px 18px;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.tab:hover {
  color: white;
}
.tab.active {
  color: white;
  border-bottom-color: var(--green);
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.modal {
  background: white;
  border-radius: 12px;
  padding: 28px;
  width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.modal h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.modal p {
  color: var(--g600);
  font-size: 0.88rem;
  margin-bottom: 22px;
  line-height: 1.5;
}
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.empty-state {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--g400);
}
.empty-state .icon {
  font-size: 3rem;
}
.empty-state p {
  font-size: 0.9rem;
  text-align: center;
  max-width: 260px;
  line-height: 1.5;
}
[hidden] {
  display: none !important;
}
@media (max-width: 768px) {
  .tab-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding: 0 8px;
    scrollbar-width: none;
  }
  .tab-bar::-webkit-scrollbar {
    display: none;
  }
  .tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 9px 12px;
    font-size: 0.8rem;
  }
  .modal {
    width: 92vw;
    padding: 20px 16px;
  }
  .card {
    max-width: 100%;
  }
  .toast-container {
    right: 10px;
    left: 10px;
  }
  .toast-container .toast {
    max-width: 100%;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
