.timeact-app-footer {
  position: relative;
  z-index: 20;
  padding: 0.35rem 0;
  overflow: visible;
  scroll-margin-top: 6rem;
  background: #000;
  color: #fff;
}

.timeact-app-footer.is-support-open {
  z-index: 1090;
}

.timeact-app-footer-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 3.35rem;
  padding: 0 0.9rem;
}

.timeact-app-footer-social,
.timeact-app-footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.timeact-privacy-page {
  min-height: calc(100vh - 4rem);
  padding: 5rem 0;
  background: #f7f9fc;
}

.timeact-privacy-content {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 1rem 3rem rgba(26, 36, 54, 0.08);
}

.timeact-privacy-content h1 {
  margin-bottom: 2rem;
}

.timeact-privacy-content h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.timeact-privacy-content p {
  line-height: 1.75;
}

.timeact-cookie-banner {
  position: fixed;
  z-index: 1200;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: #111827;
  color: #fff;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.28);
}

.timeact-cookie-banner[hidden] {
  display: none;
}

.timeact-cookie-copy {
  max-width: 760px;
}

.timeact-cookie-copy strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.timeact-cookie-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.5;
}

.timeact-cookie-copy a {
  color: #fff;
  text-decoration: underline;
}

.timeact-cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.65rem;
}

@media (max-width: 767.98px) {
  .timeact-cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .timeact-cookie-actions button {
    flex: 1 1 0;
  }
}

.timeact-app-footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.timeact-app-footer-icon i {
  font-size: 1.68rem;
}

.timeact-app-footer-icon[aria-expanded="true"],
.timeact-app-footer-icon:hover,
.timeact-app-footer-icon:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  outline: 0;
}

.timeact-app-footer-icon:active {
  transform: scale(0.95);
}

.timeact-app-footer-tagline {
  position: relative;
  min-width: 0;
  min-height: 1.4rem;
  overflow: hidden;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.timeact-app-footer-tagline span {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: timeact-footer-tagline 14s ease-in-out infinite;
}

.timeact-app-footer-tagline span:last-child {
  position: absolute;
  inset: 0;
  animation-delay: 7s;
  opacity: 0;
}

.timeact-support-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1091;
  border: 0;
  padding: 0;
  background: rgba(13, 13, 13, 0.58);
  backdrop-filter: blur(4px);
  cursor: default;
  animation: timeact-support-backdrop-in 180ms ease;
}

.timeact-support-backdrop[hidden],
.timeact-support-panel[hidden] {
  display: none !important;
}

.timeact-support-panel {
  position: fixed !important;
  top: 50%;
  left: 50%;
  z-index: 1092;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(48rem, calc(100vw - 2rem));
  height: min(42rem, calc(100dvh - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
  border: 1px solid rgba(166, 45, 45, 0.16);
  border-radius: 1.15rem;
  background: #fff;
  color: #211a1a;
  box-shadow: 0 2rem 5rem rgba(13, 13, 13, 0.38);
  transform: translate(-50%, -50%);
  animation: timeact-support-panel-in 220ms ease;
}

.timeact-support-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.35rem;
  padding: 0.85rem 1.1rem;
  background: #000;
  color: #fff;
}

.timeact-support-panel-head strong {
  font-size: 1.08rem;
}

.timeact-support-panel-head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.timeact-support-panel-head button i {
  font-size: 1.1rem;
}

.timeact-about-panel {
  grid-template-rows: auto auto;
  width: min(42rem, calc(100vw - 2rem));
  height: auto;
}

.timeact-about-panel-head {
  position: relative;
  justify-content: center;
  min-height: 4rem;
  padding: 1rem 4rem;
  text-align: center;
}

.timeact-about-panel-head button {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

.timeact-about-content {
  display: grid;
  gap: 1.5rem;
  padding: 2.25rem;
  color: #433838;
  font-size: 1rem;
  line-height: 1.75;
  text-align: center;
}

.timeact-about-content p,
.timeact-about-content strong {
  margin: 0;
}

.timeact-about-content strong {
  display: block;
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(216, 30, 30, 0.14);
  border-radius: 0.9rem;
  background: #fff5f5;
  color: #a61f1f;
}

.timeact-chat-panel {
  width: min(36rem, calc(100vw - 2rem));
  height: min(44rem, calc(100dvh - 2rem));
  border-radius: 1.35rem;
  background: #f6f3f3;
}

.timeact-chat-panel-head {
  min-height: 4.2rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #000 0%, #261b1b 100%);
}

.timeact-chat-agent {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.75rem;
}

.timeact-chat-agent strong,
.timeact-chat-agent small {
  display: block;
}

.timeact-chat-agent strong {
  line-height: 1.15;
}

.timeact-chat-agent small {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
}

.timeact-chat-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  background: #f20505;
  color: #fff;
  box-shadow: 0 0 0 0.28rem rgba(242, 5, 5, 0.18);
}

.timeact-chat-avatar i {
  font-size: 1.35rem;
}

.timeact-chat-status-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 0.24rem rgba(34, 197, 94, 0.16);
}

.timeact-support-form {
  display: grid;
  gap: 0.9rem;
  min-height: 0;
  overflow-y: auto;
  padding: 1.15rem;
}

