/* ========================================
   speakymobil OVERRIDE v4 - MINIMAL
   app.css (speakymobil-desktop.css) İŞİ YAPIYOR
   Burada SADECE baseapp'a özel ekler var
   ======================================== */

/* Sohbetteki Alıntıla Butonu Dropdown Stili */
.msg-dropdown { position:relative; display:inline-block; margin-left:10px; vertical-align:middle; opacity: 0; transition: opacity 0.2s ease; }
.ca-received:hover .msg-dropdown { opacity: 1; }
.msg-dropdown .dropbtn { background:none; border:none; font-size:18px; cursor:pointer; padding:0; width:24px; height:24px; border-radius:50%; color:#a0aec0; display:flex; align-items:center; justify-content:center; transition:all 0.2s; }
.msg-dropdown .dropbtn:hover { background: #f1f5f9; color: #475569; }
.msg-dropdown-content { display:none; position:absolute; right:0; top:calc(100% + 4px); min-width:130px; background:#fff; box-shadow:0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); border-radius:12px; z-index:100; overflow:hidden; border:1px solid #e2e8f0; }
.msg-dropdown:hover .msg-dropdown-content, .msg-dropdown:focus-within .msg-dropdown-content { display:block; animation: fadeInDropdown 0.2s ease; }
.msg-dropdown-content a { display:flex; align-items:center; padding:10px 16px; text-decoration:none; color:#334155; font-size:13px; font-weight:600; transition:all 0.2s; }
.msg-dropdown-content a i { font-size:16px; margin-right:8px; color:#64748b; }
.msg-dropdown-content a:hover { background: #f8fafc; color:#2563eb; }
.msg-dropdown-content a:hover i { color:#2563eb; }
@keyframes fadeInDropdown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

/* Sohbet Üst Bar (Header) Yeniden Tasarımı */
.conversation-panel__head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 24px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  min-height: 72px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02);
  flex-wrap: nowrap !important;
}

#room {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  width: 100% !important;
  min-height: 72px !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 5 !important;
  isolation: isolate !important;
}

#room .room-header__meta {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin-right: auto !important;
  position: relative !important;
  z-index: 4 !important;
}

#room .room-header__title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  position: relative !important;
  z-index: 4 !important;
}

#room .room-header__slogan {
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  position: relative !important;
  z-index: 4 !important;
}

.conversation-panel__head .conversation__name {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin-right: auto !important; /* Sol tarafta kalmasını zorlamak için */
  text-align: left !important;
  flex: 1 1 auto !important;
  min-width: 0 !important; /* Flex child içinde overflow çalışması için KRİTİK */
  overflow: hidden !important;
}

#room .conversation__name {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.conversation-panel__head .conversation__name--title#roomname {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  margin-bottom: 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

.conversation-panel__head .conversation__time#roomslogan {
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  margin-top: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

.conversation-panel__head .vertical-border {
  height: 48px !important;
  width: 1px !important;
  background-color: #e2e8f0 !important;
  margin: 0 20px !important;
  flex-shrink: 0;
}

#room .vertical-border {
  display: block !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 1px !important;
  min-height: 46px !important;
  height: auto !important;
  align-self: stretch !important;
  flex: 0 0 1px !important;
}

.conversation-panel__head .oda-sahibi {
  flex: 0 0 auto !important;
  min-width: max-content !important;
}

#room .oda-sahibi {
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  height: auto !important;
  min-width: 220px !important;
  max-width: 320px !important;
  margin-left: 0 !important;
  flex: 0 0 auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 4 !important;
}

.conversation-panel__head .oda-sahibi .d-flex {
  align-items: center !important;
}

#room .oda-sahibi .d-flex {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  width: 100% !important;
}

#room .oda-sahibi .flex-grow-1,
#room .oda-sahibi .room-owner-text {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

#room .room-owner__text {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 4 !important;
}

#room .room-owner__name {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  position: relative !important;
  z-index: 4 !important;
}

#room .room-owner__role {
  margin-top: 4px !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  background: #eff6ff !important;
  color: #3b82f6 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  position: relative !important;
  z-index: 4 !important;
}

.conversation-panel__head .oda-sahibi img[data-room-owner-image="true"] {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

#room .oda-sahibi img[data-room-owner-image="true"] {
  flex: 0 0 44px !important;
}

.conversation-panel__head .oda-sahibi .sahip-rumuz {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.2 !important;
}

#room .oda-sahibi .sahip-rumuz {
  width: auto !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.conversation-panel__head .oda-sahibi .sahip-yetki {
  font-size: 12px !important;
  color: #3b82f6 !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
  background: #eff6ff !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  display: inline-block !important;
}

#room .oda-sahibi .sahip-yetki {
  width: fit-content !important;
  max-width: 100% !important;
  padding-left: 8px !important;
}

@media (max-width: 1200px) {
  #room {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
  }

  #room .room-header__meta {
    width: 100% !important;
  }

  #room .vertical-border {
    display: none !important;
  }

  #room .oda-sahibi {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-top: 4px !important;
  }
}

/* Baseapp'ın eski stillerini sıfırla, app.css'e müdahale etme */
#root { height: 100% }
html, body { margin: 0; padding: 0; height: 100%; overflow: hidden; }

.ca-sidebar__body,
.ca-sidebar__body .ca-navigation-tabs,
.ca-sidebar__body .ca-navigation-tabs .nav-style-1 {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

#caMainTabContent {
  flex: 1 1 auto;
  min-height: 0;
}

#caMainTabContent > .tab-pane {
  height: 100%;
  min-height: 0;
}

#caMainTabContent > .tab-pane.active {
  display: block !important;
}

#tabAramalar {
  height: 100%;
  min-height: 0;
}

#tabAramalar .nav-style-2 {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

#tabAramalar #callHistoryFilters {
  flex-shrink: 0;
}

#tabAramalar .call-history-list {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  padding-bottom: 18px;
}

#tabAramalar .call-history-empty {
  min-height: 100%;
}

/* Üye Ol butonu baseapp'a özel */
.btn.btn-primary.minnia { cursor: pointer; }

/* Status select baseapp'a özel */
.slc-drm {
  font-size: 12px !important;
  padding: 2px 6px !important;
  border: 1px solid #e5e9f0 !important;
  border-radius: 6px !important;
  background: #f8fafc !important;
  outline: none;
  cursor: pointer;
  max-width: 140px;
}

/* Settings menü (baseapp'a özel dropdown) */
#settingsmenu {
  position: absolute;
  top: 42px;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 200px;
  z-index: 999;
  padding: 6px 0;
  border: 1px solid #e5e9f0;
}
#settingsmenu a {
  display: block;
  padding: 9px 16px;
  color: #2a2a2a;
  font-size: 13px;
  transition: background 0.15s;
  text-decoration: none;
}
#settingsmenu a:hover { background: #f0f4f8; }
#settingsmenu li {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}
#settingsmenu li i {
  width: 18px;
  text-align: center;
  color: #8a8fa7;
  font-size: 16px;
}
#settings { position: relative; }
.messagebox-wrap { position: relative; display: inline-flex; }

/* Mesaj counter (baseapp'a özel) */
#messagecounter {
  position: absolute;
  top: -2px; right: -2px;
  background: #f44336;
  color: #fff;
  font-size: 9px; font-weight: 700;
  min-width: 16px; height: 16px; line-height: 16px;
  text-align: center;
  border-radius: 50%;
  padding: 0 3px;
}
.messagebox-wrap.has-unread-alert #messagebox,
#messagebox.has-unread-alert {
  background: rgba(239, 68, 68, 0.14) !important;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.36);
  animation: messageboxUnreadPulse 1.1s ease-in-out infinite;
}
.messagebox-wrap.has-unread-alert #messagebox .iconbox__icon,
#messagebox.has-unread-alert .iconbox__icon {
  color: #dc2626 !important;
}
.messagebox-wrap.has-unread-alert #messagecounter {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  animation: messageboxCounterPulse 1.1s ease-in-out infinite;
}
@keyframes messageboxUnreadPulse {
  0% {
    background: rgba(239, 68, 68, 0.10);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.30);
    transform: scale(1);
  }
  50% {
    background: rgba(239, 68, 68, 0.26);
    box-shadow: 0 0 0 9px rgba(239, 68, 68, 0.05);
    transform: scale(1.04);
  }
  100% {
    background: rgba(239, 68, 68, 0.10);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    transform: scale(1);
  }
}
@keyframes messageboxCounterPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .messagebox-wrap.has-unread-alert #messagebox,
  #messagebox.has-unread-alert,
  .messagebox-wrap.has-unread-alert #messagecounter {
    animation: none;
  }
}

/* Profil info panel (baseapp'a özel gizli panel) */
#profileinfo {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  z-index: 50;
  overflow-y: auto;
}
#profileinfo .goback { padding: 14px 16px; border-bottom: 1px solid #e5e9f0; cursor: pointer; }
#profileinfo .goback span { color: #2196f3; font-size: 13px; font-weight: 500; }

/* Mesaj kutusu paneli (baseapp'a özel) */
#privatemessages {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  z-index: 50;
  overflow-y: auto;
}
#privatemessages .goback { padding: 14px 16px; border-bottom: 1px solid #e5e9f0; cursor: pointer; }
#privatemessages .goback span { color: #2196f3; font-size: 13px; font-weight: 500; }
#nomessage { text-align: center; padding: 40px 20px; color: #8a8fa7; font-size: 13px; }

/* Mic alanı (desktopte mobil görünümü) */
.conversation-panel {
  position: relative;
  justify-content: flex-start;
  min-height: 0;
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#mycamModal.gizle {
  display: none !important;
}

#mycamModal.mycam {
  position: fixed;
  top: 92px;
  right: 28px;
  left: auto;
  width: 220px;
  height: 220px;
  z-index: 1400;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.28);
}

#mycamModal .cam_hand {
  padding-right: 76px;
  user-select: none;
}

#mycamModal.mycam.mycam-no-mic .cam_hand {
  padding-right: 42px;
}

#mycamModal .close {
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mycamModal .mycam-mic-toggle {
  position: absolute;
  top: 0;
  right: 34px;
  width: 30px;
  min-width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  color: #ffffff;
  background: #1fb96f;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 1000;
  opacity: 1;
  transition: background-color 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

#mycamModal .mycam-mic-toggle:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

#mycamModal .mycam-mic-toggle:active {
  transform: scale(0.96);
}

