/* Version Code - 1 */
:root {
  --greencolor: #60c042;
  --whitecolor: #FFFFFF;
  --linecolor: #e5e5e5;
  --blackcolor: #000000;
  --redcolor: #ff0000;
  --greycolor: grey;
  --greenbg: #ddffdd;
  --redbg: #ffcfcf;
  --bluebg: #dddeff;
  --bluecolor: #007abf;
  --greybg: #f1f1f1;
  --greenlightbg: #CBE3C3;
  --greenborder: #cae9d6;
  --lightgrey: #7c7c7c;
}

* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'SatoshiRegular';
  src: url('fonts/Satoshi-Regular.otf');
}

@font-face {
  font-family: 'SatoshiLight';
  src: url('fonts/Satoshi-Light.otf');
}

@font-face {
  font-family: 'SatoshiBold';
  src: url('fonts/Satoshi-Bold.otf');
}


input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'SatoshiRegular';
  overflow-x: hidden;
}

strong {
  color: var(--lightgrey);
}

#completeview,
#loginview {
  display: none;
}

#profile,
#timeline,
#university-offers {
  margin: 20px;
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background-color: #fff;
}

#timeline {
  padding-left: 10px;
}

h2 {
  color: var(--greencolor);
  font-size: clamp(20px, 2.5vw, 24px);
}

p {
  margin: 0;
}

@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }

  50% {
    transform: scale(1.5, 1.5);
  }

  100% {
    transform: scale(1, 1);
  }
}

.section-divider {
  border: none;
  height: 1px;
  background-color: #e0e0e0;
  margin: 20px 0;
}

.red {
  color: var(--redcolor);
}

.green {
  color: var(--greencolor);
}

.grey {
  color: var(--greycolor);
}

#loginview {
  text-align: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.login-card h2 {
  color: #03b240;
  text-align: center;
  margin-bottom: 20px;
}

.login-card form {
  display: flex;
  flex-direction: column;
}

.login-card label {
  margin-bottom: 10px;
  font-weight: bold;
  text-align: left;
  color: #555;
}

.login-card input {
  margin-bottom: 15px;
  padding: 11px 10px;
  font-size: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  width: 100%;
  margin-left: -1px;
  outline: none;
  box-sizing: border-box;
}

.login-card button {
  background: var(--greencolor);
  color: #fff;
  font-size: 1rem;
  padding: 12px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
}

.error {
  color: var(--redcolor);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 10px;
}

.logout-container {
  text-align: center;
}

.logout-container .logout-btn {
  display: inline-block;
  text-align: center;
  margin: 30px auto;
  background: var(--redcolor);
  color: var(--whitecolor);
  cursor: pointer;
  padding: 3px 5px;
  border-radius: 5px;
}

.otp-verification-container .resendotp-container {
  margin-top: 5px;
}

.otp-verification-container .resendotp-container #resend_otp {
  cursor: pointer;
}

.otp-verification-container .resendotp-container #otp_countdown {
  display: none;
}

.otp-verification-container .resendotp-container .update-number {
  cursor: pointer;
}

#popup_toast_message {
  display: none;
  position: absolute;
  bottom: 25%;
  background: #4b4848;
  font-size: 14px;
  color: #fff;
  padding: 10px 15px;
  text-align: center;
  border-radius: 5px;
  font-weight: bold;
}

.hidden {
  display: none;
}

#thank-you-message {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 20px;
  color: var(--greencolor);
  font-size: 1.2rem;
  background: var(--whitecolor);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

#thank-you-message.hidden {
  display: none;
}

#thank-you-message .close-btn {
  color: var(--lightgrey);
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--whitecolor);
  border-radius: 50%;
  cursor: pointer;
}

.error-message {
  color: var(--redcolor);
  font-size: 0.9rem;
  margin: 5px 0 10px;
  display: block;
}

.error-message.hidden {
  display: none;
}

.mobile-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.mobile-number input:first-child {
  width: 50px;
  text-align: center;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.mobile-number input:last-child {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.business-logo {
  margin-bottom: 30px;
  margin-top: 15px;
  width: 170px;
  box-sizing: border-box;
}

.downloads {
  display: none;
  justify-content: space-between;
  text-align: right;
  align-items: center;
  padding: 20px 23px;
  background-color: var(--greenlightbg);
}

.downloads img {
  width: 100px;
  cursor: pointer;
  margin: 0px 10px;
  object-fit: contain;
}

.downloads a {
  outline: none;
}

.downloads a:first-child img {
  width: 110px;
}

#cancel-change-btn {
  background-color: #aaa;
  color: var(--whitecolor);
}

#confirm-change-btn {
  background-color: var(--greencolor);
  color: var(--whitecolor);
}

#cancel-change-btn:hover {
  background-color: #888;
}

#confirm-change-btn:hover {
  background-color: var(--greencolor);
}

.button-group {
  display: flex;
  gap: 10px;
}

#thank-you-message-change {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 20px;
  color: var(--greencolor);
  font-size: 1.2rem;
  background: var(--whitecolor);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

#thank-you-message-change.hidden {
  display: none;
}

#thank-you-message-change .close-btn {
  color: var(--lightgrey);
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--whitecolor);
  border-radius: 50%;
  cursor: pointer;
}

/* Loader */
.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--whitecolor);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--greencolor);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Call Screen Overlay */
.call-screen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  z-index: 10000;
}

/* Profile Picture */
.callee-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid white;
  object-fit: cover;
}

/* Calling Status */
.call-status {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Call Controls */
.call-controls {
  position: absolute;
  bottom: 50px;
  display: flex;
  gap: 20px;
}

/* Call Buttons */
.call-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.3s;
  border: none;
}

/* Icon Styling */
.call-btn i {
  font-size: 28px;
  color: white;
}

/* Mic & Speaker Buttons */
.mic-btn,
.speaker-btn {
  background-color: #333;
}

/* End Call Button */
.end-call-btn {
  background-color: red;
}

.alert-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: clamp(20px, 2.5vw, 24px);
  color: var(--greencolor);
  /* Using your project's green color */
}

.alert-message {
  margin-bottom: 10px;
  font-weight: bold;
  margin-bottom: 30px;
}

.go-back-btn {
  padding: 8px 15px;
  background-color: var(--blackcolor);
  color: var(--whitecolor);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  display: none;
}

/* Incoming call */

