/* ==========================================
   PART 1: GLOBAL STYLES & HEADER/SIDEBAR
   ========================================== */

* {  
  margin: 0;  
  padding: 0;  
  box-sizing: border-box;  
  font-family: system-ui, Arial, sans-serif;
}

/* 🌤 LIGHT MODE */
body {  
  background: #f0f2f5;  
  color: #111;  
  transition: background .3s ease, color .3s ease;
}

a {
  color: #000;
  text-decoration: none;
}
a:hover {
  color: #4f5256;
}

/* HEADER LIGHT */
.app-header {  
  position: sticky;  
  top: 0;  
  z-index: 1000;  
  display: flex;  
  align-items: center;  
  justify-content: space-between;  
  padding: 10px 12px;  
  background: #fff;  
  border-bottom: 1px solid #ddd;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

/* ICONS */
.icon-btn, .right-icons button {  
  width: 40px;  
  height: 40px; 
  color: #000;
  display: flex;  
  align-items: center;  
  justify-content: center;  
  border: none;  
  background: transparent;  
  border-radius: 10px;  
  cursor: pointer;  
  transition: .2s;
}

.icon-btn i, .right-icons button i {  
  font-size: 22px;
}

.icon-btn:hover, .right-icons button:hover {  
  background: #e4e6eb;
}

/* LOGO */
.logo {  
  font-size: 20px;  
  font-weight: 800;  
  color: #1877f2;  
  text-decoration: none;  
  padding: 6px 8px;  
  border-radius: 8px;
}

.logo:hover {  
  background: #e4e6eb;
}

/* RIGHT ICONS */
.right-icons {  
  display: flex;  
  gap: 8px;  
  align-items: center;
}

/* MESSAGE COUNT */
.msg-count {
  font-size: 9px;
  background: #ff3b30;
  color: #fff;
  padding: 2px;
  border-radius: 5px;
  position: relative;
  top: -5px;
  line-height: 1;
}

/* SIDEBAR */
.drawer {  
  position: fixed;  
  top: 0;  
  left: -280px;  
  width: 260px;  
  height: 100%;  
  background: #fff;  
  transition: .25s ease;  
  z-index: 1002;  
  padding: 15px;  
  box-shadow: 2px 0 10px rgba(0,0,0,.1);
}

.drawer.active {  
  left: 0;
}

/* SIDEBAR HEADER */
.drawer-header {  
  display: flex;  
  justify-content: space-between;  
  align-items: center;  
  font-size: 18px;  
  font-weight: 700;  
  color: #1877f2;  
  margin-bottom: 15px;
}

/* CLOSE BTN */
.close-btn {  
  border: none;  
  background: transparent;  
  font-size: 20px;  
  cursor: pointer;
}

/* LINKS */
.drawer a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  text-decoration: none;
  color: #222;
  border-radius: 8px;
  transition: .2s;
  border-bottom: 1px solid #f0f0f0;
}

.drawer a:hover {  
  background: #f0f2f5;
}

/* OVERLAY */
.overlay {  
  position: fixed;  
  top: 0;  
  left: 0;  
  width: 100%;  
  height: 100%;  
  background: transparent;  
  opacity: 0;  
  visibility: hidden;  
  pointer-events: none;  
  transition: .2s;  
  z-index: 1001;
}

.overlay.active {  
  opacity: 1;  
  visibility: visible;  
  pointer-events: auto;
}

/* 🌙 DARK MODE (FINAL FIX) */
body.dark {  
  background: #151518;  
  color: #fff;
}

/* Dark Mode State */
body.dark a {
  color: #fff;
}

/* HEADER DARK (LIGHTER THAN BLACK) */
body.dark .app-header {  
  background: #1c1e22;  
  border-bottom: 1px solid #2a2d33;
  box-shadow:0 6px 18px rgba(0,0,0,0.5);
}

/* SIDEBAR DARK */
body.dark .drawer {  
  background: #1c1e22;  
  border-right: 1px solid #2a2d33;
}

/* LINKS DARK */
body.dark .drawer a {
  color: #fff;
  border-bottom: 1px solid #2a2d35;
}

body.dark .drawer a:hover {  
  background: #2a2d33;
}

/* ICONS DARK */
body.dark .icon-btn, body.dark .right-icons button, body.dark .icon-btn i, body.dark .right-icons button i {  
  color: #fff;
}

/* LOGO DARK */
body.dark .logo {  
  color: #1877f2;
}