#mycamModal .mycam-mic-toggle.is-live {
  background: #1fb96f;
}

#mycamModal .mycam-mic-toggle.is-muted {
  background: #e04f5f;
}

#mycamModal .mycam-mic-toggle.is-disabled {
  background: rgba(100, 116, 139, 0.72);
  cursor: not-allowed;
  filter: none;
  transform: none;
}

#mycamModal .mycam-mic-toggle i {
  font-size: 16px;
  line-height: 1;
}

#mycamModal .disable-div {
  width: 100%;
  height: calc(100% - 30px);
  background: #000;
  overflow: hidden;
  pointer-events: none;
}

#mycamModal .disable-div video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

#peercamModal.gizle {
  display: none !important;
}

#peercamModal.mycam {
  position: fixed;
  top: 326px;
  right: 28px;
  left: auto;
  width: 220px;
  height: 220px;
  z-index: 1399;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.28);
}

#peercamModal .cam_hand {
  padding-right: 40px;
  user-select: none;
}

#peercamModal .close {
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#peercamModal .disable-div {
  width: 100%;
  height: calc(100% - 30px);
  background: #000;
  overflow: hidden;
  pointer-events: none;
}

#peercamModal .disable-div video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

#tabSohbet .frengir {
  width: calc(100% - 20px);
  margin: 10px;
}

#tabSohbet .frengir .form-control,
#tabSohbet .frengir .input-group-text {
  border: 1px solid #dde5f0;
  background: #fff;
  box-shadow: none;
}

#tabSohbet .frengir .form-control {
  height: 36px;
  padding: 0 42px 0 12px;
  border-radius: 10px;
  color: #475569;
  font-size: 13px;
}

#tabSohbet .frengir .input-group-text {
  justify-content: center;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  color: #94a3b8;
}

#tabSohbet #caChatsTabInside {
  margin: 0 10px 8px;
  padding: 0 !important;
  display: flex;
  gap: 0;
  background: #e8edf5;
  border-radius: 8px;
}

#tabSohbet #caChatsTabInside .nav-item {
  flex: 1 1 50%;
  padding: 4px;
}

#tabSohbet #caChatsTabInside .nav-link {
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  display: flex;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 6px;
  text-transform: none;
  font-size: 11px;
  font-weight: 700;
  color: #7f8b9d;
  background: transparent;
}

#tabSohbet #caChatsTabInside .nav-link.false,
#tabSohbet #caChatsTabInside .nav-link:not(.active) {
  color: #8a95a6;
}

#tabSohbet #caChatsTabInside .nav-link.active {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.18);
}

#tabSohbet #caChatsTabInside .nav-link .badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 0 !important;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
}

#tabSohbet #caChatsTabInside .nav-link.active .badge-primary {
  background: #fff;
  color: #2563eb;
}

#tabSohbet #caChatsTabInside .nav-link:not(.active) .badge-primary {
  background: #d8e0eb;
  color: #64748b;
}

#caChatsTabInsideContent .sidebar-userlist.lifeuser_scroll {
  background: #eaedf2;
  padding: 4px 0 14px;
}

#caChatsTabInsideContent .room_userList {
  margin: 0;
  padding: 0 0 12px;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card {
  list-style: none;
  margin: 0;
  padding: 0;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card > .conversation {
  cursor: pointer;
  align-items: center;
  padding: 10px 12px;
  margin: 6px;
  background: #fff;
  border-radius: 8px;
  border-bottom: 0 !important;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card > .conversation:hover {
  background: #ebf0ff;
  box-shadow: none !important;
  outline: none !important;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card:hover {
  box-shadow: none !important;
  outline: none !important;
}

#caChatsTabInsideContent .room_userList#userlist .speakymobil-user-card:hover,
#caChatsTabInsideContent .room_userList#userlist .speakymobil-user-card.user:hover {
  box-shadow: none !important;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card > .conversation:focus,
#caChatsTabInsideContent .room_userList .speakymobil-user-card > .conversation:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .user-avatar {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  margin-right: 12px;
  overflow: visible;
  border-radius: 50%;
  border: 0;
  box-shadow: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

#profile {
  overflow: visible;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: transparent;
  position: relative;
  z-index: 1;
}

.avatar-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translate(-50%, -50%);
}

.avatar-frame--list {
  width: calc(100% + 18px);
  height: calc(100% + 18px);
}

.avatar-frame--profile {
  width: calc(100% + 22px);
  height: calc(100% + 22px);
}

.avatar-frame--modal,
.avatar-frame--popup {
  width: calc(100% + 26px);
  height: calc(100% + 26px);
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .user-avatar img[src$="images/man-profile.png"],
#caChatsTabInsideContent .room_userList .speakymobil-user-card .user-avatar img[src$="images/woman-profile.png"] {
  opacity: 1 !important;
  object-fit: contain;
  padding: 2px;
  background: transparent;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .conversation__details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .conversation__name,
#caChatsTabInsideContent .room_userList .speakymobil-user-card .conversation__message {
  width: auto;
  max-width: none;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .conversation__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .conversation__name--title {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.2;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .conversation__name--title > .name,
#caChatsTabInsideContent .room_userList .speakymobil-user-card .conversation__name--title > span:not(.tac) {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .conversation__name--title img {
  display: block;
  max-height: 22px;
  max-width: 100%;
  object-fit: contain;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .conversation__name--title-image img,
#caChatsTabInsideContent .room_userList .speakymobil-user-card .user-card-name-asset--banner {
  max-height: 50px;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .tac {
  z-index: 2;
  pointer-events: none;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card--flashnick-banner > .conversation {
  justify-content: space-between;
  gap: 12px;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card--flashnick-banner .conversation__details {
  flex: 1 1 auto;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .conversation__message {
  height: auto;
  min-height: 18px;
  align-items: center;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .conversation__message-preview {
  padding-right: 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.2;
  max-height: none;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .conversation__message-preview .status {
  display: inline-block;
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .conversation__name small.text {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.2;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .sag_iconlar {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  float: none;
  opacity: .4;
  line-height: 16px;
  margin: 0 0 0 8px;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .sag_iconlar .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  flex: 0 0 16px;
  margin: 0;
  background: none;
  border-radius: 0;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .sag_iconlar .mdi::before {
  display: block;
  margin-left: 0 !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .sag_iconlar i {
  font-size: 16px;
  line-height: 1;
  color: #98a2b3;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .sag_iconlar .size-24::before {
  font-size: 16px;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .sag_iconlar .icon.active i,
#caChatsTabInsideContent .room_userList .speakymobil-user-card .sag_iconlar .icon .green {
  color: #21b26b;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .sag_iconlar .icon.webcam-live i,
#userlist:not(.room_userList) .user .icon.webcam-live i {
  color: #21b26b !important;
  animation: speakymobilWebcamBlink 0.72s ease-in-out infinite;
  transform-origin: center;
  filter: drop-shadow(0 0 6px rgba(33, 178, 107, 0.55));
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .sag_iconlar .icon.webcam-live,
#userlist:not(.room_userList) .user .icon.webcam-live {
  position: relative;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .sag_iconlar .icon.webcam-live::after,
#userlist:not(.room_userList) .user .icon.webcam-live::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(33, 178, 107, 0.36) 0%, rgba(33, 178, 107, 0.18) 45%, rgba(33, 178, 107, 0) 75%);
  animation: speakymobilWebcamHalo 0.72s ease-in-out infinite;
  pointer-events: none;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .sag_iconlar .icon .pink {
  color: #e35b93;
}

#caChatsTabInsideContent .room_userList .speakymobil-user-card .sag_iconlar .icon .blue {
  color: #3a7cff;
}

@keyframes speakymobilWebcamBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1.08);
  }
  50% {
    opacity: 0.2;
    transform: scale(0.72);
  }
}

@keyframes speakymobilWebcamHalo {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.82;
    transform: scale(1.34);
  }
}

.conversation-panel > .gizle_rdo {
  display: none !important;
}

.conversation-panel > #active-microphone {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 24px 10px !important;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: transparent !important;
  border: 0 !important;
  border-top: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 86px !important;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 100%;
  isolation: isolate;
}

.conversation-panel > #active-microphone::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.conversation-panel > #active-microphone::-webkit-scrollbar {
  display: none;
}

.conversation-panel > #active-microphone button {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.conversation-panel > #active-microphone .active-mic-user,
.conversation-panel > #active-microphone .inactive-mic-user {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: flex;
  flex: 0 0 64px;
  flex-direction: column;
  gap: 7px;
  justify-content: flex-start;
  min-height: 72px;
  min-width: 64px;
  padding: 0;
  scroll-snap-align: start;
  transition: transform 0.18s ease;
  max-width: none;
}

.conversation-panel > #active-microphone .active-mic-icon,
.conversation-panel > #active-microphone .inactive-mic-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(20, 28, 40, 0.82);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 18px rgba(10, 15, 24, 0.22);
  position: relative;
}

.conversation-panel > #active-microphone .active-mic-name,
.conversation-panel > #active-microphone .inactive-mic-name {
  display: block;
  margin-top: 0;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-panel > #active-microphone .inactive-mic-user .inactive-mic-name {
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.conversation-panel > #active-microphone .inactive-mic-user .inactive-mic-name::after {
  content: "Bize katil";
  display: block;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(10, 15, 24, 0.28);
}

.conversation-panel > #active-microphone .active-mic-user {
  opacity: 1;
  border-radius: 18px !important;
  padding: 4px 4px 2px;
  background: linear-gradient(180deg, rgba(71, 77, 95, 0.34) 0%, rgba(58, 63, 78, 0.22) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 14px rgba(16, 20, 30, 0.08);
}

.conversation-panel > #active-microphone .inactive-mic-user {
  opacity: 1;
}

.conversation-panel > #active-microphone .inactive-mic-user:active,
.conversation-panel > #active-microphone .active-mic-user:active {
  transform: scale(0.98);
}

.conversation-panel > #active-microphone .active-mic-status {
  width: 0;
  height: 0;
  right: auto;
  top: auto;
  position: absolute;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.conversation-panel > #active-microphone .active-mic-user .active-mic-icon {
  background: linear-gradient(180deg, rgba(78, 84, 104, 0.98) 0%, rgba(55, 60, 75, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 18px rgba(17, 21, 32, 0.18);
  overflow: visible;
  isolation: isolate;
}

.conversation-panel > #active-microphone .active-mic-user .active-mic-name {
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(20, 24, 36, 0.18);
}

.conversation-panel > #active-microphone .active-mic-avatar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.conversation-panel > #active-microphone .active-mic-glyph {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ef6b5b 0%, #c73b2d 100%);
  border: 2px solid rgba(255, 255, 255, 0.94);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 14px rgba(15, 23, 42, 0.32);
  z-index: 4;
}