.incomingcall-callee-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid white;
  object-fit: cover;
}

.incomingcall-call-status {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

.incomingcall-call-controls {
  position: absolute;
  bottom: 50px;
  display: flex;
  gap: 20px;
}

.incomingcall-call-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.3s;
  border: none;
}

.incomingcall-call-btn i {
  font-size: 28px;
  color: white;
}

.incomingcall-join-btn {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  height: auto;
  width: auto;
  min-width: 120px;
  /* Ensure minimum width for text */
}

.incomingcall-join-btn:hover {
  background-color: #444;
}

.incomingcall-decline-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: red;
  color: white;
}

.incomingcall-decline-btn:hover {
  background-color: #ff3333;
}

.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.chat-main-container {
  position: relative;
  height: 100vh;
  transition: margin-top 0.3s ease;
}

.chat-menu-container {
  display: none;
  background-color: #fff;
  align-items: flex-end;
  overflow: hidden;
}

.chat-menu-container .chatmenu-list {
  width: 20%;
  height: 100vh;
  max-height: 100%;
  border: 1px solid #eee;
  padding: 15px 10px 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: #fff;
}

.chat-menu-container .chatmenu-list .logo-img {
  display: block;
  width: clamp(80px, 20vw, 150px);
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.chat-menu-container .chatmenu-list .logo-img.mobile-logo {
  display: none;
}

.chat-menu-container .chatmenu-list .menu-top .menu-icons {
  font-size: 18px;
  margin-right: 5px;
}

.chat-menu-container .chatmenu-list .menu-top #studentprofile .menu-icons {
  font-size: 22px;
}

.chat-menu-container .chatmenu-list .menu-top #broadcastchat .menu-icons {
  font-size: 15px;
}

.chat-menu-container .chatmenu-list .menu-item {
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  border-radius: 5px;
  font-size: clamp(13px, 1.5vw, 15px);
  color: #555;
  font-weight: bold;
  font-family: SatoshiBold;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.chat-menu-container .chatmenu-list .menu-item.active {
  background-color: var(--greencolor);
  color: #fff;
}

.chat-menu-container .chatmenu-list .menu-item.active .menu-icons {
  color: #fff;
}

.chat-menu-container .chatmenu-list #chaticon {
  position: relative;
}

.chat-menu-container .chatmenu-list .menu-item:last-child {
  border-bottom: none;
}

.chat-menu-container .chatmenu-list .profile-account-container {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #eee;
}

.chat-menu-container .chatmenu-list .profile-account-container .profile-menu-item {
  padding: 15px 16px;
  cursor: pointer;
  text-align: center;
}

.chat-menu-container .chatmenu-list .profile-account-container .profile-menu-item:hover {
  background-color: unset;
}

.chat-menu-container .chatmenu-list .profile-account-container .profile-menu-item.active {
  background-color: unset;
}

.chat-menu-container .chatmenu-list .menu-icons.profile-img {
  width: 45px;
  border: 1px solid #dbd4d4;
  border-radius: 50px;
}

.chat-menu-container .chat-section {
  width: 80%;
  background: #fff;
}

.chat-menu-container .chat-section #chats_container {
  display: block;
  width: 100%;
  margin: auto;
  overflow: hidden;
  height: 100vh;
}

#chats_container #chatscompletecontainer {
  display: none;
  height: 100vh;
}

/* Profile section */

.profile-main-container {
  display: none;
  width: 100%;
  max-width: 700px;
  padding: 20px 30px;
  flex-direction: column;
  height: 100vh;
  overflow-y: scroll;
  border-right: 1px solid #eee;
}

.profile-main-container .section-divider {
  background-color: #e0e0e085;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .profile-back {
  display: flex;
  align-items: center;
}

.top-bar .profile-back .back-arrow {
  width: 20px;
}

.top-bar p {
  font-size: clamp(16px, 2vw, 20px);
}

.top-bar .sign-out {
  font-size: clamp(16px, 2vw, 20px);
  cursor: pointer;
}

.back-arrow {
  cursor: pointer;
  width: 30px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 30px;
  object-fit: contain;
}

.profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #e8e8e8;
  margin: 30px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image img {
  max-width: 100%;
  border: 1px solid #dbd4d4;
  border-radius: 50px;
}

.profile-section .user-name {
  color: var(--blackcolor);
  font-family: 'SatoshiRegular';
  font-size: 16px;
}

.profile-section .user-name span,
.profile-section .user-mobilenumber span {
  display: block;
  color: #6f6f6f;
}

.profile-section .user-mobilenumber {
  color: var(--blackcolor);
  font-family: 'SatoshiRegular';
  font-size: 16px;
}

.profile-section .profile-image-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.profile-section .profile-image-wrap img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.support-btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #eaf8e6;
  color: #5fae3f;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 16px;
}

.profile-bottom-section {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  font-family: 'SatoshiRegular';
}

.profile-bottom-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.messaging-section {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 25px;
}