.timeact-support-form textarea,
.timeact-support-form input {
  width: 100%;
  border: 1px solid rgba(166, 45, 45, 0.18);
  border-radius: 0.85rem;
  background: #fffafa;
  color: #211a1a;
  font: inherit;
}

.timeact-support-form textarea {
  min-height: 8rem;
  padding: 0.85rem;
  resize: vertical;
}

.timeact-support-form input {
  padding: 0.7rem 0.75rem;
}

.timeact-support-form textarea:focus,
.timeact-support-form input:focus {
  border-color: rgba(242, 5, 5, 0.36);
  outline: 2px solid rgba(242, 5, 5, 0.16);
}

.timeact-support-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.45rem;
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: #f20505;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.timeact-support-form button[type="submit"] i {
  font-size: 1.1rem;
}

.timeact-support-form button[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.timeact-chat-shell {
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 0;
  overflow: hidden;
  padding: 0;
  background: #f6f3f3;
}

.timeact-support-intro {
  margin: 0;
  color: #4a3a3a;
  font-size: 0.9rem;
  line-height: 1.45;
}

.timeact-support-message-list {
  display: grid;
  gap: 0.55rem;
  max-height: 16rem;
  overflow: auto;
  padding-right: 0.15rem;
}

.timeact-chat-transcript {
  align-content: start;
  gap: 0.7rem;
  height: 100%;
  max-height: none;
  overflow-y: auto;
  padding: 1rem;
  background: radial-gradient(circle at 18% 12%, rgba(242, 5, 5, 0.07), transparent 20rem), #f6f3f3;
}

.timeact-support-message-empty {
  display: block;
  border-radius: 0.8rem;
  padding: 0.85rem;
  background: #f2f2f2;
  color: #6b5a5a;
  font-size: 0.88rem;
  text-align: center;
}

.timeact-support-message {
  border: 1px solid rgba(166, 45, 45, 0.12);
  border-radius: 0.85rem;
  background: #fffafa;
  max-width: 82%;
  padding: 0.7rem;
  box-shadow: 0 0.7rem 1.6rem rgba(13, 13, 13, 0.06);
}

.timeact-support-message p {
  margin: 0.35rem 0 0;
  color: #211a1a;
  font-size: 0.9rem;
  line-height: 1.4;
  white-space: pre-wrap;
}

.timeact-support-message-agent {
  justify-self: start;
  border-top-left-radius: 0.25rem;
  background: #fff;
}

.timeact-support-message-user {
  justify-self: end;
  border-color: rgba(242, 5, 5, 0.1);
  border-top-right-radius: 0.25rem;
  background: #f20505;
  color: #fff;
}

.timeact-support-message-user p {
  color: #fff;
}

.timeact-support-message-user .timeact-support-message-meta {
  color: rgba(255, 255, 255, 0.75);
}

.timeact-support-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  color: #7d5151;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.timeact-chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.65rem;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(13, 13, 13, 0.08);
  background: #fff;
}

.timeact-chat-composer textarea {
  min-height: 2.85rem !important;
  max-height: 8.25rem;
  padding: 0.78rem 1rem;
  resize: none;
  border-radius: 1.2rem;
  background: #f8f6f6;
}

.timeact-chat-composer button[type="submit"] {
  justify-content: center;
  justify-self: auto;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  border-radius: 999px;
}

.timeact-chat-composer button[type="submit"] i {
  font-size: 1.18rem;
}

.timeact-chat-shell .timeact-support-status {
  margin: 0.65rem 1rem 0;
}

.timeact-support-field {
  display: grid;
  gap: 0.35rem;
  color: #211a1a;
  font-size: 0.84rem;
  font-weight: 800;
}

.timeact-support-status {
  margin: 0;
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.timeact-support-status.success {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.timeact-support-status.error {
  background: rgba(242, 5, 5, 0.1);
  color: #991b1b;
}

@media (max-width: 767.98px) {
  .timeact-app-footer-inner {
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0 0.45rem;
  }

  .timeact-app-footer-icon {
    width: 2.15rem;
    height: 2.15rem;
  }

  .timeact-app-footer-icon i {
    font-size: 1.5rem;
  }

  .timeact-app-footer-tagline {
    font-size: 0.9rem;
  }

  .timeact-support-panel {
    width: calc(100vw - 1.5rem);
    height: min(40rem, calc(100dvh - 1.5rem));
    max-height: calc(100dvh - 1.5rem);
    border-radius: 1rem;
  }

  .timeact-about-panel {
    height: auto;
  }

  .timeact-about-content {
    gap: 1.1rem;
    padding: 1.4rem;
  }

  .timeact-support-form textarea {
    min-height: 7rem;
  }
}

@keyframes timeact-support-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes timeact-support-panel-in {
  from {
    opacity: 0;
    transform: translate(-50%, -47%) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes timeact-footer-tagline {
  0%,
  42% {
    opacity: 1;
    transform: translateY(0);
  }

  50%,
  92% {
    opacity: 0;
    transform: translateY(-0.35rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeact-support-backdrop,
  .timeact-support-panel,
  .timeact-app-footer-tagline span {
    animation: none;
  }

  .timeact-app-footer-tagline span:last-child {
    display: none;
  }
}