.conversation-panel > #active-microphone .active-mic-glyph i {
  font-size: 10px;
  line-height: 1;
  animation: micwave 1.2s infinite alternate;
}

.conversation-panel > #active-microphone .active-mic-user.is-own {
  background: linear-gradient(180deg, rgba(95, 102, 124, 0.48) 0%, rgba(70, 76, 95, 0.34) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 18px rgba(20, 24, 36, 0.14);
}

.conversation-panel > #active-microphone .active-mic-user.is-own .active-mic-icon {
  background: linear-gradient(180deg, #69728f 0%, #4c546e 100%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.10), 0 12px 20px rgba(18, 22, 33, 0.20);
}

.conversation-panel > #active-microphone .active-mic-user.is-own .active-mic-name::after {
  content: " Bırak";
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.conversation-panel > #active-microphone .active-mic-user.talking {
  background: linear-gradient(180deg, rgba(76, 130, 96, 0.28) 0%, rgba(57, 96, 73, 0.16) 100%) !important;
}

.conversation-panel > #active-microphone .active-mic-user.talking .active-mic-icon {
  background: linear-gradient(180deg, rgba(72, 171, 107, 0.98) 0%, rgba(38, 124, 72, 0.98) 100%);
  box-shadow: 0 0 0 3px rgba(75, 225, 131, 0.12), 0 12px 24px rgba(28, 90, 53, 0.18);
}

.conversation-panel > #active-microphone .active-mic-user.talking .active-mic-glyph {
  background: linear-gradient(180deg, rgba(72, 171, 107, 0.98) 0%, rgba(38, 124, 72, 0.98) 100%);
}

.conversation-panel > #active-microphone .active-mic-user.silent .active-mic-glyph {
  background: linear-gradient(180deg, #ef6b5b 0%, #c73b2d 100%);
}

/* Mesaj font boyutu baseapp'a özel */
.oda-message, .ozel-message { font-size: 16px !important; }

/* Yazıyor animasyonu (baseapp'a özel) */
.yaziyorcss { position: absolute; bottom: 70px; left: 18px; z-index: 10; }
.yazanlar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  font-size: 12px;
  color: #666;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
#wave_yazanlar { position: relative; text-align: center; }
#wave_yazanlar .dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #303131; animation: wave_yazanlar .8s linear infinite; }
#wave_yazanlar .dot:nth-child(2) { animation-delay: -1.1s; }
#wave_yazanlar .dot:nth-child(3) { animation-delay: -.9s; }
@keyframes wave_yazanlar { 0%,100%,60%{transform:initial} 30%{transform:translateY(-5px)} }

/* Loading ekranı (baseapp'a özel) */
#lightbox {
  position: fixed; top:0; left:0; width:100%; height:100%;
  background: linear-gradient(135deg, #2196f3, #1565c0);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999; color: #fff; font-size: 18px;
}

/* Footer (baseapp'a özel) */
#renkCegir4 {
  background: #fff;
  border-top: 1px solid #e5e9f0;
  padding: 4px 14px;
  font-size: 11px;
  color: #8a8fa7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
#renkCegir4 a { color: #2196f3; font-size: 11px; }

/* Duyuru toast (baseapp'a özel) */
.toast-duyuru { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); z-index: 9999; min-width: 320px; max-width: 500px; overflow: hidden; }
.toast-header-bar { background: #2196f3; height: 3px; }
.toast-kapat { background: #2196f3; color: #fff; border: none; padding: 6px 16px; border-radius: 6px; cursor: pointer; font-size: 12px; }

/* Modal override */
.modal-content { border-radius: 14px; border: none; box-shadow: 0 12px 48px rgba(0,0,0,0.15); }
.modal-header { background: #2196f3; color: #fff; border-radius: 14px 14px 0 0; border: none; }
.sweet-alert { border-radius: 14px !important; }
.sweet-alert .sa-confirm-button-container .confirm { background: #2196f3 !important; border-radius: 8px !important; }
.sweet-alert.font-settings-swal {
  width: min(92vw, 440px) !important;
  max-width: 440px !important;
  margin-left: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  padding: 22px 22px 18px !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22) !important;
}

.sweet-alert.font-settings-swal h2 {
  font-size: 22px !important;
  line-height: 1.3 !important;
  margin: 14px 0 18px !important;
  color: #334155 !important;
}

.sweet-alert.font-settings-swal p {
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

.sweet-alert.font-settings-swal fieldset,
.sweet-alert.font-settings-swal .sa-error-container {
  display: none !important;
}

.sweet-alert.font-settings-swal .sa-button-container {
  margin-top: 18px !important;
  padding: 0 !important;
}

.sweet-alert.font-settings-swal button.confirm {
  min-width: 116px !important;
}

.sweet-alert.room-password-swal {
  width: min(92vw, 420px) !important;
  max-width: 420px !important;
}

.sweet-alert.room-password-swal p {
  margin: 0 0 10px !important;
  color: #64748b !important;
  line-height: 1.45 !important;
}

.sweet-alert.room-password-swal fieldset {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sweet-alert.room-password-swal input:not([type="checkbox"]) {
  display: block !important;
  width: min(100%, 300px) !important;
  margin: 0 auto !important;
  border-radius: 10px !important;
}

.font-settings-modal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.font-settings-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.font-settings-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
}

.font-settings-field label span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.font-settings-field label strong {
  color: #0f172a;
  font-weight: 700;
}

.sweet-alert.font-settings-swal input[type="range"] {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  accent-color: #2196f3;
  cursor: pointer;
}

.sweet-alert.font-settings-swal input[type="color"] {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 4px !important;
  border: 1px solid #dbe4f0 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  background: #ffffff !important;
  cursor: pointer;
}

.font-settings-preview-wrap {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
  border: 1px solid #dbe4f0;
}

.font-settings-preview-title {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.font-settings-preview {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  text-align: center;
  font-weight: 600;
}

.sweet-alert.profile-settings-swal {
  width: min(92vw, 720px) !important;
  max-width: 720px !important;
  margin-left: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  padding-bottom: 18px !important;
}

.sweet-alert.profile-settings-swal h2 {
  font-size: 24px !important;
  margin: 22px 0 14px !important;
}

.sweet-alert.profile-settings-swal p {
  padding: 0 18px !important;
  margin: 0 !important;
  text-align: left !important;
}

.sweet-alert.profile-settings-swal .sa-button-container {
  padding: 0 18px !important;
}

.sweet-alert.profile-settings-swal fieldset,
.sweet-alert.profile-settings-swal .sa-error-container {
  display: none !important;
}

.profile-settings-modal {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#profilesettings {
  width: 100%;
  overflow: hidden;
}

#profilesettings .profile-image {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 60px;
  border: 4px solid #2196f3;
  overflow: visible;
  position: relative;
  cursor: pointer;
}

#profilesettings .profile-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
}

#profilesettings .avatar-preview-shell,
#profileinfo .uprofile .avatar-preview-shell {
  position: relative;
  display: inline-flex;
}

#profilesettings .profile-name {
  color: #334155;
  font-weight: 700;
  font-size: 18px;
  margin-top: 12px;
  text-align: center;
}

#profilesettings .profile-image .placeholder {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  color: #2196f3;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}

#profilesettings .profile-image:hover .placeholder {
  display: flex;
}

.profile-settings-section,
.profile-settings-preferences {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
}

.profile-settings-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.5), rgba(148, 163, 184, 0));
}

.profile-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-settings-preferences-title {
  color: #334155;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sweet-alert.profile-settings-swal .form-group {
  margin-bottom: 14px;
}

.sweet-alert.profile-settings-swal .form-group:last-child {
  margin-bottom: 0;
}

.sweet-alert.profile-settings-swal label {
  display: block;
  margin-bottom: 6px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

.sweet-alert.profile-settings-swal input:not([type="checkbox"]),
.sweet-alert.profile-settings-swal textarea {
  display: block;
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  box-sizing: border-box;
  box-shadow: none;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
}

.sweet-alert.profile-settings-swal input:not([type="checkbox"]) {
  height: 46px;
}

.sweet-alert.profile-settings-swal textarea {
  min-height: 120px;
  resize: vertical;
}

.sweet-alert.profile-settings-swal input:not([type="checkbox"]):focus,
.sweet-alert.profile-settings-swal textarea:focus {
  border-color: #2196f3;
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.12);
}

.sweet-alert.profile-settings-swal .oo-switch,
.sweet-alert.profile-settings-swal .oo-switch2 {
  display: inline-flex;
  align-items: center;
  width: 50%;
  box-sizing: border-box;
  vertical-align: middle;
}

.sweet-alert.profile-settings-swal .oo-switch span {
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.sweet-alert.profile-settings-swal .oo-switch2 {
  justify-content: flex-end;
}

.sweet-alert.profile-settings-swal .onoffswitch {
  position: relative;
  width: 53px;
  user-select: none;
}

.sweet-alert.profile-settings-swal .onoffswitch-checkbox {
  display: none;
}

.sweet-alert.profile-settings-swal .onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  height: 24px;
  padding: 0;
  line-height: 20px;
  border: 2px solid #94a3b8;
  border-radius: 999px;
  background-color: #ffffff;
  transition: background-color 0.2s ease-in, border-color 0.2s ease-in;
  position: relative;
}

.sweet-alert.profile-settings-swal .onoffswitch-label:before {
  content: "";
  display: block;
  width: 18px;
  background: #ffffff;
  position: absolute;
  top: 1px;
  bottom: 1px;
  right: 29px;
  border: 2px solid #94a3b8;
  border-radius: 999px;
  transition: all 0.2s ease-in;
}