.rewards-section {
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.quick-reply {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0px;
  cursor: pointer;
}

.quick-reply img {
  width: 24px;
  height: 24px;
}

.quick-reply .title {
  font-weight: 500;
  margin: 0;
}

.quick-reply .subtitle {
  font-size: 13px;
  color: #666;
  margin: 2px 0 0 0;
}

.rewards-text {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 12px;
}

.support-contact {
  font-size: 14px;
}

.support-contact a {
  color: #007bff;
  text-decoration: none;
}

.app-info {
  margin-top: auto;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.app-info .version {
  font-weight: 600;
  color: #ccc;
  text-decoration: underline;
}

.app-info .rate-us {
  color: #2a9d8f;
  font-weight: bold;
  cursor: pointer;
}

.delete-account {
  text-align: center;
  margin-top: 20px;
}

.delete-account p {
  color: #d9534f;
  font-weight: bold;
  cursor: pointer;
}

/* end */

/* Chats */
.chat-container {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  position: relative;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.chat-container .chat-body {
  height: 100%;
  position: relative;
  overflow-y: auto;
  flex: 1;
}

.chat-header img {
  border-radius: 50%;
  margin-right: 10px;
  width: 50px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-left img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.header-left .chat-backarrow {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-right: 15px;
}

.header-right {
  position: relative;
}

.header-right .call-icon {
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.header-right .menu-container {
  display: none;
  position: absolute;
  right: 12px;
  top: 35px;
  background: #fff;
  border-radius: 5px;
  padding: 6px 12px;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
  width: 75px;
  cursor: pointer;
}

.header-right .menu-container p {
  font-size: 15px;
  color: #333;
}

.encryption-notice {
  font-size: 13px;
  padding: 15px 10px;
  margin: 10px auto;
  text-align: center;
  width: 100%;
  max-width: 650px;
  border-radius: 10px;
  background-color: #ebefff78;
}

.date-label {
  display: inline-block;
  background-color: #e0e0e0;
  padding: 5px 10px;
  border-radius: 10px;
  color: #555;
  font-size: 13px;
  margin: 15px auto 10px;
  text-align: center;
}

.label-container {
  display: flex;
  justify-content: center;
  margin: 15px 0 10px;
}

.message {
  display: flex;
  flex-direction: column;
  margin: 5px 15px;
}

.message-left {
  align-items: flex-start;
}

.message-right {
  align-items: flex-end;
}

.bubble {
  max-width: 30%;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 3px;
}

.bubble-left {
  background: #e8e8e8;
  border-top-right-radius: 10px;
  border-top-left-radius: 0;
}

.bubble-left .sender-name {
  font-size: 11px;
  color: #777;
  margin-bottom: 4px;
}

.bubble-left .chats-content {
  margin-bottom: 5px;
}

.bubble-right {
  background: #cbe3b1;
  border-top-left-radius: 10px;
  border-top-right-radius: 0;
}

.bubble-right .chat-file-container {
  border-top-left-radius: 10px;
  border-top-right-radius: 0;
}

.bubble-left .chat-file-container {
  border-top-right-radius: 10px;
  border-top-left-radius: 0;
}

.timestamp {
  font-size: 10px;
  color: #777;
}

.status-ticks .tick-icons {
  width: 15px;
}

.chat-file-container {
  border-radius: 10px;
  background-color: #ffffffb5;
  margin-bottom: 6px;
  overflow: hidden;
  cursor: pointer;
}

.chat-file-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chat-file-container .chat-image-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.chat-file-info {
  padding: 8px;
}

.chat-file-name {
  font-size: 12px;
  margin-bottom: 2px;
  color: var(--blackcolor);
}

.chat-file-name .chat-image-icon {
  width: 20px;
  height: 20px;
  vertical-align: bottom;
}

.chat-file-meta {
  font-size: 10px;
  color: #666;
}

.message-status-container {
  display: flex;
  align-items: center;
  justify-content: end;
}

.message-status-container .status-ticks {
  margin-left: 5px;
}

.chat-container .input-box {
  display: block;
  border: 1px solid #eee;
  align-items: center;
  position: sticky;
  bottom: 0;
  background: #fff;
  z-index: 2;
}

.chat-container .input-box .input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
}

.chat-container .input-box input {
  flex: 1;
  border: none;
  font-size: 14px;
  outline: none;
  margin-left: 5px;
}

.chat-container .input-box .attachment {
  width: 20px;
  cursor: pointer;
}

.chat-container .input-box .send {
  width: 35px;
  cursor: pointer;
}

.attachment-preview-container {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 8px 12px;
  max-width: 200px;
  background-color: #fff;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.attachment-details {
  flex: 1;
  overflow: hidden;
}

.attachment-filename {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.attachment-info {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.attachment-cancel-btn {
  font-size: 16px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  padding: 0px 4px;
  cursor: pointer;
}

.attachment-cancel-btn:hover {
  color: #d32f2f;
}


.custom-chat-wrapper .chat-heading-content {
  margin: 0px;
  margin-bottom: 15px;
  padding-left: 12px;
}

.chat-tab-container {
  display: inline-flex;
  background: #f0f0f0;
  border-radius: 30px;
  padding: 5px;
  margin: 5px 10px;
  justify-content: center;
  align-items: center;
}

.chat-tab {
  display: flex;
  align-items: center;
  padding: 6px 25px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  color: #555;
  background: transparent;
  transition: all 0.3s ease;
  font-size: 14px;
  position: relative;
}

.chat-tab.active {
  background: var(--greencolor);
  /* Pink active */
  color: white;
  font-weight: 600;
}

#chaticon .notification-icon {
  display: none;
  width: 9px;
  display: none;
  position: absolute;
  left: 12px;
  top: 10px;
  animation: zoom-in-zoom-out 2s ease-out infinite;
}

.chat-tab-container .notification-icon {
  width: 9px;
  display: none;
  position: absolute;
  right: 16px;
  top: 5px;
  animation: zoom-in-zoom-out 2s ease-out infinite;
}

/* student-chats and parent-chats default styles */
.student-chats,
.parent-chats {
  position: relative;
  margin-top: 10px;
  border-top: 1px solid #eee;
  height: 80%;
  overflow-y: scroll;
}

.student-chats .chats-profile-btn,
.parent-chats .chats-profile-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.student-chats .chats-profile-btn p,
.parent-chats .chats-profile-btn p {
  background: var(--greencolor);
  color: #fff;
  font-size: 13px;
  padding: 10px 15px;
  font-weight: bold;
  border: none;
  border-radius: 18px 18px 18px;
  cursor: default;
  text-align: left;
  /* max-width: 60%; */
  /* margin: 10px 0; */
  align-self: flex-end;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: inline-block;
  line-height: 1.4;
  word-wrap: break-word;
}

.custom-chat-wrapper {
  width: 30%;
  padding: 10px 0px;
  height: 100%;
  border-right: 1px solid #eee;
  overflow: hidden;
}

.custom-chat-item {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #eee;
  padding: 12px 10px;
  cursor: pointer;
}

.conversition-icon-container {
  display: none;
  position: relative;
  width: 100%;
}

.conversition-icon-container .conversition-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.conversition-icon-container .conversition-content p {
  font-family: 'SatoshiRegular';
  margin-bottom: 20px;
}

.conversition-icon-container .conversition-content .chats-profile-btn {
  display: block;
  margin: auto;
  justify-content: center;
  background: var(--greencolor);
  color: #fff;
  font-size: 13px;
  padding: 8px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 185px;
  text-align: center;
  font-family: 'SatoshiBold';
}

.custom-chat-item:hover {
  background-color: #e0f7e98a;
}

.custom-chat-item.active {
  background-color: #e0f7e98a;
}

.custom-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccc;
  overflow: hidden;
  margin-right: 10px;
}

.custom-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-chat-content {
  flex: 1;
  width: 10%;
}

.custom-chat-header {
  font-weight: bold;
  font-size: clamp(12px, 1.5vw, 15px);
  color: #333;
}

.custom-chat-date {
  float: right;
  font-size: 12px;
  color: #aaa;
}

.custom-chat-message {
  font-size: 14px;
  color: #555;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

.custom-chat-message .chat-unread-count {
  position: absolute;
  top: 0;
  right: 20px;
  padding: 2px 6px;
  border-radius: 20px;
  background-color: var(--greencolor);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
}

.attachment-link {
  display: block;
  margin-bottom: 5px;
  word-break: break-word;
}

.chat-file-preview {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: #555;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attach-preview-icon {
  width: 15px;
  height: 15px;
}

.chat-preview-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 80%;
}


/* student Profile */
.profile-type-container {
  list-style: none;
  border: 1px solid #e5e5e5;
  padding: 0px;
  font-size: clamp(16px, 2vw, 20px);
  max-width: 262px;
  width: 100%;
  margin: 0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom: 0px;
  overflow: hidden;
}

.profile-type-container .profile-type-student,
.profile-type-container .profile-type-parent {
  display: inline-block;
  font-size: clamp(16px, 2vw, 20px);
  width: 100%;
  max-width: 130px;
  text-align: center;
  cursor: pointer;
  padding: 10px;
}

.profile-type-container .profile-type-student.active-profile,
.profile-type-container .profile-type-parent.active-profile {
  background-color: var(--greencolor);
  color: #fff;
}

.student-profile {
  display: block;
  margin: 20px;
  height: 100vh;
  background: #fff;
}

.student-profile .profile-container {
  width: 100%;
  font-family: SatoshiRegular;
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  border-top-left-radius: 0px;
  height: 90%;
  overflow-y: scroll;
}

.profile-container#profileparent {
  display: none;
}

.profile-heading {
  font-size: clamp(20px, 2.5vw, 24px);
  margin: 0px 0px 30px;
  font-family: SatoshiBold;
}

.profile-list-item {
  border-top: 1px solid #ddd;
  padding: 20px 5px;
  cursor: pointer;
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.student-profile-img {
  display: flex;
  align-items: center;
  gap: 15px;
}

.student-profile-img img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.student-details {
  display: none;
  margin-top: 10px;
  color: #444;
}

.student-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.profile-list-item.active .student-details {
  display: block;
}

.profile-header .student-name {
  color: var(--greencolor);
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-family: SatoshiRegular;
}

.profile-header .student-name .course-name {
  font-size: 0.9rem;
  border-radius: 16px;
  color: #6C9078;
  margin-left: 5px;
}

.profile-header .details-main-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90px;
}

.profile-header .more-icon {
  display: flex;
  align-items: center;
  font-size: 12px;
  cursor: pointer;
  color: #6C9078;
  font-family: SatoshiBold;
}

.profile-header .more-icon .icon-text {
  margin-right: 5px;
}

.profile-header .details-main-container .more-icon img {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.profile-header .chat-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--greencolor);
  color: #fff;
  font-size: 13px;
  padding: 7px 10px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  width: 85px;
  text-align: center;
}

.profile-header .chat-button img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-right: 5px;
}

.horizontal-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 10px 0;
}