/* HOVER DARK */
body.dark .icon-btn:hover, body.dark .right-icons button:hover, body.dark .logo:hover {  
  background: #2a2d33;
}

/* CLOSE BUTTON */
body.dark .close-btn {  
  color: #fff;
}


/* ==========================================
   PART 2: FOOTER STYLES
   ========================================== */

.app-footer {  
  width: 100%;  
  display: flex;  
  justify-content: space-between;  
  align-items: center;  
  flex-wrap: nowrap;  
  overflow-x: hidden;  
  padding: 0;  
  background: #fff;  
  border-top: 1px solid #ddd;
  box-shadow:0 4px 12px rgba(0,0,0,0.12);
}

/* ICON ITEM */
.app-footer a {  
  flex: 1;  
  min-width: 0;  
  display: flex;  
  flex-direction: column;  
  align-items: center;  
  gap: 2px;  
  text-decoration: none;  
  color: #444;  
  font-size: 12px;  
  padding: 10px 4px;  
  transition: 0.2s;
}

/* ICON SIZE SMALLER */
.app-footer a i {  
  font-size: 20px;
}

/* HOVER */
.app-footer a:hover {  
  background: #f0f2f5;
}

/* DARK MODE */
body.dark .app-footer {  
  background: #1c1e22;  
  border-top: 1px solid #2a2d33;
  box-shadow:0 6px 18px rgba(0,0,0,0.45);
}

body.dark .app-footer a {  
  color: #fff;
}

body.dark .app-footer a:hover {  
  background: #2a2d33;
}


/* ==========================================
   PART 3: CREATE POST STYLES
   ========================================== */

.create-post {  
  background: #fff;  
  padding: 12px;  
  border-radius: 12px;  
  margin: 10px;  
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

/* TOP ROW */
.post-top {  
  display: flex;  
  align-items: center;  
  gap: 10px;  
  padding-bottom: 10px;  
  border-bottom: none; /* removed extra line */
}

/* ICON */
.post-top i {  
  font-size: 36px;  
  flex-shrink: 0;
}

.post-top img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

/* INPUT */
.post-top input {  
  flex: 1;  
  min-width: 0;  
  border: none;  
  outline: none;  
  font-size: 14px;  
  background: transparent;  
  color: #111;
}

/* Textarea */
.post-top textarea {
  flex:1;
  min-width:0;
  border:1px solid #dcdcdc;
  outline:none;
  font-size:15px;
  line-height:1.4;
  background:#fff;
  color:#111;
  resize:vertical;
  padding:10px;
  border-radius:10px;
  overflow:auto;
}

.post-top textarea::placeholder {
  color:#888;
}

/* SUBMIT */
.post-submit {  
  padding: 8px 12px;  
  border: none;  
  border-radius: 8px;  
  background: #1877f2;  
  color: #fff;  
  font-weight: 600;  
  cursor: pointer;  
  white-space: nowrap;  
  flex-shrink: 0;
}

.post-submit:hover {  
  background: #145fd0;
}

/* SINGLE DIVIDER ONLY */
.post-action {  
  display: flex;  
  justify-content: space-around;  
  padding-top: 10px;  
  border-top: 1px solid #eee;
}

/* ACTION BUTTONS */
.action-btn {  
  display: flex;  
  align-items: center;  
  gap: 6px;  
  cursor: pointer;  
  font-size: 13px;  
  color: #444;  
  border: none;  
  background: transparent;  
  padding: 6px;  
  border-radius: 8px;
}

.action-btn i {  
  font-size: 18px;
}

.action-btn:hover {  
  background: #f0f2f5;
}

/* 🌙 DARK MODE */
body.dark .create-post {  
  background: #1c1e22;
}

body.dark .post-top input {  
  color: #fff;
}

body.dark .action-btn {  
  color: #fff;
}

body.dark .action-btn:hover {  
  background: #2a2d33;
}

body.dark .post-submit {  
  background: #2d88ff;
}

body.dark .post-submit:hover {  
  background: #1f6fd1;
}

body.dark .post-actions {  
  border-top: 1px solid #2a2d33;
}

/* Textarea */
body.dark .post-top textarea {
  color:#f1f1f1;
  border:1px solid #3a3f4a;
  background:#2a2d35;
}

body.dark .post-top textarea::placeholder {
  color:#777;
}


/* ==========================================
   PART 4: STORY BAR STYLES
   ========================================== */

.story-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 10px 0;
  padding: 10px 10px 10px 18px;
  background: #fff;
}