.sweet-alert.profile-settings-swal .onoffswitch-checkbox:checked + .onoffswitch-label {
  background-color: #2196f3;
  border-color: #2196f3;
}

.sweet-alert.profile-settings-swal .onoffswitch-checkbox:checked + .onoffswitch-label:before {
  right: 1px;
  border-color: #2196f3;
}

.sweet-alert.user-account-swal {
  width: min(92vw, 760px) !important;
  max-width: 760px !important;
  max-height: calc(100vh - 36px) !important;
  margin-left: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  padding: 0 0 24px !important;
  border-radius: 10px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

.sweet-alert.user-account-swal h2,
.sweet-alert.user-account-swal fieldset,
.sweet-alert.user-account-swal .sa-error-container {
  display: none !important;
}

.sweet-alert.user-account-swal p {
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

.sweet-alert.user-account-swal .sa-button-container {
  padding: 0 30px !important;
}

.sweet-alert.user-account-swal button.cancel,
.sweet-alert.user-account-swal button.confirm {
  border-radius: 6px !important;
  box-shadow: none !important;
  min-width: 126px !important;
}

.user-account-modal {
  background: #fff;
  color: #202938;
  min-height: 0;
}

.user-account-modal__header {
  align-items: center;
  border-bottom: 1px solid #d8dee8;
  display: flex;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 28px;
}

.user-account-modal__title {
  color: #1d2430;
  font-size: 18px;
  font-weight: 500;
}

.user-account-modal__close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #9aa3af;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  justify-content: center;
  line-height: 1;
  padding: 6px;
  text-decoration: none;
}

.user-account-modal__hero {
  background: linear-gradient(180deg, #48b6ff 0%, #3296f8 35%, #325fc7 100%);
  overflow: hidden;
  padding: 30px 28px 22px;
  position: relative;
}

.user-account-modal__hero::before,
.user-account-modal__hero::after,
.user-account-modal__hero-bg::before,
.user-account-modal__hero-bg::after {
  content: "";
  position: absolute;
}

.user-account-modal__hero::before {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  height: 140px;
  left: -36px;
  top: 18px;
  width: 140px;
}

.user-account-modal__hero::after {
  background: linear-gradient(180deg, rgba(26, 50, 136, 0.95), rgba(36, 58, 153, 0.98));
  border-radius: 55% 45% 0 0;
  bottom: -34px;
  height: 164px;
  left: -18px;
  transform: rotate(-4deg);
  width: 250px;
}

.user-account-modal__hero-bg::before {
  background: linear-gradient(180deg, rgba(17, 31, 118, 0.95), rgba(20, 44, 140, 0.98));
  border-radius: 56% 44% 0 0;
  bottom: -48px;
  height: 190px;
  left: 120px;
  width: 320px;
}

.user-account-modal__hero-bg::after {
  background: linear-gradient(180deg, rgba(34, 67, 170, 0.95), rgba(26, 54, 148, 0.98));
  border-radius: 52% 48% 0 0;
  bottom: -68px;
  right: -28px;
  height: 220px;
  width: 360px;
}

.user-account-modal__edit {
  align-items: center;
  background: #ffffff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(17, 42, 101, 0.25);
  color: #6b7280;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 54px;
  justify-content: center;
  position: absolute;
  right: 24px;
  top: 16px;
  width: 54px;
  z-index: 2;
  text-decoration: none;
}

.user-account-modal__identity {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.user-account-modal__avatar {
  cursor: pointer;
  margin-bottom: 16px;
  position: relative;
}

.user-account-modal__avatar .avatar-preview-shell {
  display: inline-flex;
  height: 132px;
  justify-content: center;
  width: 132px;
}

.user-account-modal__avatar .avatar-preview-shell > img {
  border: 5px solid rgba(255, 255, 255, 0.98);
  border-radius: 999px;
  height: 132px;
  object-fit: cover;
  width: 132px;
}

.user-account-modal__avatar .avatar-frame--account {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 176px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 176px;
}

.user-account-modal__name {
  color: #111827;
  font-size: 20px;
  font-weight: 700;
}

.user-account-modal__meta {
  color: #d8ff52;
  font-size: 16px;
  font-weight: 700;
  margin-top: 6px;
  text-shadow: 0 1px 2px rgba(17, 24, 39, 0.35);
}

.user-account-tabs {
  background: #dfe4ed;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.user-account-inline-notice {
  background: rgba(255, 248, 235, 0.98);
  border: 1px solid #f2d59c;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  color: #d97706;
  font-size: 13px;
  font-weight: 600;
  left: 24px;
  min-height: 0;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  position: sticky;
  right: 24px;
  text-align: center;
  top: 10px;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, padding 0.18s ease;
  z-index: 8;
}

.user-account-inline-notice.is-visible {
  opacity: 1;
  padding: 10px 14px;
  transform: translateY(0);
}

.user-account-tab {
  align-items: center;
  background: transparent;
  border: 0;
  border-right: 1px solid #eef2f7;
  color: #2890ea;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
  min-height: 60px;
  padding: 0 10px;
  text-align: center;
  text-decoration: none;
}

.user-account-tab:last-child {
  border-right: 0;
}

.user-account-tab.is-active {
  background: #1f8fff;
  color: #fff;
}

.user-account-panels {
  padding: 14px 24px 8px;
}

.user-account-panel {
  display: none;
}

.user-account-panel.is-active {
  display: block;
}

.user-account-form-card {
  border: 1px solid #d7dee9;
  border-radius: 8px;
  padding: 14px;
}

.user-account-form-card--compact {
  min-height: 260px;
}

.user-account-form-card textarea,
.user-account-form-card input:not([type="checkbox"]) {
  background: #fff;
  border: 1px solid #ccd4e0;
  border-radius: 6px;
  box-shadow: none;
  color: #202938;
  display: block;
  font-family: inherit;
  font-size: 15px;
  margin: 0;
  outline: 0;
  padding: 12px 16px;
  width: 100%;
}

.user-account-form-card textarea {
  min-height: 122px;
  resize: vertical;
}

.user-account-form-card textarea:focus,
.user-account-form-card input:not([type="checkbox"]):focus {
  border-color: #1f8fff;
  box-shadow: 0 0 0 3px rgba(31, 143, 255, 0.12);
}

.user-account-field + .user-account-field {
  margin-top: 14px;
}

.user-account-field label {
  color: #3f4b5e;
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.user-account-inline-help {
  color: #6c7a90;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 12px;
}

.user-account-info-list {
  border-top: 1px solid #e7ebf1;
  margin-top: 16px;
}

.user-account-info-row {
  align-items: center;
  border-bottom: 1px solid #e7ebf1;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-height: 72px;
}

.user-account-info-label {
  align-items: center;
  color: #1f2937;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 12px;
}

.user-account-info-label i {
  color: #8b97aa;
  font-size: 22px;
  width: 24px;
}

.user-account-info-value {
  color: #445163;
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}

.user-account-switch-row {
  align-items: center;
  border-bottom: 1px solid #e7ebf1;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-height: 72px;
}

.user-account-switch-row:last-child {
  border-bottom: 0;
}

.sweet-alert.user-account-swal .oo-switch,
.sweet-alert.user-account-swal .oo-switch2 {
  align-items: center;
  display: inline-flex;
  width: auto;
}

.sweet-alert.user-account-swal .oo-switch span {
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
}

.sweet-alert.user-account-swal .onoffswitch {
  position: relative;
  width: 56px;
}

.sweet-alert.user-account-swal .onoffswitch-checkbox {
  display: none;
}

.sweet-alert.user-account-swal .onoffswitch-label {
  background-color: #ffffff;
  border: 2px solid #9ba7b9;
  border-radius: 999px;
  cursor: pointer;
  display: block;
  height: 26px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.sweet-alert.user-account-swal .onoffswitch-label:before {
  background: #ffffff;
  border: 2px solid #9ba7b9;
  border-radius: 999px;
  bottom: 1px;
  content: "";
  display: block;
  position: absolute;
  right: 30px;
  top: 1px;
  transition: all 0.2s ease-in;
  width: 18px;
}

.sweet-alert.user-account-swal .onoffswitch-checkbox:checked + .onoffswitch-label {
  background-color: #1f8fff;
  border-color: #1f8fff;
}

.sweet-alert.user-account-swal .onoffswitch-checkbox:checked + .onoffswitch-label:before {
  border-color: #1f8fff;
  right: 1px;
}

.user-account-note {
  background: #f5f8fc;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  color: #445163;
  line-height: 1.7;
  padding: 18px;
}

.user-account-note__title {
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.user-account-note--warning {
  background: #fff8eb;
  border-color: #f2d59c;
}

.user-account-note--asset {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.user-account-rumuz-asset {
  display: block;
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}

.sweet-alert.register-swal {
  width: min(92vw, 560px) !important;
  max-width: 560px !important;
  margin-left: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  padding-bottom: 18px !important;
}

.sweet-alert.register-swal h2 {
  font-size: 24px !important;
  margin: 22px 0 14px !important;
}

.sweet-alert.register-swal p {
  padding: 0 18px !important;
  margin: 0 !important;
  text-align: left !important;
}

.sweet-alert.register-swal .sa-button-container {
  padding: 0 18px !important;
}

.sweet-alert.register-swal fieldset,
.sweet-alert.register-swal .sa-error-container {
  display: none !important;
}

.register-modal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.register-modal-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
}

.register-modal-subtitle {
  color: #334155;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.register-password-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sweet-alert.register-swal .form-group {
  margin-bottom: 14px;
}

.sweet-alert.register-swal .form-group:last-child {
  margin-bottom: 0;
}

.sweet-alert.register-swal label {
  display: block;
  margin-bottom: 6px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

.register-label-hint {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
}

.sweet-alert.register-swal input:not([type="checkbox"]):not([type="radio"]) {
  display: block;
  width: 100% !important;
  height: 46px;
  margin: 0 !important;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  box-sizing: border-box;
  box-shadow: none;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
}

.sweet-alert.register-swal input:not([type="checkbox"]):not([type="radio"]):focus {
  border-color: #2196f3;
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.12);
}

.sweet-alert.register-swal .eb-radio-group > input[type="radio"] {
  display: none !important;
}

.sweet-alert.register-swal .register-gender-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.sweet-alert.register-swal .register-gender-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 12px 14px;
  min-width: 140px;
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sweet-alert.register-swal .register-gender-option:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.sweet-alert.register-swal .eb-radio-group > input[type="radio"] + label > span.eb-radio {
  width: 22px;
  height: 22px;
  border: 2px solid #64748b;
  border-radius: 999px;
  margin-right: 0;
  color: #64748b;
  font-size: 18px;
  position: relative;
  flex: 0 0 22px;
}

.sweet-alert.register-swal .eb-radio-group > input[type="radio"] + label > span.eb-radio#radio-man {
  border-color: deepskyblue;
  color: deepskyblue;
}

.sweet-alert.register-swal .eb-radio-group > input[type="radio"] + label > span.eb-radio#radio-women {
  border-color: mediumvioletred;
  color: mediumvioletred;
}

.sweet-alert.register-swal .eb-radio-group > input[type="radio"] + label > span.eb-radio:before {
  content: "";
}

.sweet-alert.register-swal .eb-radio-group > input[type="radio"]:checked + label {
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.12);
}

.sweet-alert.register-swal .eb-radio-group > input[type="radio"]:checked + label > span.eb-radio:before {
  content: "\2022";
  position: absolute;
  left: 2px;
  top: -14px;
  font-size: 40px;
}

#register-info-area {
  min-height: 24px;
}

#register-res-log {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff1f2;
  color: #be123c;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 700px) {
  .sweet-alert.profile-settings-swal {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .profile-settings-grid {
    grid-template-columns: 1fr;
  }

  .sweet-alert.profile-settings-swal .oo-switch,
  .sweet-alert.profile-settings-swal .oo-switch2 {
    width: 100%;
  }

  .sweet-alert.profile-settings-swal .oo-switch2 {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .sweet-alert.register-swal {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .register-password-grid {
    grid-template-columns: 1fr;
  }

  .sweet-alert.register-swal .register-gender-option {
    width: 100%;
  }

  .sweet-alert.user-account-swal {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100vh - 20px) !important;
  }

  .sweet-alert.user-account-swal .sa-button-container {
    padding: 0 18px !important;
  }

  .user-account-modal__header {
    padding: 0 18px;
  }

  .user-account-modal__hero {
    padding: 22px 16px 20px;
  }

  .user-account-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-account-inline-notice {
    left: 14px;
    right: 14px;
  }

  .user-account-tab {
    border-bottom: 1px solid #eef2f7;
  }

  .user-account-panels {
    padding: 12px 14px 0;
  }

  .user-account-switch-row,
  .user-account-info-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }
}

/* EmojiOneArea baseapp'a özel */
.emojionearea { border-radius: 22px !important; border: 1px solid #e5e9f0 !important; background: #f5f7fb !important; min-height: 38px !important; }
.emojionearea .emojionearea-editor { min-height: 20px !important; padding: 8px 14px !important; font-size: 14px !important; }
.emojionearea.focused { border-color: #2196f3 !important; background: #fff !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: #c8cdd3; border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

/* Material switch (baseapp'a özel) */
.material-switch input[type="checkbox"] { display: none; }
.material-switch span { width: 32px; height: 18px; border-radius: 9px; background: #c8cdd3; display: inline-block; position: relative; cursor: pointer; transition: background 0.2s; }
.material-switch input:checked + span { background: #2196f3; }
.material-switch span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.material-switch input:checked + span::after { left: 16px; }

/* Chat mesaj avatarları (baseapp'a özel düzeltme) */
.chatstyle-01 .ca-received .user-avatar,
.chatstyle-01 .ca-send .user-avatar {
  flex-shrink: 0;
}
.chatstyle-01 .ca-received .user-avatar img,
.chatstyle-01 .ca-send .user-avatar img {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover;
}

/* Alintili mesajlarda sag/sol hiza tema tarafindan bozulmasin */
.chatstyle-01 .message-with-quote.ca-send {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
}

.chatstyle-01 .message-with-quote.ca-send .ca-send__msgwrapper {
  justify-content: flex-end;
}

.chatstyle-01 .message-with-quote.ca-send .ca-send__msg-group {
  align-items: flex-end;
}

.chatstyle-01 .message-with-quote.ca-received {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
}

.chatstyle-01 .message-with-quote.ca-received .ca-received__msgwrapper {
  justify-content: flex-start;
}

.chatstyle-01 .message-with-quote.ca-received .ca-received__msg-group {
  align-items: flex-start;
}

/* Sohbet alanı kenar boşluğu — avatarlar kesilmesin */
.sohbetalani {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

/* ===== COMPOSER / FOOTER DÜZELTMELERİ ===== */

/* Composer genel hizalama — speakymobil orijinal değerlerle uyumlu */
.conversation-panel__footer {
  padding: 1rem !important;
  border-bottom: none !important;
}

.conversation-panel__footer.desktop-composer-footer-collapsed {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding: 0 20px 18px !important;
  margin-top: -86px !important;
  background: transparent !important;
  position: relative;
  z-index: 6;
  pointer-events: none;
}

.conversation-panel__footer.desktop-composer-footer-collapsed #desktopComposer {
  pointer-events: auto;
}

.conversation-panel__body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
  padding-top: 12px !important;
  padding-bottom: 1.5rem !important;
  scroll-padding-top: 12px !important;
  position: relative;
  z-index: 1;
}

#chat {
  background: transparent !important;
}

.composer {
  display: flex !important;
  align-items: center !important;
}

.composer__left {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0;
  gap: 10px;
}

/* Composer middle — speakymobil orijinal değerler */
.composer__middle {
  flex: 1 1 auto !important;
  position: relative !important;
  padding-left: 1rem !important;
  margin-right: 1rem !important;
}

/* emojionearea editör — sağ tarafta ikonlar için yer bırak */
.composer__middle .emojionearea {
  border-radius: 6.25rem !important;
}
.composer__middle .emojionearea .emojionearea-editor {
  padding-right: 15rem !important;
}
.composer__middle .form-control {
  border-radius: 6.25rem !important;
  padding: 0.9rem 15rem 0.9rem 1.5rem !important;
}

/* Input içindeki ikonlar — speakymobil orijinal 35px aralıklarla.
   speakymobil-desktop.css top:0.625rem kullanıyor ama
   emojionearea yüksekliği farklı olduğu için top:50% + translateY(-50%) */
.composer__middle--genelsend {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 235px !important;
  cursor: pointer;
  z-index: 5;
}
.composer__middle--attachment {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 198px !important;
  cursor: pointer;
  z-index: 5;
}
.composer__middle--handler {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 162px !important;
  cursor: pointer;
  z-index: 5;
}
.composer__middle--microphone {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 126px !important;
  cursor: pointer;
  z-index: 5;
}
.composer__middle--photo {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 90px !important;
  cursor: pointer;
  z-index: 5;
}
.composer__middle--speakers {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 54px !important;
  cursor: pointer;
  z-index: 5;
}
.composer__middle--image {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 18px !important;
  cursor: pointer;
  z-index: 5;
}

/* Emoji smiley (sağdaki son ikon - emojionearea button) */
.emojionearea-button {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 25px !important;
  z-index: 5;
}

/* Attachment dropdown menü — yukarı açılan popup */
.composer__middle--attachment .dropdown-menu,
#dd-dropdown {
  position: absolute !important;
  bottom: calc(100% + 15px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: auto !important;
  right: auto !important;
  min-width: 240px !important;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
  border: 1px solid #e5e9f0 !important;
  padding: 8px 0 !important;
  z-index: 1050 !important;
  display: none; /* Changed via JS to block */
}

/* Dropdown item düzgün hizalama */
.composer__middle--attachment .dropdown-item,
#dd-dropdown .dropdown-item,
#dd-dropdown a.dropdown-item {
  display: block !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none !important;
  width: 100% !important;
  clear: both !important;
}
.composer__middle--attachment .dropdown-item:hover,
#dd-dropdown .dropdown-item:hover,
#dd-dropdown a.dropdown-item:hover {
  background: #f0f4f8 !important;
}

/* Dropdown içindeki elemanları flex yap, ikon ve metni ayır */
.composer__middle--attachment .dropdown-item .files_send,
#dd-dropdown .dropdown-item .files_send,
.composer__middle--attachment .dropdown-item label,
#dd-dropdown .dropdown-item label,
#dd-dropdown a.dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 16px !important;
  cursor: pointer;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Çakışmayı önlemek için class içindeki i (ikon) etiketlerini static yap */
.composer__middle--attachment .dropdown-item i,
#dd-dropdown .dropdown-item i,
.composer__middle--attachment .dropdown-item span:first-of-type i,
#dd-dropdown .dropdown-item span i {
  position: static !important; /* OVERLAP FIX */
  font-size: 20px !important;
  color: #6B7B8D !important;
  width: 24px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

/* Eğer metinleri saran span varsa absolute olmasını engelle */
#dd-dropdown .dropdown-item span,
#dd-dropdown .drop-atem {
  position: static !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}
#dd-dropdown a.dropdown-item img {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}
#radioload.active {
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.45));
}