.horizontal-scroll-container .field-box {
  flex: 0 0 auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background: #f9f9f9;
  margin-bottom: 10px;
}

.horizontal-scroll-container .scroll-row strong {
  margin-bottom: 5px;
  font-size: 0.95rem;
  color: #555;
}

.horizontal-scroll-container .scroll-row input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #333;
}

.horizontal-scroll-container .scroll-row .chip-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.horizontal-scroll-container .scroll-row .chip-container .chip {
  display: inline-block;
  padding: 4px 8px;
  background: #e0f7fa;
  color: #00796b;
  border-radius: 16px;
  font-size: 12px;
}

.profile-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-input-container {
  position: relative;
  display: inline-block;
}

.search-input-container img {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}

.student-profile .search-input {
  font-size: 13px;
  border: 1px solid var(--greencolor);
  border-radius: 50px;
  width: 270px;
  height: 30px;
  padding: 5px 15px;
  margin-right: 40px;
  padding-left: 35px;
}

.student-profile .search-input:focus {
  outline: none;
  border-color: var(--greencolor);
  box-shadow: none;
}

.profile-container .no-member-msg {
  padding: 20px;
  font-size: 16px;
  color: #999;
  text-align: center;
}

/* Broadcast */
.broadcast-container {
  display: none;
  position: relative;
  width: 100%;
  margin: auto;
  background: #fff;
  padding: 20px 24px;
  overflow: hidden;
  height: 100vh;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h2 {
  margin: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sync-img-icon {
  display: none;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 7px 10px;
  cursor: pointer;
}

.sync-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.sync-img-icon p {
  font-size: 14px;
}

.broadcast-button {
  padding: 8px 16px 5px;
  font-size: 14px;
  background-color: var(--greencolor);
  color: white;
  border: none;
  display: flex;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: 'SatoshiBold';
}

.broadcast-button img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.broadcast-button:hover {
  background-color: #4da534;
}

@keyframes rotateImage {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.rotating {
  animation: rotateImage 1s linear infinite;
}

.broadcast-container .preview-heading {
  font-size: 22px;
}

.broadcast-info-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.broadcast-info-content p {
  font-family: 'SatoshiBold';
  margin-bottom: 20px;
  color: #7878787d;
  font-size: 22px;
}

.broadcast-info-content .broadcast-button {
  width: 180px;
  margin: auto;
  font-size: 15px;
}

.broadcast-table-container {
  display: none;
}

.broadcast-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #333;
}

.broadcast-table #broadcast_statustable {
  cursor: pointer;
}

.broadcast-table thead {
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: #ddede1a6;
}

.broadcast-table tbody tr {
  border: 1px solid #eee;
  border-radius: 5px;
}

.broadcast-table tbody tr:hover {
  background: #e0f7e98a;
}

.broadcast-table thead th {
  text-align: left;
  padding: 10px;
  font-weight: bold;
  color: #555;
  text-transform: uppercase;
}

.broadcast-table tbody td {
  padding: 10px;
  vertical-align: middle;
}

.main-title {
  font-weight: 500;
}

.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #2e7d32;
  background-color: #d4edda;
}