.story-bar::-webkit-scrollbar {
  display: none;
}

/* STORY CARD */
.story {
  flex: 0 0 auto;
  width: 90px;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* IMAGE */
.story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* NAME */
.story-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
}

/* ADD STORY */
.add-story {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #e4e6eb;
  color: #111;
}

.add-story i {
  font-size: 26px;
  margin-bottom: 6px;
}

/* DARK MODE */
body.dark .story-bar {
  background: #1c1e22;
}

body.dark .add-story {
  background: #2a2d33;
  color: #fff;
}


/* ==========================================
   PART 5: FEED & POST STYLES
   ========================================== */

.feed {  
  padding: 10px;
}

/* POST */
.post {  
  background: #fff;  
  padding: 12px;  
  border-radius: 12px;  
  margin-bottom: 10px;  
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

/* HEADER */
.post-header {  
  display: flex;  
  align-items: center;  
  gap: 10px;
}

/* AVATAR */
.post-header > i {  
  font-size: 40px;
}

.post-header img {  
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* USER INFO */
.post-user {  
  display: flex;  
  flex-direction: column;  
  flex: 1; 
  text-transform: capitalize;
}

.post-user a {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  color: inherit;
}

.post-user strong {  
  font-size: 16px;
}

.post-user small {  
  font-size: 11px;  
  color: #777;
}

/* MENU WRAP */
.menu-wrap {  
  position: relative;
}

/* 3 DOT BUTTON */
.post-menu {  
  background: transparent;  
  border: none;  
  cursor: pointer;  
  padding: 6px;  
  border-radius: 8px;  
  display: flex;  
  align-items: center;  
  justify-content: center;
}

.post-menu i {  
  font-size: 18px;  
  color: #444;
}

.post-menu:hover {  
  background: #f0f2f5;
}

/* DROPDOWN */
.dropdown-menu {  
  position: absolute;  
  right: 0;  
  top: 30px;  
  width: 130px;  
  background: #fff;  
  border-radius: 10px;  
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);  
  display: none;  
  flex-direction: column;  
  overflow: hidden;  
  z-index: 999;
}

/* MENU ITEMS */
.dropdown-menu button, .dropdown-menu a {  
  width: 100%;  
  padding: 8px;  
  border: none;  
  background: none;  
  text-align: left;  
  cursor: pointer;  
  font-size: 13px;  
  border-bottom: 1px solid #eee;
}

.dropdown-menu button:last-child, .dropdown-menu a:last-child {  
  border-bottom: none;
}

.dropdown-menu button:hover, .dropdown-menu a:hover {  
  background: #f0f2f5;
}

/* POST BODY */
.post-body a {  
  display: block;
}

.post-body a:hover {  
  border-radius: 10px;
}

/* POST TEXT */
.post-text {  
  font-size: 15px;  
  margin: 10px;  
  color: #222;
  padding: 5px 0;
}

/* IMAGE */
.post-img {  
  max-width: 98%;  
  border-radius: 10px;  
  margin: 5px 5px 10px 5px;
}

/* ACTIONS */
.post-actions {  
  display: flex;  
  justify-content: space-around;  
  margin-top: 10px;  
  border-top: 1px solid #eee;  
  padding-top: 8px;
}

.post-actions button {  
  background: none;  
  border: none;  
  cursor: pointer;  
  font-size: 14px;  
  color: #444;  
  display: flex;  
  align-items: center;  
  gap: 5px;
  padding: 6px 12px;     
  border-radius: 6px;    
  position: relative;
}

.post-actions button:hover {
  background: rgba(24, 119, 242, 0.08);
  color: #1877f2;
}

.post-actions button:hover i {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

.post-actions button span {
  font-size: 9px;
  font-weight: 600;
  color: inherit;
  align-self: flex-start;
  margin-top: -3px;
  margin-left: 0;
}

/* DARK MODE OVERRIDES */
body.dark .post {  
  background: #1f2023;
}

body.dark .post-text {  
  color: #fff;
}

body.dark .post-actions {  
  border-top: 1px solid #2a2d33;
}

body.dark .post-actions button {  
  color: #fff;
}

body.dark .post-user small {  
  color: #aaa;
}

body.dark .post-menu i {  
  color: #fff;
}

body.dark .post-menu:hover {  
  background: #2a2d33;
}

body.dark .dropdown-menu {  
  background: #1f2023;
}

body.dark .dropdown-menu button, body.dark .dropdown-menu a {  
  color: #fff;  
  border-bottom: 1px solid #2a2d33;
}

body.dark .dropdown-menu button:hover, body.dark .dropdown-menu a:hover {  
  background: #2a2d33;
}

body.dark .dropdown-menu button:last-child, body.dark .dropdown-menu a:last-child {  
  border-bottom: none;
}

body.dark .post-actions button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}


/* ==========================================
   PART 6: LOAD MORE BUTTON STYLES
   ========================================== */

/* LOAD MORE BUTTON */
.load-more {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #1877f2;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: .2s;
}

/* HOVER */
.load-more:hover {
  background: #f0f2f5;
}

/* ACTIVE CLICK */
.load-more:active {
  transform: scale(0.98);
}

/* DARK MODE */
body.dark .load-more {
  background: #1c1e22;
  color: #4da3ff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

body.dark .load-more:hover {
  background: #2a2d33;
}


/* ==========================================
   PART 7: VISIBILITY TOGGLE STYLES
   ========================================== */

/* SHOW ELEMENT */
.show {
  display: initial !important;
}

/* HIDE ELEMENT */
.hide {
  display: none !important;
}


/* ==========================================
   PART 8: ACTIVE TAB STYLES
   ========================================== */

/* LIGHT MODE */
.active-tab{
background:#f2f4f7;
color:#1c1c1c!important;
}

.active-tab i{
color:#1c1c1c!important;
}

/* DARK MODE */
body.dark .active-tab{
background:#2a2d35;
color:#f1f1f1!important;
}

body.dark .active-tab i{
color:#f1f1f1!important;
}


/* ==========================================
   PART 9: Empty Card STYLES
   ========================================== */

/* EMPTY CARD */
.empty-card {
  width:100%;
  max-width:500px;
  margin:10px 0;
  box-sizing:border-box;
  text-align:center;
  background:#fff;
  border:1px solid #e4e6eb;
  border-radius:12px;
  padding:30px 20px;
  position:relative;
  left:50%;
  transform:translateX(-50%);
}

.empty-card i {
  font-size:42px;
  color:#65676b;
  display:block;
  margin-bottom:10px;
}

.empty-card-title {
  font-size:16px;
  font-weight:600;
  color:#1c1e21;
  margin:0 0 6px;
}

.empty-card-text {
  font-size:14px;
  color:#65676b;
  margin:0;
  line-height:1.5;
}

/* DARK MODE */
body.dark .empty-card {
  background:#1f2229;
  border:1px solid #2a2d35;
}

body.dark .empty-card i {
  color:#aaa;
}

body.dark .empty-card-title {
  color:#f1f1f1;
}

body.dark .empty-card-text {
  color:#b0b3b8;
}


/* ================================================================================
   PART 10: SEND MESSAGES DEFAULT
   ================================================================================*/

/* TEXTAREA */
textarea[name="message_text"] {
  width: calc(100% - 20px);
  height: 42px;
  padding: 10px 12px;
  margin: 10px 10px 0 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  resize: none;
  font-size: 14px;
  background: #fff;
  display: block;
}

/* SUBMIT */
input[name="message_submit"] {
  width: calc(100% - 20px);
  height: 42px;
  margin: 0 10px 10px 10px;
  border: none;
  border-radius: 20px;
  background: #1877f2;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: block;
}

/* DARK MODE */
body.dark textarea[name="message_text"] {
  background: #3a3b3c;
  border: 1px solid #3a3b3c;
  color: #e4e6eb;
}

body.dark input[name="message_submit"] {
  background: #2d88ff;
}

textarea[name="message_text"],
input[name="message_submit"] {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

textarea[name="message_text"]:focus {
  border-color: #1877f2;
}

body.dark textarea[name="message_text"]:focus {
  border-color: #2d88ff;
}

input[name="message_submit"]:hover {
  background: #1565c0;
}

body.dark input[name="message_submit"]:hover {
  background: #4cc3ff;
}

input[name="message_submit"]:active {
  transform: scale(0.98);
}


/* ================================================================================
   PART 11: DEFAULT NOTIFY CLASS
   ================================================================================*/

/* LIGHT MODE */
.ok {
  margin: 10px;
  padding: 10px;
  background: #e7f8ed;
  color: #1a7f37;
  border: 1px solid #b7ebc6;
  border-radius: 10px;
  font-size: 14px;
}

.success {
  margin: 10px;
  padding: 10px;
  background: #e7f8ed;
  color: #1a7f37;
  border: 1px solid #b7ebc6;
  border-radius: 10px;
  font-size: 14px;
}

.error {
  margin: 10px;
  padding: 10px;
  background: #fde8e8;
  color: #b91c1c;
  border: 1px solid #f5b5b5;
  border-radius: 10px;
  font-size: 14px;
}


/* ================================================================================
   PART 12: DEFAULT DIV CLASS
   ================================================================================*/

/* DARK MODE */

body.dark .ok,
body.dark .success {
  background: #1f3a2a;
  color: #7dffb2;
  border: 1px solid #2b5a40;
}

body.dark .error {
  background: #3a1f1f;
  color: #ff7b7b;
  border: 1px solid #5a2b2b;
}

/* LIGHT MODE */
.container {
  width: 100%;
  margin: 0;
  padding: 10px;
  background: #fff;
  box-sizing: border-box;
}

.card {
  width: 100%;
  margin: 10px;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-sizing: border-box;
  border: 1px solid #e4e6eb;
}

/* DARK MODE */
body.dark .container {
  background: #242526;
}

body.dark .card {
  background: #242526;
  border: 1px solid #3a3b3c;
}


/* ================================================================================
   PART 13: CHAT AND MESSAGE
   ================================================================================*/

/* MESSAGE PAGE */
.chat-page {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  background: #f0f2f5;
  font-family: Arial, sans-serif;
}

/* HEADER */
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px;
  border-bottom: 1px solid #e4e6eb;
}

.chat-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* CHAT BOX */
.chat-box {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

/* MESSAGE ROW */
.msg {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

/* AVATAR */
.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* BUBBLE WRAPPER */
.msg-body {
  position: relative;
  display: inline-block;
  max-width: 50%;
  min-width: 90px;
}

/* MESSAGE TEXT */
.msg-body p {
  margin: 0;
  padding: 10px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-bottom: 28px;
}

/* LEFT MESSAGE */
.chat-box .msg:nth-child(odd) .msg-body p {
  background: #fff;
  border: 1px solid #e4e6eb;
  border-top-left-radius: 6px;
}

/* RIGHT MESSAGE */
.chat-box .msg:nth-child(even) {
  flex-direction: row-reverse;
}

.chat-box .msg:nth-child(even) .msg-body p {
  background: #e7f3ff;
  border: 1px solid #cfe2ff;
  text-align: right;
  border-top-right-radius: 6px;
}

/* TIME */
.msg-time {
  position: absolute;
  bottom: 8px;
  font-size: 10px;
  color: #777;
}

.chat-box .msg:nth-child(odd) .msg-time {
  right: 10px;
}

.chat-box .msg:nth-child(even) .msg-time {
  left: 10px;
}

/* INPUT */
.chat-input {
  display: flex;
  padding: 10px;
  background: #fff;
  border-top: 1px solid #e4e6eb;
}

.chat-input input[type="text"] {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
}

.chat-input button {
  margin-left: 8px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.msg-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #fff;
}

.msg-input input[type="text"] {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  box-sizing: border-box;
}

/* SAME STYLE */
.msg-input input[type="submit"],
.msg-input button {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DARK MODE */
body.dark .chat-page {
  background: #18191a;
}

body.dark .chat-header {
  background: #242526;
  border-bottom: 1px solid #3a3b3c;
}

body.dark .chat-box {
  background: #18191a;
}

body.dark .msg-body p {
  color: #e4e6eb;
}

body.dark .chat-box .msg:nth-child(odd) .msg-body p {
  background: #242526;
  border: 1px solid #3a3b3c;
}

body.dark .chat-box .msg:nth-child(even) .msg-body p {
  background: #2d88ff22;
  border: 1px solid #2d88ff;
}

body.dark .msg-time {
  color: #aaa;
}

body.dark .chat-input {
  background: #242526;
  border-top: 1px solid #3a3b3c;
}

body.dark .chat-input input[type="text"] {
  background: #3a3b3c;
  border: 1px solid #3a3b3c;
  color: #e4e6eb;
}

body.dark .chat-input button {
  background: #2d88ff;
}

body.dark .msg-input {
  background: #242526;
  border-top: 1px solid #3a3b3c;
}

body.dark .msg-input input[type="text"] {
  background: #3a3b3c;
  border: 1px solid #3a3b3c;
  color: #e4e6eb;
}

/* SAME STYLE */
body.dark .msg-input input[type="submit"],
body.dark .msg-input button {
  background: #2d88ff;
  color: #fff;
}