/* Ses toggle (first_tag) düzgün hizalama */
.composer__middle--attachment .first_tag,
#dd-dropdown .first_tag {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  margin: 0 !important;
}
.composer__middle--attachment .divider_menu,
#dd-dropdown .divider_menu {
  height: 1px !important;
  background: #e5e9f0 !important;
  margin: 4px 0 !important;
  padding: 0 !important;
}
.drop-atem {
  white-space: nowrap !important;
}

/* Composer sağ — gönder butonu (speakymobil orijinal değerler) */
.composer__right,
.composer__right--send {
  display: flex !important;
  align-items: center !important;
}
.composer__right--send {
  border: none !important;
  border-radius: 6.25rem !important;
  height: 2.8125rem !important;
  width: 2.8125rem !important;
  justify-content: center !important;
  cursor: pointer;
}

#desktopComposer {
  gap: 14px !important;
}

#desktopComposer.desktop-composer-expanded .composer__left {
  display: none !important;
}

#desktopComposer.desktop-composer-expanded .composer__middle {
  margin-right: 0 !important;
  padding-left: 0 !important;
}

#desktopComposer.desktop-composer-expanded .composer__middle .emojionearea .emojionearea-editor {
  padding-right: 18rem !important;
}

#desktopComposer.desktop-composer-expanded .composer__middle .form-control {
  padding: 0.9rem 18rem 0.9rem 1.5rem !important;
}