.status.completed {
  background-color: #d4edda;
  color: #2e7d32;
}

.broadcast-table tbody .recipients {
  display: flex;
  align-items: center;
}

.recipients .icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.stat .percent {
  font-size: 12px;
  color: #888;
}

/* broadcast end */

#create_broadcast {
  display: none;
}

#broadcast-success-container {
  display: none;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  gap: 20px;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 35px;
  font-size: 22px;
  background: #fff;
}

.broadcast-ui-wrapper {
  margin: auto;
  height: 100vh;
  overflow-y: scroll;
  position: relative;
}

.broadcast-ui-heading {
  font-size: 18px;
  margin: 20px 0 10px;
  color: #333;
}

.broadcast-ui-heading .required-star {
  color: var(--redcolor);
  margin-left: -2px;
}

.broadcast-ui-input,
.broadcast-ui-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 10px;
}

.broadcast-ui-input:focus,
.broadcast-ui-textarea:focus {
  outline: none;
  border-color: var(--greencolor);
  box-shadow: none;
}

.broadcast-button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.broadcast-button-container .broadcast-close img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  cursor: pointer;
}

.broadcast-send-btn,
.broadcast-clear-btn {
  padding: 10px 15px;
  font-size: 14px;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.broadcast-send-btn {
  background-color: var(--greencolor);
  margin-right: 10px;
}

.broadcast-send-btn:hover {
  background-color: #4da534;
}

.broadcast-send-btn .extra-text {
  font-family: SatoshiBold;
}

.broadcast-send-btn .send-broadcast-icon {
  width: 14px;
  vertical-align: middle;
  margin-right: 3px;
}

.broadcast-clear-btn {
  background-color: #fb3636;
}

.broadcast-ui-textarea {
  height: 120px;
  resize: vertical;
}

.broadcast-ui-image-upload {
  display: inline-block;
  padding: 10px 15px;
  background-color: var(--greencolor);
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.broadcast-ui-image-preview {
  margin-top: 10px;
}

.image-card {
  position: relative;
  width: 200px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  font-family: 'SatoshiRegular';
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.preview-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.image-info {
  padding: 8px;
  background-color: #f5f5f599;
}

.no-image-preview {
  width: 100%;
  height: 120px;
  background-color: #f0f0f0;
  border-radius: 4px;
  margin-bottom: 6px;
}

.image-name {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.remove-image-btn {
  position: absolute;
  top: 6px;
  right: 4px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  padding: 2px 4px;
  cursor: pointer;
  font-size: 14px;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 6px 10px;
  border: 1px solid #ddd;
  max-width: 100%;
  gap: 8px;
  font-family: sans-serif;
}

.file-icon {
  width: 24px;
  height: 24px;
}

.file-name {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.remove-file-btn {
  background: none;
  border: none;
  color: #555;
  font-size: 12px;
  cursor: pointer;
  margin-left: auto;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  padding: 1px 3px;
}


.broadcast-ui-image-upload input {
  display: none;
}

.broadcast-ui-filter-section {
  margin-top: 30px;
}

.broadcast-ui-filter-section .broadcast-ui-heading {
  display: inline-block;
}

.broadcast-ui-dropdown {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 75px;
}

.broadcast-ui-filter-section .error-message {
  display: none;
  margin-left: 12px;
}

.broadcast-ui-toggle {
  width: 100%;
  background: #f9f9f9;
  padding: 12px 16px;
  font-size: 16px;
  border: none;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.broadcast-ui-toggle span {
  position: absolute;
  right: 16px;
  font-weight: bold;
}

.broadcast-ui-dropdown-content {
  display: none;
  width: 65%;
  padding: 15px;
  background-color: #fcfcfc;
}

.broadcast-ui-dropdown-content label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.broadcast-ui-dropdown.active .broadcast-ui-dropdown-content {
  display: inline-block;
  vertical-align: middle;
}

.broadcast-ui-dropdown .recipients-count {
  display: none;
}

.broadcast-ui-dropdown.active .recipients-count {
  display: inline-block;
  width: 34%;
  vertical-align: middle;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.broadcast-ui-dropdown.active .recipients-count #recipientcount {
  display: none;
}

.broadcast-ui-dropdown.active .recipients-count .broadcast-count-bg {
  width: 250px;
  object-fit: contain;
  filter: drop-shadow(0 0px 3px rgba(0, 0, 0, 0.3));
}

.broadcast-ui-dropdown.active .recipients-count #recipients_count {
  display: block;
  font-size: 31px;
  margin-top: 10px;
  font-family: 'SatoshiBold';
  color: var(--greencolor);
}

.broadcast-ui-dropdown.active .recipients-info {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
}

.broadcast-ui-dropdown.active .recipient-icon {
  width: 25px;
  height: 25px;
  vertical-align: middle;
  margin-right: 5px;
}

.broadcast-ui-dropdown.active .recipients-info p {
  display: inline;
  font-size: 18px;
  vertical-align: middle;
  margin: 0;
  color: #333;
}

.broadcast-ui-dropdown.active .recipients-info .recipients-notfound {
  display: none;
}

.broadcast-filter-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 800px;
  margin-bottom: 15px;
}

.broadcast-filter-grid .broadcast-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 10px 0 5px;
}

.broadcast-filter-dual {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.broadcast-filter-group {
  flex: 1;
  min-width: 200px;
}

.broadcast-filter-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.broadcast-ui-select,
.broadcast-ui-input {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.broadcast-ui-select:focus,
.broadcast-ui-input:focus {
  outline: none;
  border-color: var(--greencolor);
  box-shadow: none;
}

/* reply */
.profile-main-container.blur {
  filter: blur(2px);
  pointer-events: none;
  user-select: none;
}

#quickreply_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#quickreply_container {
  background: #fff;
  width: 100%;
  max-width: 650px;
  margin: auto;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  padding: 20px;
  z-index: 1001;
  height: 500px;
}

.add-reply-container {
  overflow: hidden;
  height: 100%;
}

.add-reply-container .content {
  height: 100%;
  overflow-y: scroll;
}

.header_quickreplay {
  display: flex;
  align-items: center;
  padding: 16px;
}

.back-arrow {
  font-size: clamp(20px, 2.5vw, 24px);
  margin-right: 16px;
  cursor: pointer;
}

.title {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
}

#reply_list.content {
  padding: 10px;
  max-height: 380px;
  overflow-y: auto;
}

.quick-reply-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 4px;
}

.quick-reply-message {
  font-size: 16px;
  margin-bottom: 24px;
}

.footer-note {
  font-size: 14px;
  color: #888;
}

.edit-icon,
.add-icon {
  position: absolute;
  top: 18px;
  font-size: 25px;
  cursor: pointer;
}

.edit-icon {
  right: 16px;
}

.add-icon {
  right: 15px;
}

.header-wrapper {
  position: relative;
}

.quick-reply-header {
  padding: 16px 0px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
}

.quick-reply-header .email-content {
  font-size: 14px;
}

.quick-reply-header .email-content a {
  text-decoration: none;
  color: #666;
  font-weight: bold;
}

.quick-reply-header-left {
  display: flex;
  align-items: center;
}

.quickreply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
}

.back-button {
  font-size: 28px;
  font-weight: 300;
  margin-right: 10px;
  cursor: pointer;
}

.quick-reply-body {
  padding: 24px 16px;
}

.field-label {
  font-size: clamp(16px, 2vw, 20px);
  color: #aaa;
  margin-top: 24px;
  margin-bottom: 6px;
}

.field-description {
  font-size: 12px;
  color: #333;
  margin: 5px 0px 15px;
}

.quick-reply-input,
.quick-reply-textarea {
  width: 100%;
  font-size: 18px;
  border: none;
  outline: none;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  background-color: transparent;
  color: var(--blackcolor);
}

.quick-reply-textarea {
  resize: none;
}

.save-button {
  color: var(--blackcolor);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
}

.edit-reply-container {
  display: none;
}

.reply-item {
  border-bottom: 1px solid #cccccccc;
  padding: 10px 0px;
}

/* /reply */

/* broadcast stats */
#broadcast_stats {
  display: none;
  height: 100vh;
  overflow-y: scroll;
}

