:root {
  color-scheme: dark;
  --bg: #0c1116;
  --bg-glow: rgba(79, 209, 197, 0.09);
  --panel: #141a21;
  --panel-2: #0f141a;
  --border: #1f2a33;
  --text: #e6edf3;
  --muted: #9aa7b4;
  --accent: #4fd1c5;
  --ring: rgba(79, 209, 197, 0.35);
}


/* ====== Reset ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ====== Body ====== */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #dcdcdc;
    line-height: 1.6;
    padding: 20px;
}

/* ====== Main Card Container ====== */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    overflow: hidden;
    height: 88vh;
    display: flex;
    flex-direction: column;
}



/* ====== Header ====== */
.site-header {
    background: linear-gradient(to bottom, #7fa2dd, #5e84c9);
    padding: 30px 25px;
    color: white;
}

.site-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.site-header p {
    font-size: 16px;
    opacity: 0.95;
}

/* ====== Navigation ====== */
.navbar {
    background: #e6e6e6;
    padding: 12px 25px;
    border-bottom: 1px solid #ccc;
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.navbar a:hover {
    color: #5e84c9;
}

/* ====== Content ====== */
.content {
    padding: 30px 25px;
}

.content h2 {
    color: #2f5ea7;
    margin-bottom: 20px;
}

.content p {
    margin-bottom: 15px;
    text-align: left;
}

.signature {
    margin-top: 30px;
}

/* ====== Footer ====== */
.footer {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: #666;
}

.footer a {
    color: #2f5ea7;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ====== Responsive Design ====== */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .site-header {
        padding: 20px;
    }

    .site-header h1 {
        font-size: 22px;
    }

    .content {
        padding: 20px;
    }

    .navbar {
        padding: 10px 20px;
    }
}


/* === Chat == */
.layout {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: 100%;
  min-height: 0;
}

.chat-section {
  display: flex;
  justify-content: center;
  height: 100%;
  min-height: 0;
}

main {
  flex: 1;
  min-height: 0;
}

.chat-input {
  width: min(760px, 92vw);
  background: #e6e6e6;
  border: 1px solid #ccc;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chat-input input {
  flex: 1;
  color: #000;
  background: transparent;
  border: none;
  font-size: 1rem;
  line-height: 1.4;
  min-height: 48px;
  resize: none;
  outline: none;
}

.actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  border: 1px solid #ccc;
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.icon-btn.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: 500;
  line-height: 1;
}

.icon-btn:hover {
  transform: translateY(-1px);
  border-color: #7fa2dd;
}

.icon-btn:focus-visible {
  outline: 2px solid;
  outline-offset: 2px;
}

.chat-area {
  display: flex;
  justify-content: center;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.input-area {
  display: flex;
  justify-content: center;
  width: 100%;
  flex-shrink: 0;
  margin-bottom: 12px;
}

.chatbox {
  list-style: none;
  margin: 5px;
  padding: 0;
  width: min(760px, 92vw);
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: none;
}

.chatbox::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.chat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.chat span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #1b242e;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
}

.chat .material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: 500;
  line-height: 1;
}


.chat p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  max-width: 70%;
  line-height: 1.4;
  color: #000;
  background: #e6e6e6;
  border-color: #ccc;
}


.chat.outgoing {
  justify-content: flex-end;
}

.chat.outgoing p {
  color: #000;
  background: #e6e6e6;
  border-color: #ccc;
}