#desktopComposer.desktop-composer-expanded #showAll,
#desktopComposer.desktop-composer-expanded .emojionearea-button {
  display: none !important;
}

#desktopComposer .composer__middle--font {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 270px !important;
  cursor: pointer;
  z-index: 5;
}

#desktopComposer.desktop-composer-expanded .composer__middle--font,
#desktopComposer.desktop-composer-expanded .composer__middle--attachment,
#desktopComposer.desktop-composer-expanded .composer__middle--handler,
#desktopComposer.desktop-composer-expanded .composer__middle--microphone,
#desktopComposer.desktop-composer-expanded .composer__middle--photo,
#desktopComposer.desktop-composer-expanded .composer__middle--speakers,
#desktopComposer.desktop-composer-expanded .composer__middle--image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px;
  height: 22px;
}

#desktopComposer.desktop-composer-expanded .composer__middle--font i,
#desktopComposer.desktop-composer-expanded .composer__middle--attachment i,
#desktopComposer.desktop-composer-expanded .composer__middle--handler i,
#desktopComposer.desktop-composer-expanded .composer__middle--microphone i,
#desktopComposer.desktop-composer-expanded .composer__middle--photo i,
#desktopComposer.desktop-composer-expanded .composer__middle--speakers i,
#desktopComposer.desktop-composer-expanded .composer__middle--image i {
  color: #8d95a3 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  transition: color 0.18s ease, transform 0.18s ease !important;
}

#desktopComposer.desktop-composer-expanded .composer__middle--font:hover i,
#desktopComposer.desktop-composer-expanded .composer__middle--attachment:hover i,
#desktopComposer.desktop-composer-expanded .composer__middle--handler:hover i,
#desktopComposer.desktop-composer-expanded .composer__middle--microphone:hover i,
#desktopComposer.desktop-composer-expanded .composer__middle--photo:hover i,
#desktopComposer.desktop-composer-expanded .composer__middle--speakers:hover i,
#desktopComposer.desktop-composer-expanded .composer__middle--image:hover i {
  color: #5f6978 !important;
}

#desktopComposer.desktop-composer-expanded #rowload.active,
#desktopComposer.desktop-composer-expanded #mrow.is-active #rowload,
#desktopComposer.desktop-composer-expanded #micload.active,
#desktopComposer.desktop-composer-expanded #mic.is-active #micload,
#desktopComposer.desktop-composer-expanded #webcamload.active,
#desktopComposer.desktop-composer-expanded #webcam.is-active #webcamload {
  color: #16a34a !important;
}

#desktopComposer.desktop-composer-expanded #mmute.active #muteload,
#desktopComposer.desktop-composer-expanded #mmute.is-danger #muteload {
  color: #dc2626 !important;
}

#desktopComposer.desktop-composer-expanded .composer__middle--image .desktop-composer__radio-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1) saturate(0) brightness(0.72);
  transition: opacity 0.18s ease, filter 0.18s ease, transform 0.18s ease !important;
}

#desktopComposer.desktop-composer-expanded .composer__middle--image:hover .desktop-composer__radio-icon {
  opacity: 0.95;
  filter: grayscale(1) saturate(0) brightness(0.58);
}

#desktopComposer.desktop-composer-expanded #desktopComposerRadioAction.is-active .desktop-composer__radio-icon {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(41%) sepia(70%) saturate(731%) hue-rotate(94deg) brightness(95%) contrast(92%) drop-shadow(0 0 6px rgba(22, 163, 74, 0.45));
}
#desktopComposerQuickBar {
  display: none;
}

#desktopComposer .desktop-composer__compact-action {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280 !important;
  cursor: pointer;
}

#desktopComposer .desktop-composer__compact-action i {
  font-size: 19px !important;
  line-height: 1 !important;
  color: #6b7280 !important;
  transition: color 0.18s ease, transform 0.18s ease !important;
}

#desktopComposer .desktop-composer__compact-action img {
  width: 19px !important;
  height: 19px !important;
  object-fit: contain !important;
  opacity: 0.72;
  filter: grayscale(1) saturate(0) brightness(0.72);
  transition: opacity 0.18s ease, filter 0.18s ease, transform 0.18s ease !important;
}

#desktopComposer .desktop-composer__compact-action:hover img {
  opacity: 0.95;
  filter: grayscale(1) saturate(0) brightness(0.58);
}

#desktopComposer .desktop-composer__compact-action.is-active i {
  color: #16a34a !important;
}

#desktopComposer .desktop-composer__compact-action.is-active img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(41%) sepia(70%) saturate(731%) hue-rotate(94deg) brightness(95%) contrast(92%) drop-shadow(0 0 6px rgba(22, 163, 74, 0.45));
}

#desktopComposer .desktop-composer__compact-action.is-danger i {
  color: #dc2626 !important;
}

#desktopComposer.desktop-composer-collapsed {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
  width: auto !important;
  max-width: 100% !important;
  margin-left: auto !important;
}

#desktopComposer.desktop-composer-collapsed .composer__left,
#desktopComposer.desktop-composer-collapsed .composer__middle {
  display: none !important;
}

#desktopComposer.desktop-composer-collapsed #desktopComposerQuickBar {
  flex: 0 0 clamp(320px, 30vw, 460px);
  width: clamp(320px, 30vw, 460px);
  min-width: 0;
  max-width: calc(100% - 74px);
  margin-left: auto;
  min-height: 52px;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(221, 227, 236, 0.95);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

#desktopComposer.desktop-composer-collapsed .composer__right {
  flex: 0 0 auto;
}

#desktopComposer.desktop-composer-collapsed .composer__right--send {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  border-radius: 50% !important;
  background: linear-gradient(180deg, #2b98ff 0%, #1677ff 100%) !important;
  box-shadow: 0 12px 24px rgba(22, 119, 255, 0.28) !important;
}

#desktopComposer.desktop-composer-collapsed .composer__right--send i {
  color: #ffffff !important;
  font-size: 24px !important;
}

#desktopComposer.desktop-composer-expanded #desktopComposerQuickBar {
  display: none !important;
}

#desktopComposer.desktop-composer-expanded {
  width: 100% !important;
}

#desktopComposer.desktop-composer-expanded .composer__left {
  display: flex !important;
}

#desktopComposer.desktop-composer-expanded .composer__middle {
  display: block !important;
  flex: 1 1 auto !important;
}

/* Emoji picker düzeltmesi */
.emojionearea-picker {
  z-index: 1060 !important;
}

.speakymobil-asset-picker {
  padding: 10px;
}

.speakymobil-asset-picker.hidden,
.speakymobil-smile-category-block.hidden {
  display: none !important;
}

.speakymobil-picker-hidden {
  display: none !important;
}

.speakymobil-asset-picker__status {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
  padding: 12px 8px;
  text-align: center;
}

.speakymobil-asset-picker__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
}

.speakymobil-picker-item {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  height: 76px;
  justify-content: center;
  padding: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.speakymobil-picker-item:hover,
.speakymobil-picker-item:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.speakymobil-picker-item img {
  border-radius: 8px;
  max-height: 62px;
  max-width: 62px;
  object-fit: contain;
}

.speakymobil-smile-picker .emojionearea-category-block {
  margin: 0;
}

.speakymobil-smile-picker .emojionearea-category {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
}

.speakymobil-smile-picker .emojibtn {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  height: 60px;
  justify-content: center;
  padding: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.speakymobil-smile-picker .emojibtn:hover,
.speakymobil-smile-picker .emojibtn:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.speakymobil-smile-picker .emojibtn img {
  max-height: 44px;
  max-width: 44px;
  object-fit: contain;
}

.chat-inline-gif {
  border-radius: 8px;
  display: inline-block;
  height: auto;
  margin: 2px 0;
  max-height: 96px;
  max-width: 96px;
  object-fit: contain;
  vertical-align: middle;
}

.emojionearea-editor .chat-inline-gif {
  max-height: 72px;
  max-width: 72px;
}

#alertbox {
  background: rgba(17, 24, 39, 0.92) !important;
  border-radius: 999px !important;
  bottom: 118px !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28) !important;
  color: #fff !important;
  display: block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  left: 50% !important;
  margin-left: 0 !important;
  max-width: calc(100vw - 32px) !important;
  opacity: 0;
  padding: 14px 24px !important;
  pointer-events: none !important;
  position: fixed !important;
  text-align: center !important;
  transform: translate(-50%, 18px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  width: auto !important;
  z-index: 12000 !important;
}

#alertbox.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 640px) {
  #alertbox {
    bottom: 104px !important;
    font-size: 13px !important;
    padding: 12px 18px !important;
    white-space: normal;
  }
}