.stats-container .stats-heading-container {
  display: flex;
  align-items: center;
}

.stats-container .stats-heading-container .back-arrow {
  width: 20px;
}

.stats-container .stats-header {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.stats-container .stat-card {
  flex: 1;
  width: 100%;
  max-width: 210px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 15px;
  cursor: pointer;
}

.stats-container .stat-card h3 {
  font-size: 18px;
  margin: 0;
  color: #333;
}

.stats-container .stat-card h3 span {
  font-size: 11px;
  color: #b7afaf;
}

.stats-container .stat-card p {
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
}

.stats-container .stat-card img {
  width: 25px;
  height: 25px;
  vertical-align: bottom;
  margin-right: 5px;
}

.stats-container .stat-card.active {
  border: 1px solid #03b240;
  background: #eafff1;
}

.stats-container .stat-card:hover {
  background: #eafff1;
}

.stats-container .tabs {
  margin-bottom: 15px;
}

.stats-container .tabs button {
  padding: 8px 16px;
  margin-right: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  color: #333;
  font-family: 'SatoshiBold';
}

.stats-container .tabs button.active {
  border: 1px solid #03b240;
  color: #03b240;
}

.stats-container .message-stats-table {
  width: 100%;
  max-width: 900px;
  height: auto;
}

.stats-container .table {
  width: 100%;
  max-width: 900px;
  border-collapse: collapse;
  font-size: 14px;
  color: #333;
}

.stats-container .table thead {
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: #ddede1a6;
}

.stats-container .table td {
  color: #333;
  padding: 12px;
  text-align: left;
  font-size: 15px;
}

.stats-container .table td img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
}

.stats-container .table th {
  text-align: left;
  padding: 10px;
  font-weight: bold;
  color: #555;
  text-transform: uppercase;
}

.stats-container table tbody tr {
  border: 1px solid #eee;
  border-radius: 5px;
}

.stats-container .status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.stats-container h2 {
  margin: 0px;
}

/* stats end */

.quick-reply-wrapper {
  max-width: 600px;
}

.quick-reply-header h2 {
  font-size: 26px;
  margin: 0;
  color: #333;
}

.quick-reply-header p {
  font-size: 18px;
  color: #777;
  margin-top: 8px;
}

.quick-reply-card-alt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 20px 25px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.quick-reply-card-alt:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.quick-reply-content {
  display: flex;
  align-items: center;
  gap: 5px;
}

.quick-reply-content img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.quick-reply-content p {
  font-size: clamp(16px, 2vw, 20px);
  color: #222;
}

.quick-reply-content span {
  font-size: 14px;
  color: #666;
}

.manage-btn {
  padding: 10px 18px;
  background-color: var(--greencolor);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
}

#network-popup {
  display: none;
  width: 100%;
  background: var(--blackcolor);
  color: #fff;
  padding: 10px;
  text-align: center;
  position: relative;
  font-weight: bold;
  z-index: 10;
}

#network-popup .close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: clamp(16px, 2vw, 20px);
  position: absolute;
  right: 20px;
  top: 10px;
  cursor: pointer;
}

.blur-background>*:not(.image-viewer-overlay) {
  filter: blur(5px);
  pointer-events: none;
}

.image-viewer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.image-viewer-modal-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

.quickreplywrapper {
  display: none;
  position: relative;
  width: 100%;
}

.quickreplywrapper .quick-reply-heading {
  text-transform: uppercase;
  padding: 13px 16px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  font-family: 'SatoshiBold';
  color: #666;
}

.quick-reply-suggestions {
  background: #fff;
  overflow-x: auto;
  max-height: 130px;
  overflow-y: scroll;
}

.quick-reply-suggestions .quickreply-title {
  font-size: 16px;
  font-family: 'SatoshiBold';
  font-size: 13px;
  color: #666;
}

.quick-reply-suggestions .quickreply-message {
  font-family: 'SatoshiRegular';
  color: #555;
  font-size: 12px;
}

.quick-reply-suggestions div {
  padding: 7px 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  border-bottom: 1px solid #eee;
}

.quick-reply-suggestions div:hover {
  background-color: #e0f7e98a;
}

.alert-popup-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
  font-family: 'SatoshiRegular';
}

.alert-popup-overlay .popup {
  border-radius: 12px;
  width: 350px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: scale(0);
  animation: popupAnimation 0.3s forwards;
  background: #fff;
}

.alert-popup-overlay .popup-header h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-family: 'SatoshiBold';
}

