/* =========================================================
   DOSTI CODY CHAT — NEON CYBER THEME
   SiteHub website-shell CSS
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #05070b;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:#080b12;
    radial-gradient(circle at 15% 10%, rgba(0, 229, 255, 0.12), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(155, 70, 255, 0.14), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(0, 229, 255, 0.07), transparent 35%),
    #05070b;
  color: #f4f7ff;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  height: 56px;
  width: 100%;

  display: flex;
  align-items: center;

  padding: 0 20px;

  background:#0d111a;
    linear-gradient(
      90deg,
      rgba(8, 12, 20, 0.98),
      rgba(15, 10, 28, 0.98),
      rgba(8, 12, 20, 0.98)
    );

  border-bottom: 1px solid #263142;

  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

.logo {
  color: #f4f7ff
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.3px;

  text-shadow: none;

  white-space: nowrap;
}

/* =========================================================
   MAIN CHAT AREA
   ========================================================= */

.chat-container {
  width: min(1400px, 100%);
  margin: 0 auto;

  padding: 6px;
}

.chat-box {
  position: relative;

  width: 100%;
  height: calc(100vh - 92px);

  min-height: 520px;

  background:#10151f;
    linear-gradient(
      145deg,
      rgba(13, 18, 28, 0.98),
      rgba(8, 11, 19, 0.98)
    );

  border: 1px solid #303b4d;

  border-radius: 7px;

  overflow: hidden;

  box-shadow:0 5px 20px
  rgba(0,0,0,.35);
}

/* =========================================================
   MAIN ROOM TITLE
   ========================================================= */

.chat-title {
  height: 44px;

  display: flex;
  align-items: center;

  padding: 0 12px;

  background:#121925;
    linear-gradient(
      90deg,
      rgba(0, 229, 255, 0.08),
      rgba(139, 92, 246, 0.10),
      transparent
    );

  color: #dce6f3

  border-bottom: 1px solid #303b4d;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;

  text-shadow:
    0 0 7px rgba(0, 229, 255, 0.65);
}

/* =========================================================
   MINNIT EMBED AREA
   ========================================================= */

.minnit-area {
  position: relative;

  width: 100%;
  height: calc(100% - 48px);

  background: #0f141d;

  overflow: hidden;
}

/*
   The following styling targets the surrounding embed only.
   Minnit's internal chat UI may not respond because it is
   rendered by the embedded Minnit application.
*/

.minnit-area iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;

  background: #080b10;
}

/* =========================================================
   GENERAL LINKS
   ========================================================= */

a {
  color: #00e5ff;
  text-decoration: none;

  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

a:hover {
  color: #8b5cf6;

  text-shadow:
    0 0 8px rgba(139, 92, 246, 0.75);
}

/* =========================================================
   BUTTONS
   ========================================================= */

button {
  border: 1px solid rgba(0, 229, 255, 0.5);

  background:
    linear-gradient(
      135deg,
      rgba(0, 229, 255, 0.10),
      rgba(139, 92, 246, 0.12)
    );

  color: #ffffff;

  border-radius: 9px;

  padding: 9px 14px;

  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 0 10px rgba(0, 229, 255, 0.08);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

button:hover {
  border-color: #00e5ff;

  background:
    linear-gradient(
      135deg,
      rgba(0, 229, 255, 0.18),
      rgba(139, 92, 246, 0.20)
    );

  box-shadow:
    0 0 15px rgba(0, 229, 255, 0.25),
    0 0 25px rgba(139, 92, 246, 0.12);

  transform: translateY(-1px);
}

/* =========================================================
   INPUTS
   ========================================================= */

input,
textarea,
select {
  background: #0b1018;

  color: #ffffff;

  border: 1px solid #203746;

  border-radius: 8px;

  padding: 10px;

  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #7d8998;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #00e5ff;

  box-shadow:
    0 0 8px rgba(0, 229, 255, 0.25),
    0 0 18px rgba(0, 229, 255, 0.08);
}

/* =========================================================
   CARDS
   ========================================================= */

.card,
.preview-card,
.feature-card {
  background:
    linear-gradient(
      145deg,
      rgba(15, 22, 34, 0.96),
      rgba(9, 13, 22, 0.96)
    );

  border: 1px solid rgba(0, 229, 255, 0.22);

  border-radius: 14px;

  box-shadow:
    0 0 15px rgba(0, 229, 255, 0.06),
    0 12px 30px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   SITE SHELL
   ========================================================= */

.site-shell {
  background: transparent;
  color: #f4f7ff;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  color: #778394;

  border-top: 1px solid rgba(0, 229, 255, 0.12);

  background: rgba(5, 7, 11, 0.8);
}

/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #070a10;
}

::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      #00e5ff,
      #8b5cf6
    );

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(
      #20f0ff,
      #a879ff
    );
}

/* =========================================================
   SELECTION
   ========================================================= */

::selection {
  background: rgba(0, 229, 255, 0.28);
  color: #ffffff;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .header {
    height: 58px;
    padding: 0 14px;
  }

  .logo {
    font-size: 18px;
  }

  .chat-container {
    padding: 8px;
  }

  .chat-box {
    height: calc(100vh - 74px);
    min-height: 450px;

    border-radius: 12px;
  }

  .chat-title {
    height: 44px;

    padding: 0 13px;

    font-size: 14px;
  }

  .minnit-area {
    height: calc(100% - 44px);
  }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

  .header {
    padding: 0 11px;
  }

  .logo {
    font-size: 16px;
  }

  .chat-container {
    padding: 5px;
  }

  .chat-box {
    min-height: 420px;
    border-radius: 10px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Minnit footer */
.powered-by-minnit {
  font-size: 11px;
  opacity: 0.45;
  margin-top: 5px;
  text-align: center;
  color: #7d8998;
}

.powered-by-minnit a {
  color: #7d8998 !important;
}