.broadcast.broadcast-window {
  background: linear-gradient(180deg, #0d172f 0%, #08101f 100%) !important;
  border: 1px solid rgba(134, 163, 214, 0.28) !important;
  border-radius: 24px !important;
  bottom: auto !important;
  box-shadow: 0 24px 60px rgba(3, 12, 28, 0.45) !important;
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  height: 264px !important;
  left: auto !important;
  margin: 0 !important;
  max-height: calc(100vh - 40px) !important;
  min-height: 224px !important;
  min-width: 320px !important;
  overflow: hidden !important;
  position: fixed !important;
  right: 20px !important;
  top: 20px !important;
  width: min(380px, calc(100vw - 40px)) !important;
  z-index: 11000 !important;
}

.broadcast.broadcast-window .broadcast-header {
  align-items: center;
  background: linear-gradient(135deg, rgba(35, 74, 145, 0.96), rgba(17, 120, 205, 0.96));
  color: #fff;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 16px;
}

.broadcast.broadcast-window .broadcast-copy {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.broadcast.broadcast-window .broadcast-copy-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.broadcast.broadcast-window .broadcast-chip {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.broadcast.broadcast-window .broadcast-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.broadcast.broadcast-window .broadcast-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.broadcast.broadcast-window .broadcast-controls {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.broadcast.broadcast-window .close,
.broadcast.broadcast-window .fullscreen,
.broadcast.broadcast-window .mute {
  align-items: center;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px !important;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex !important;
  font-size: 15px !important;
  height: 36px !important;
  justify-content: center;
  left: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  right: auto !important;
  top: auto !important;
  width: 36px !important;
}

.broadcast.broadcast-window .close:hover,
.broadcast.broadcast-window .fullscreen:hover,
.broadcast.broadcast-window .mute:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  color: #fff !important;
}

.broadcast.broadcast-window .broadcast-stage {
  background: #050816;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.broadcast.broadcast-window .broadcast-stage video,
.broadcast.broadcast-window .broadcast-stage .broadcast-media-element {
  background: #050816;
  display: block;
  height: 100% !important;
  object-fit: cover;
  width: 100% !important;
}

.broadcast.broadcast-window .resize {
  background: transparent !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.65);
  border-left: 0 !important;
  border-radius: 0 !important;
  border-right: 2px solid rgba(255, 255, 255, 0.65);
  bottom: 12px !important;
  display: block !important;
  height: 12px !important;
  left: auto !important;
  position: absolute !important;
  right: 12px !important;
  top: auto !important;
  width: 12px !important;
  z-index: 3 !important;
}

.broadcast.broadcast-window .viewers {
  background: rgba(4, 10, 20, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px !important;
  bottom: 12px !important;
  color: #fff !important;
  display: flex !important;
  gap: 8px;
  left: 12px !important;
  max-width: calc(100% - 56px);
  padding: 8px 12px !important;
  top: auto !important;
}

.broadcast.broadcast-window .viewers .viewerscount,
.broadcast.broadcast-window .viewers .viewersname {
  color: #fff !important;
  float: none !important;
}

.broadcast.broadcast-window.videoFullscreen {
  height: min(78vh, 640px) !important;
  left: 50% !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  position: fixed !important;
  right: auto !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(86vw, 920px) !important;
  z-index: 11020 !important;
}

@media (max-width: 1000px) {
  .broadcast.broadcast-window {
    height: 240px !important;
    left: 12px !important;
    min-width: 0 !important;
    right: 12px !important;
    top: 72px !important;
    width: auto !important;
  }

  .broadcast.broadcast-window.videoFullscreen {
    height: calc(100vh - 104px) !important;
    left: 12px !important;
    right: 12px !important;
    top: 72px !important;
    transform: none !important;
    width: auto !important;
  }
}

/* GIF/Sticker dropdown düzeltmesi — yukarı açılsın */
.composer__left--sticker .dropdown-menu.genelanimo,
.composer__left--emoticon .dropdown-menu.genelikonlar {
  position: absolute !important;
  bottom: 100% !important;
  left: 0 !important;
  top: auto !important;
  z-index: 1050 !important;
  margin-bottom: 10px !important;
  min-width: 300px;
  max-height: 350px;
  overflow-y: auto;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
  border: 1px solid #e5e9f0 !important;
  padding: 8px !important;
}

/* === speakymobil USER LIST OVERRIDE === */
#userlist:not(.room_userList) .user {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f2f4f9;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    position: relative;
    background: #fff;
}
#userlist:not(.room_userList) .user:hover {
    background-color: #f7fafc;
}

#userlist:not(.room_userList) .user .image {
    width: 46px; /* Matches new speakymobil app style */
    height: 46px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Soft premium shadow */
    border: 1.5px solid #fff;
}
#userlist:not(.room_userList) .user .info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
#userlist:not(.room_userList) .user .info .name {
    font-size: 14.5px;
    font-weight: 600;
    color: #2b3036;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#userlist:not(.room_userList) .user .info .status {
    font-size: 12.5px;
    color: #7987a1;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#userlist:not(.room_userList) .user .info .text {
    font-size: 11px;
    color: #a0a8b9;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: italic;
}
#userlist:not(.room_userList) .user .icons {
    display: flex;
    align-items: center;
    margin-left: 10px;
    gap: 8px;
    flex-shrink: 0;
}
#userlist:not(.room_userList) .user .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f4f7f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7987a1;
    transition: all 0.2s ease;
}
#userlist:not(.room_userList) .user .icon:hover {
    background-color: #e2e8f0;
    color: #1b68ff;
}
#userlist:not(.room_userList) .user .icon i {
    font-size: 13px;
}
/* For visibility of special icons when active */
#userlist:not(.room_userList) .user .icon.active {
    background-color: rgba(27, 104, 255, 0.1);
    color: #1b68ff;
}

#userlist:not(.room_userList) .user .icon.restricted {
    background-color: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}

#userlist:not(.room_userList) .user .icon.restricted i {
    color: #dc2626 !important;
}
/* Handle missing images beautifully */
img[alt]:before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f4f7f9;
}

/* === PROFILE INFO PANEL OVERRIDE === */
#profileinfo, #privatemessages {
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#profileinfo .goback, #privatemessages .goback {
  padding: 15px 20px;
  border-bottom: 1px solid #f2f4f9;
  font-size: 15px;
  font-weight: 600;
  color: #1b68ff;
  cursor: pointer;
  background: #f8fafc;
}
#profileinfo .goback span:hover, #privatemessages .goback span:hover {
  text-decoration: underline;
}

#privatemessages.ozel_discevre {
  position: fixed;
  top: 96px;
  left: 50%;
  right: auto;
  width: 660px;
  height: 466px;
  padding: 4px;
  display: none;
  overflow: hidden;
  transform: translateX(-50%);
  z-index: 9998 !important;
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.3);
}

#privatemessages.ozel_discevre .privatemesaj {
  display: block;
  height: 24px;
  min-height: 24px;
  padding: 10px;
}

#privatemessages.ozel_discevre .modal-close {
  float: right;
  margin-top: 2px;
  width: 20px;
  height: 20px;
}

#privatemessages.ozel_discevre .modal-close button {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

#messagesContainer.speakymobil-pm-original-list {
  height: calc(100% - 48px);
  overflow-y: auto;
  padding: 0;
  background: #fff;
}

#messagesContainer.speakymobil-pm-original-list #nomessage.bastHead_ozel {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#messagesContainer.speakymobil-pm-original-list .pmbox {
  margin: 0;
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: #fff;
  transition: background-color 0.16s ease;
}

#messagesContainer.speakymobil-pm-original-list .pmbox:hover {
  background: #f8fbff;
}

#messagesContainer.speakymobil-pm-original-list .pmbox.unread {
  background: #eef6ff;
}

#messagesContainer.speakymobil-pm-original-list .message_ozel_outer {
  width: 100%;
  min-height: 45px;
  margin: 0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  background: transparent;
}

#messagesContainer.speakymobil-pm-original-list .speakymobil-pm-original-copy {
  min-width: 0;
  flex: 1 1 auto;
}

#messagesContainer.speakymobil-pm-original-list .ozuser_name,
#messagesContainer.speakymobil-pm-original-list .ozuser_msj {
  float: none;
  width: auto;
  margin: 0;
}

#messagesContainer.speakymobil-pm-original-list .ozuser_msj {
  color: #64748b;
}

#profileinfo .uprofile {
  padding: 24px;
  overflow-y: auto;
}

#profileinfo .uprofile h3 {
  font-size: 16px;
  color: #2b3036;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#profileinfo .uprofile h3 i {
  color: #7987a1;
}

#profileinfo .uprofile .image {
  margin-bottom: 18px;
  text-align: center;
}
#profileinfo .uprofile .image img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
}

#profileinfo .uprofile .name {
  font-size: 18px;
  font-weight: 700;
  color: #2b3036;
  text-align: center;
  margin-bottom: 6px;
}

#profileinfo .uprofile .status {
  text-align: center;
  font-size: 13px;
  color: #7987a1;
  margin-bottom: 24px;
  line-height: 1.6;
}
#profileinfo .uprofile .status span.createdDate {
  font-size: 11.5px;
  color: #a0a8b9;
}

#profileinfo .uprofile .uactions {
  margin-bottom: 25px;
}
#profileinfo .uprofile .uactions ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#profileinfo .uprofile .uactions li {
  padding: 12px 18px;
  background-color: #f8fafc;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: #2b3036;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
#profileinfo .uprofile .uactions li:hover {
  background-color: #fff;
  border-color: #1b68ff;
  color: #1b68ff;
  box-shadow: 0 2px 8px rgba(27, 104, 255, 0.1);
}
#profileinfo .uprofile .uactions li i {
  font-size: 18px;
  color: #7987a1;
  width: 20px;
  text-align: center;
}
#profileinfo .uprofile .uactions li:hover i {
  color: #1b68ff;
}

#profileinfo .uprofile .about h4 {
  font-size: 14px;
  color: #7987a1;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
#profileinfo .uprofile .about .uinfo {
  background: #f8fafc;
  padding: 16px;
  border-radius: 10px;
  font-size: 13.5px;
  color: #2b3036;
  line-height: 1.6;
  border: 1px solid #f2f4f9;
}

#pm-modal {
  position: fixed;
  z-index: 10010;
  left: 50%;
  top: 50px;
  transform: translateX(-50%);
  width: 700px;
  max-width: calc(100vw - 24px);
  min-height: 450px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 42px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  font-family: inherit;
  flex-direction: column;
}

#pm-modal .emojionearea.pm-modal-ea {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 14px !important;
  background: #f3f7fd !important;
  border: none !important;
  box-shadow: none !important;
}

#pm-modal .emojionearea.pm-modal-ea .emojionearea-editor {
  min-height: 44px !important;
  max-height: 68px !important;
  font-size: 17px !important;
  color: #222;
  background: transparent;
}

#pm-modal .emojionearea.pm-modal-ea .emojionearea-button {
  display: none !important;
}

#pm-modal .emojionearea-filters {
  display: none !important;
}

#pm-modal .emojionearea .emojionearea-picker.emojionearea-picker-position-top {
  width: 100% !important;
}

#pm-modal .emojionearea .emojionearea-button.active + .emojionearea-picker-position-top {
  margin-top: -290px !important;
}

#pm-modal .emojionearea.emojionearea-inline {
  margin-right: 0 !important;
}

#pm-modal .emojionearea.emojionearea-inline > .emojionearea-editor {
  width: 88% !important;
}

#pm-modal .pm-modal-header-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, #2073ee 0%, #1454be 100%) !important;
  color: #fff;
  padding: 16px 18px;
  border-radius: 24px 24px 0 0;
  position: relative;
  cursor: move;
}

#pm-modal .pm-modal-header-modern.pm-modal-drag-handle {
  background: linear-gradient(135deg, #2073ee 0%, #1454be 100%) !important;
}