.alert-popup-overlay .popup-body p {
  font-size: 16px;
  margin-bottom: 20px;
}

.alert-popup-overlay .btn {
  padding: 10px 20px;
  font-size: 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.alert-popup-overlay .yes-btn {
  background-color: var(--greencolor);
  color: white;
  padding: 10px 25px;
}

.alert-popup-overlay .cancel-btn {
  background-color: #fff;
  color: #000;
  border: 1px solid #bdbaba;
  margin-right: 12px;
}

@keyframes popupAnimation {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

.broadcast-container .report-synced-popup {
  display: none;
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  margin: auto;
  width: 260px;
  background: var(--greencolor);
  font-size: 14px;
  color: #fff;
  padding: 10px 15px;
  text-align: center;
  border-radius: 5px;
  font-family: 'SatoshiBold';
  align-items: center;
  opacity: 0;
  transform: translateY(-30px);
  transition: transform 0.8s ease-out;
  z-index: 1000;
}

.broadcast-container .report-synced-popup.show {
  display: flex;
  gap: 8px;
  opacity: 1;
  transform: translateY(0);
}

.broadcast-container .report-synced-popup img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.whatsapp-message {
  border-radius: 20px;
  border-top-right-radius: 20px;
  border-top-left-radius: 0;
  width: 270px;
  max-height: 400px;
  margin-right: 20px;
  padding: 15px 18px;
  transform: scale(0);
  animation: popupAnimation 0.3s forwards;
  background: #fff;
  box-shadow: 0 2px 6px 0 #00000040;
  overflow: hidden;
}

/* .whatsapp-message::after {
  content: '';
  position: absolute;
  top: 0px;
  left: -16px;
  width: 0px;
  height: 0px;
  border-top: 16px solid #ffffff;
  border-right: 16px solid transparent;
  background: #cbe3b1;
  transform: rotate(-90deg);
} */

.stats-sub-container {
  display: flex;
  gap: 12%;
}

.whatsapp-message .menu-icons {
  font-size: 20px;
  vertical-align: sub;
}

.text-message {
  color: #666;
  overflow: hidden;
  height: 100%;
  overflow-y: scroll;
}

.whatsapp-message h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.text-message .message-wrap {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  overflow: hidden;
  margin-bottom: 35px;
}

.text-message .message-wrap .broadcast-file-preview {
  width: 100%;
  object-fit: cover;
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 8px;
  margin-bottom: 5px;
}

.whatsapp-toogle-container {
  display: inline-block;
  margin-right: 20px;
}

.whatsapp-toogle-container p {
  display: inline-block;
  color: #333;
  font-family: 'SatoshiBold';
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  top: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

input:checked+.slider {
  background-color: var(--greencolor);
}

input:checked+.slider:before {
  transform: translateX(26px);
}

@media only screen and (max-width: 1100px) {
  .chat-menu-container .chatmenu-list .logo-img {
    width: 110px;
  }

  .chat-menu-container .chatmenu-list .menu-item {
    padding: 8px 10px;
    font-size: 13px;
  }

  .chat-menu-container .chatmenu-list .menu-top .menu-icons {
    font-size: 20px;
  }

  .chat-menu-container .chatmenu-list .menu-icons.profile-img {
    width: 40px;
  }

  .profile-type-container {
    max-width: 252px;
  }

  .profile-type-container .profile-type-student,
  .profile-type-container .profile-type-parent {
    max-width: 125px;
    padding: 8px;
    font-size: 18px;
  }

  .profile-heading {
    font-size: 20px;
    margin: 0px 0px 20px;
  }

  .student-profile-img img {
    width: 40px;
    height: 40px;
  }

  .profile-header .student-name {
    font-size: 1.0rem;
    margin-bottom: 2px;
  }

  .profile-header .more-icon {
    font-size: 10px;
  }

  .profile-header .chat-button {
    font-size: 12px;
    padding: 6px 10px;
    width: 78px;
  }

  .profile-header .chat-button img {
    width: 14px;
    height: 14px;
  }

  .student-details h3 {
    font-size: 16px;
  }

  .horizontal-scroll-container .scroll-row strong {
    font-size: 14px;
  }

  .horizontal-scroll-container .scroll-row input {
    font-size: 12px;
  }

  .student-profile .search-input {
    font-size: 12px;
    width: 190px;
    height: 27px;
    margin-right: 0px;
  }

  .search-input-container img {
    width: 16px;
    height: 16px;
  }

  .custom-chat-wrapper .chat-heading-content {
    font-size: 20px;
  }

  .chat-tab {
    padding: 5px 20px;
    font-size: 12px;
  }

  .custom-chat-item {
    padding: 10px 10px;
  }

  .custom-avatar {
    width: 35px;
    height: 35px;
  }

  .custom-chat-header {
    font-size: 12px;
  }

  .custom-chat-date {
    font-size: 10px;
  }

  .custom-chat-message {
    font-size: 12px;
  }

  .conversition-icon-container .conversition-content img {
    width: 80px;
    height: 80px;
  }

  .conversition-icon-container .conversition-content p {
    font-size: 13px;
  }

  .conversition-icon-container .conversition-content .chats-profile-btn {
    font-size: 12px;
    padding: 7px;
    width: 177px;
  }

  .header-left img {
    width: 35px;
    height: 35px;
  }

  .header-left div strong {
    font-size: 14px;
  }

  .header-left div .typing-status {
    font-size: 10px;
  }

  .header-right .call-icon {
    width: 23px;
    height: 23px;
  }

  .header-right .menu-container {
    width: 65px;
  }

  .header-right .menu-container p {
    font-size: 14px;
  }

  .bubble-left .sender-name {
    font-size: 10px;
  }

  .bubble .chats-content {
    font-size: 13px;
  }

  .timestamp {
    font-size: 9px;
  }

  .status-ticks .tick-icons {
    width: 12px;
  }

  .chat-container .input-box .attachment {
    width: 18px;
  }

  .chat-container .input-box input {
    font-size: 12px;
    margin-left: 0px;
  }

  .chat-container .input-box .send {
    width: 25px;
  }

  .quickreplywrapper .quick-reply-heading {
    padding: 12px 10px;
    font-size: 12px;
  }

  .quick-reply-suggestions div {
    padding: 7px 10px;
  }

  .broadcast-container {
    padding: 20px 22px;
  }

  .broadcast-container .header h2 {
    font-size: 20px;
  }

  .sync-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
  }

  .sync-img-icon p {
    font-size: 12px;
  }

  .broadcast-button {
    padding: 8px 12px 4px;
    font-size: 12px;
  }

  .broadcast-button img {
    width: 16px;
    height: 16px;
  }

  .broadcast-info-content img {
    width: 80px;
    height: 80px;
    object-fit: cover;
  }

  .broadcast-info-content p {
    font-size: 18px;
  }

  .broadcast-info-content .broadcast-button span img {
    width: 16px;
    height: 16px;
    margin-top: 2px;
  }

  .broadcast-info-content .broadcast-button {
    width: 150px;
    font-size: 14px;
  }

  .broadcast-button-container .broadcast-close img {
    width: 22px;
    height: 22px;
  }

  .broadcast-send-btn,
  .broadcast-clear-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .broadcast-send-btn .send-broadcast-icon {
    width: 12px;
  }

  .broadcast-ui-heading {
    font-size: 16px;
  }

  .broadcast-ui-select,
  .broadcast-ui-input {
    font-size: 13px;
  }

  .broadcast-ui-image-upload {
    padding: 7px 13px;
    font-size: 12px;
  }

  .broadcast-ui-input,
  .broadcast-ui-textarea {
    font-size: 13px;
  }

  .broadcast-ui-toggle {
    font-size: 13px;
  }

  .broadcast-filter-group label {
    font-size: 12px;
  }

  .broadcast-ui-dropdown.active .recipients-count .broadcast-count-bg {
    width: 210px;
  }

  .broadcast-ui-dropdown.active .recipient-icon {
    width: 20px;
    height: 20px;
  }

  .broadcast-ui-dropdown.active .recipients-info p {
    font-size: 15px;
  }

  .broadcast-ui-dropdown.active .recipients-count #recipients_count {
    font-size: 28px;
    margin-top: 5px;
  }

  .broadcast-ui-dropdown-content label {
    font-size: 13px;
  }

  .image-card {
    width: 180px;
  }

  .preview-image {
    height: 105px;
  }

  .image-name {
    font-size: 12px;
  }

  .remove-image-btn {
    font-size: 12px;
  }

  #broadcast-success-container {
    padding: 28px;
    font-size: 18px;
  }

  #broadcast-success-container img {
    width: 30px;
    height: 30px;
  }

  .alert-popup-overlay .popup {
    border-radius: 12px;
    width: 345px;
  }

  .alert-popup-overlay .popup-header h3 {
    font-size: 18px;
  }

  .alert-popup-overlay .popup-body p {
    font-size: 14px;
  }

  .alert-popup-overlay .btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .alert-popup-overlay .yes-btn {
    padding: 9px 25px;
  }

  .broadcast-table {
    font-size: 12px;
  }

  .stats-container h2 {
    font-size: 20px;
  }

  .stats-container .stat-card p {
    font-size: 13px;
  }

  .stats-container .stat-card img {
    width: 22px;
    height: 22px;
  }

  .stats-container .stat-card h3 {
    font-size: 16px;
  }

  .stats-container .tabs button {
    font-size: 12px;
  }

  .stats-container .table {
    max-width: 500px;
    font-size: 12px;
  }

  .stats-container .message-stats-table {
    max-width: 500px;
  }

  .whatsapp-message h2 {
    font-size: 16px;
  }

  .whatsapp-message .menu-icons {
    font-size: 18px;
  }

  .text-message .message-wrap p {
    font-size: 14px;
  }

  .stats-container .stat-card h3 span {
    font-size: 10px;
  }

  .stats-container .table td img {
    width: 25px;
    height: 25px;
  }

  .stats-container .status {
    font-size: 10px;
  }

  .stats-container .table td {
    font-size: 13px;
  }

  .profile-main-container {
    max-width: unset;
  }

  .top-bar p,
  .top-bar .sign-out {
    font-size: 18px;
  }

  .profile-image {
    width: 70px;
    height: 70px;
  }

  .profile-section .profile-image-wrap img {
    width: 18px;
    height: 18px;
  }

  .profile-section .user-name {
    font-size: 15px;
  }

  .quick-reply-card-alt {
    padding: 15px 20px;
  }

  .quick-reply-header {
    font-size: 18px;
  }

  .quick-reply-content img {
    width: 30px;
    height: 30px;
  }

  .quick-reply-content p {
    font-size: 18px;
  }

  .quick-reply-content span {
    font-size: 12px;
  }

  .manage-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  #quickreply_container {
    max-width: 630px;
    height: 460px;
  }

  .header_quickreplay .title {
    font-size: 18px;
  }
}

