/* Skin: ONTOP — dark background, gold accent, Montserrat */
:root {
  --tg-color-primary:      #F5B700;
  --tg-color-secondary:    #CF9A00;
  --tg-color-gradient:     linear-gradient(180deg, #FFBE00 0%, #CF9A00 100%);
  --tg-color-bg:           #282828;
  --tg-color-text:         #ebebeb;
  --tg-color-border:       #3f3f3f;
  --tg-color-btn-shadow:   rgba(245, 183, 0, 0.35);
  --tg-color-btn-shadow-h: rgba(245, 183, 0, 0.55);
  --tg-color-online:       #35CC24;
  --tg-color-offline:      #888888;
  --tg-color-author:       #F5B700;
  --tg-color-focus-ring:   rgba(245, 183, 0, 0.45);

  /* Header: dark background, gold text */
  --tg-header-bg:           #212121;
  --tg-header-text-color:   #F5B700;
  --tg-header-close-color:  #F5B700;
  --tg-header-close-bg:     #313131;
  --tg-header-close-border: #3f3f3f;
  --tg-header-close-hover:  #3f3f3f;
  --tg-header-close-hover-color: #FFBE00;
  --tg-header-close-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  --tg-header-close-hover-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  --tg-avatar-border-color: rgba(245, 183, 0, 0.4);

  /* Shapes: matches ONTOP popup modals (ui-dialog = 30px) */
  --tg-panel-radius:  10px;
  --tg-bubble-radius: 4px;
  --tg-input-radius:  10px;
  --tg-send-radius:   20px;

  /* Typography */
  --tg-font-family: 'Montserrat', sans-serif;

  /* Send button: gold, matches site theme */
  --tg-send-bg: #F5B700;
}

/* Dark header separator — rounded top corners match popup modals */
.tg-chat-header {
  border-bottom: 1px solid #3f3f3f;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  border-radius: 10px 10px 0 0;
}

/* Gold send button — matches site theme buttons */
#tg-send {
  background: #F5B700;
  border-radius: 20px;
  border: none;
  border-bottom: 2px solid #846200;
  box-shadow: 0px 1px 1px 0px rgba(255, 255, 255, 0.25) inset, 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
  color: rgba(0, 0, 0, 0.7);
  font-weight: 800;
  letter-spacing: 0.05em;
}

#tg-send:hover {
  opacity: 1;
  transform: none;
  background: #FFBE00;
  box-shadow: 0px 1px 1px 0px rgba(255, 255, 255, 0.25) inset, 0px 4px 8px 0px rgba(245, 183, 0, 0.4);
  color: rgba(0, 0, 0, 0.7);
}

/* Dark chat bubbles */
.tg-message {
  background: #313131;
  color: #ebebeb;
}

.tg-bubble-in {
  background: #313131;
  color: #ebebeb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Input field: dark */
.tg-chat-field input,
.tg-chat-field textarea {
  background: #313131;
  color: #ebebeb;
  border-color: #3f3f3f;
}

.tg-chat-field input::placeholder,
.tg-chat-field textarea::placeholder {
  color: #888888;
}