#pm-modal .pm-modal-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.08);
}

#pm-modal .pm-modal-header-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

#pm-modal .pm-modal-header-title {
  font-size: 19px !important;
  font-weight: 600 !important;
  line-height: 1.22 !important;
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#pm-modal .pm-modal-header-room {
  font-weight: 500;
}

#pm-modal .pm-modal-header-sep {
  margin: 0 7px 0 6px;
  opacity: 0.7;
}

#pm-modal .pm-modal-header-role {
  font-size: 15px;
  opacity: 0.94;
  font-weight: 400;
  margin-top: 1px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#pm-modal .pm-modal-close-modern {
  font-size: 23px;
  cursor: pointer;
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 8px;
  height: 28px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}

#pm-modal .pm-modal-close-modern:hover {
  background: #e7eef9;
  color: #d13131;
}

#pm-modal .pm-modal-body-modern {
  flex: 1 1 auto;
  background: url("https://resmim.net/cdn/2025/06/22/Txasac.png") center/cover no-repeat;
  padding: 22px 24px 12px;
  overflow-y: auto;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 370px;
  min-height: 150px;
}

#pm-modal #pm-modal-message-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#pm-modal .pm-modal-message {
  display: flex;
  align-items: flex-end;
  margin-bottom: 2px;
  gap: 8px;
}

#pm-modal .pm-modal-message.you {
  justify-content: flex-end;
}

#pm-modal .pm-modal-message-bubble {
  max-width: 320px;
  word-break: break-word;
  padding: 10px 18px;
  font-size: 15.5px;
  border-radius: 15px;
  border: 1.5px solid #e2e9f8;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

#pm-modal .pm-modal-message-bubble img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

#pm-modal .pm-modal-message.you .pm-modal-message-bubble {
  background: #2073ee;
  color: #fff;
  border: 1.5px solid #2073ee;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 15px;
}

#pm-modal .pm-modal-message:not(.you) .pm-modal-message-bubble {
  background: #f1f3fa;
  color: #2073ee;
  border-left: 3px solid #2073ee;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 15px;
}

#pm-modal .pm-modal-footer-modern {
  display: flex;
  align-items: center;
  background: #fff;
  border-top: 1px solid #e3e9f3;
  padding: 12px 14px;
  gap: 10px;
}

#pm-modal #pm-modal-emoji-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.14s;
  padding: 0;
}

#pm-modal #pm-modal-emoji-btn img {
  width: 28px;
  height: 28px;
}

#pm-modal #pm-modal-input {
  min-height: 44px;
  max-height: 68px;
  resize: none;
  font-size: 17px;
  padding: 7px 15px;
  border-radius: 14px;
  border: none;
  background: #f3f7fd;
  color: #222;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}

#pm-modal .pm-modal-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

#pm-modal .pm-modal-footer-actions button {
  background: #f7fafd;
  border: none;
  color: #6f8098;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s, color 0.14s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

#pm-modal .pm-modal-footer-actions button:active,
#pm-modal .pm-modal-footer-actions button:hover {
  background: #e7eef9;
  color: #2073ee;
}

#pm-modal .pm-modal-send-modern {
  background: #2073ee !important;
  color: #fff !important;
  font-size: 21px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-left: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(24, 149, 255, 0.12);
}

#pm-modal .pm-modal-send-modern:hover {
  background: #0058c7 !important;
  color: #fff !important;
}

@media (max-width: 1020px) {
  #pm-modal {
    width: 99vw !important;
    min-width: 0;
    left: 50vw;
  }
}

@media (max-width: 1024px) {
  #pm-modal {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    min-width: 0 !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: hidden !important;
    z-index: 10000 !important;
    transform: none !important;
    background: #fff !important;
    flex-direction: column;
  }

  #pm-modal .pm-modal-header-modern {
    border-radius: 0;
  }

  #pm-modal .pm-modal-body-modern {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
  }

  #pm-modal .pm-modal-footer-modern {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  #pm-modal .emojionearea.emojionearea-inline {
    border: 1px solid rgba(0, 0, 0, 0.5) !important;
    width: 100% !important;
  }

  #pm-modal .emojionearea.emojionearea-inline > .emojionearea-editor {
    padding: 15px 0 0 5px;
  }
}

.contextmenu {
  min-width: 190px;
  max-width: 240px;
  overflow: hidden;
  display: none;
  cursor: default;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(12px);
  z-index: 99999;
}

.contextmenu ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.contextmenu ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 11px 14px;
  box-sizing: border-box;
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.contextmenu ul li:last-child {
  border-bottom: 0;
}

.contextmenu ul li i {
  width: 16px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
  flex: 0 0 16px;
}

.contextmenu ul li:hover {
  background: #eff6ff;
  color: #2563eb;
}

.contextmenu ul li:hover i {
  color: #2563eb;
}

@media (max-width: 768px) {
  #tabOdalar .frengir {
    margin: 10px 12px 12px;
  }

  #tabOdalar .frengir .form-control,
  #tabOdalar .frengir .input-group-text {
    min-height: 48px;
    border-radius: 16px;
    border-color: rgba(148, 163, 184, 0.18);
    background: #ffffff;
  }

  #tabOdalar .frengir .input-group-text {
    color: #2563eb;
  }

  #tabOdalar .sabit_odaliste {
    margin-top: 0;
  }

  #tabOdalar .sabit_odaliste li {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  }

  #tabOdalar #roomlist {
    padding-bottom: 22px;
  }

  #tabOdalar #roomlist > ul > li {
    margin: 0;
  }

  #tabOdalar #roomlist .conversation.room {
    margin: 0 10px 10px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    background: #ffffff !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
  }

  #tabOdalar #roomlist .conversation.room.active {
    background: #ffffff !important;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.1);
    border-color: rgba(37, 99, 235, 0.18);
  }

  #tabOdalar #roomlist .conversation.room.active:before {
    width: 4px;
    border-radius: 18px 0 0 18px;
    background: #2563eb !important;
  }

  #tabOdalar #roomlist .conversation__name--title,
  #tabOdalar #roomlist .conversation__message,
  #tabOdalar #roomlist .conversation__message-preview,
  #tabOdalar #roomlist .roomCount,
  #tabOdalar #roomlist .mdi {
    color: #0f172a !important;
  }

  #tabOdalar #roomlist .conversation__message {
    gap: 6px;
  }

  #tabOdalar #roomlist .conversation__message-preview {
    color: #64748b !important;
  }

  #tabOdalar #roomlist .badge-primary {
    background: #2563eb !important;
    color: #ffffff !important;
  }
}

.modal-radio-istek-bg {
  align-items: center;
  background: rgba(15, 23, 42, 0.48);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 18px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 99999;
}

.modal-radio-istek {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.32);
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 760px);
  max-width: 460px;
  overflow: hidden;
  width: min(100%, 460px);
}

.modal-radio-istek-header {
  align-items: flex-start;
  border-bottom: 1px solid #e5e7eb;
  color: #0f172a;
  display: flex;
  font-size: 19px;
  font-weight: 700;
  justify-content: flex-start;
  line-height: 1.25;
  padding: 16px 64px 16px 20px;
  position: relative;
}

.modal-radio-istek-title {
  display: block;
  max-width: 100%;
}

.modal-radio-istek-close {
  align-items: center;
  background: #fff5f5;
  border: 0;
  border-radius: 999px;
  color: #dc2626;
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
}

.modal-radio-istek-content {
  background: linear-gradient(180deg, #e8f1ff 0%, #f8fbff 100%);
  overflow-y: auto;
  padding: 20px;
}

.modal-radio-istek-form-wrap {
  background: #ffffff;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.08);
  margin: 0 auto;
  max-width: 100%;
  padding: 18px;
}

.modal-radio-istek-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-radio-istek-form input,
.modal-radio-istek-form textarea {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-sizing: border-box;
  color: #0f172a;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  padding: 12px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  width: 100%;
}

.modal-radio-istek-form textarea {
  min-height: 92px;
  resize: vertical;
}

.modal-radio-istek-form input:focus,
.modal-radio-istek-form textarea:focus {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.modal-radio-istek-form input::placeholder,
.modal-radio-istek-form textarea::placeholder {
  color: #94a3b8;
}

.modal-radio-istek-form-btn {
  align-self: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  min-width: 180px;
  padding: 12px 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.modal-radio-istek-form-btn:hover {
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.3);
  filter: brightness(1.02);
  transform: translateY(-1px);
}

.modal-radio-istek-status {
  border: 1px solid #f7d58d !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .modal-radio-istek-bg {
    padding: 14px;
  }

  .modal-radio-istek {
    border-radius: 16px;
    width: min(100%, 420px);
  }

  .modal-radio-istek-content {
    padding: 16px;
  }

  .modal-radio-istek-form-wrap {
    padding: 16px;
  }
}

/* Ensure word wrap and padding won't push underneath absolute positioned actions */
.emojionearea-editor {
    box-sizing: border-box !important;
    word-break: break-all !important;
    overflow-wrap: break-word !important;
}

#send .emojionearea-editor {
    box-sizing: border-box !important;
}

.composer__middle .form-control {
    box-sizing: border-box !important;
}
.emojionearea-editor {
    white-space: pre-wrap !important;
}
.emojionearea .emojionearea-editor {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: 120px !important;
}
.emojionearea {
    height: auto !important;
}
.composer__middle .emojionearea .emojionearea-editor {
    padding-right: 8px !important;
    margin-right: 198px; /* fallback, JS overrides */
}

/* Fix scrollbar visibility when empty */
.emojionearea .emojionearea-editor {
    min-height: 20px !important;
}


/* Also address webkit scrollbar visibility if auto isn't strictly respected by browser */
.emojionearea .emojionearea-editor::-webkit-scrollbar-track {
    background: transparent !important;
}
.emojionearea .emojionearea-editor::-webkit-scrollbar {
    width: 6px;
    background: transparent !important;
}
.emojionearea .emojionearea-editor::-webkit-scrollbar-thumb {
    background-color: transparent !important;
}
.emojionearea .emojionearea-editor:hover::-webkit-scrollbar-thumb,
.emojionearea .emojionearea-editor:focus::-webkit-scrollbar-thumb,
.emojionearea .emojionearea-editor:active::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2) !important;
}