@media only screen and (max-width: 768px) {
  .chat-menu-container {
    flex-direction: row;
  }

  .chat-menu-container .chatmenu-list {
    width: 60px;
    background-color: #f5f5f5;
    align-items: center;
    padding-top: 10px;
  }

  .chatmenu-list .menu-top,
  .chatmenu-list .profile-account-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .chat-menu-container .chatmenu-list .menu-item {
    font-size: 0;
    width: 100%;
    padding: 5px 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    transition: none;
  }

  .chat-menu-container .chatmenu-list .menu-item.active {
    border-radius: 5px;
  }

  .chat-menu-container .chatmenu-list .menu-item.active {
    border-radius: 5px;
    width: 35px;
    height: 31px;
  }

  .chat-menu-container .chatmenu-list .menu-top .menu-icons {
    margin: 0px;
  }

  .chat-menu-container .chatmenu-list .menu-top #chaticon .menu-icons {
    font-size: 20px;
  }

  .chat-menu-container .chatmenu-list .logo-img {
    display: none;
  }

  .chat-menu-container .chatmenu-list .logo-img.mobile-logo {
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 20px;
  }

  .profile-account-container .profile-menu-item {
    margin-top: auto;
    margin-bottom: 10px;
  }

  .profile-account-container .profile-menu-item img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  #chats_notify_badge {
    top: 8px;
    right: 10px;
    position: absolute;
    width: 8px;
    height: 8px;
  }

  .chat-menu-container .chat-section {
    width: 100%;
  }

  .chat-menu-container .chatmenu-list .profile-account-container .profile-menu-item {
    padding: 15px 0px 0px;
  }

  .chat-menu-container .chatmenu-list .menu-icons.profile-img {
    width: 30px;
  }
}