@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number]{
    -moz-appearance: textfield;
}

.sidebar-scrolled::-webkit-scrollbar {
  width: 6px;
}

.sidebar-scrolled::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

.sidebar-scrolled::-webkit-scrollbar-thumb {
  background-color: #dbdbdb;
  border-radius: 5px;
}

.button {
  background-color: #a855f7;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.table-shadow {
  box-shadow: 0 5px 10px rgba(51, 66, 87, 0.05);
}

/* Container */
.input {
  display: flex;
  width: 100%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  background-color: transparent;
  border: 1px solid #dbdbdb;
}

.input input[type="file"] {
  border: 0;
  background-color: transparent;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Placeholder text color */
.input::placeholder {
  color: #9ca3af;
}

/* Focus state */
.input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px #a855f7;
}

/* Disabled state */
.input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

input[type=checkbox]:checked~.dot {
  transform: translateX(100%);
  background-color: #48bb78;
}


/* Admin login */
.adminlogin-wrapper {
  background-image: linear-gradient(135deg, #6affae, #231bd7);
}

.adminloginform {
  min-width: 300px;
  min-height: 263px;
}

.adminloginform .site-logo {
  max-width: 112px;
}

.badge {
  padding: 7px 13px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Soft shadow */
}

.badge.success {
  background-color: #65d384;
  color: #001200;
}

.badge.warning {
  background-color: #ffd70d;
  color: #453702;
}

.badge.danger {
  background-color: red;
  color: white;
}

.badge:hover {
  transform: scale(1.05);
  /* Slight grow on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  /* Deeper shadow on hover */
}

/* Model */
/* Modal Background */
.custom-modal {
  z-index: 1050;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #00000099;
}

/* Modal Dialog */
.modal-dialog {
  max-height: 80vh;
  /* Ensures the modal doesn't exceed the screen height */
  width: 100%;
  max-width: 600px;
  /* Maximum width of the modal */
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  /* Enables scrolling if content exceeds height */
  padding: 20px;
  position: relative;
}

/* Scrollbar for the modal content */
.modal-dialog::-webkit-scrollbar {
  width: 6px;
}

.modal-dialog::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.modal-dialog::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.modal-dialog::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Animation for the modal to smoothly appear/disappear */
@keyframes modal-slide-in {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes modal-slide-out {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(-50px);
    opacity: 0;
  }
}

.stated {
  padding: 1.5rem 1.5rem 2.4rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: #fff !important;
  border-radius: 25px;
}

.stated h4 {
  font-weight: 700;
  font-size: 1.75rem;
  color: #fff;
}

.stated strong {
  font-weight: 400;
  font-size: 1.125rem;
  color: #fff;
}

.stated .icon {
  position: absolute;
  inset-block-end: 0.9375rem;
  inset-inline-end: 1.25rem;
  font-size: 28px;
}

.stated.one {
  background-color: #43B20F; /* Green */
}

.stated.two {
  background-color: #3D4D76; /* Dark Blue */
}

.stated.three {
  background-color: #794C8A; /* Purple */
}

.stated.four {
  background-color: #2AB280; /* Teal */
}

.stated.five {
  background-color: #FF5733; /* Orange */
}

.stated.six {
  background-color: #FFC300; /* Yellow */
}

.stated.seven {
  background-color: #C70039; /* Red */
}

.stated.eight {
  background-color: #900C3F; /* Dark Red */
}

.stated.nine {
  background-color: #2980B9; /* Blue */
}

.stated.ten {
  background-color: #8E44AD; /* Violet */
}

.stated.eleven {
  background-color: #16A085; /* Sea Green */
}

.stated.twelve {
  background-color: #34495E; /* Dark Slate */
}


.stated::after {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0rem;
  background-color: #fff;
  opacity: 0.05;
  content: "";
  block-size: 100%;
  inline-size: 8.125rem;
  z-index: -1;
  border-end-end-radius: 100%;
}

.message-list {
  max-height: 400px; /* Adjust as needed for your layout */
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  
}

.message {
  margin-bottom: 10px; /* Space between messages */
  padding: 10px;
  border-radius: 8px; /* Rounded corners */
  position: relative; 
}

.message.left {
  background-color: #00423c;
  align-self: flex-start;
  color:white;
}

.message.right {
  background-color: #000; /* Blue for right messages */
  color: white; /* White text for better contrast */
  align-self: flex-end; /* Align to the right */
}

.timestamp {
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: end;
  color: white;
}
.message.left .timestamp{
color:white;
}
.message-text-area {
  width: 100%;
  border: 1px solid #0e7153d3; 
  border-radius: 5px;
  padding: 10px;
  resize: none;
}

.message-text-area:focus{
border-color: #00423c;
outline: none;
border-width: 1px;
box-shadow: none;
}

.button-send {
background-color: #0e7154;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
height: 40px;
}

.button-send:hover {
  background-color: #0e7153d3;
}

.message-form{
display: flex;
gap:10px;
align-items: end;
}
.chat-header{
display: flex;
align-items: center;
gap: 10px;
font-size: 14px;
font-weight: 600;
width: 100%;
padding: 10px;
background: #dddddd75;
border-radius: 10px;
}
.chat-header .imgdiv{
width: 60px;
height: 60px;
border-radius: 50%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}

@media only screen and (max-width:765px){
.message-form{
  flex-direction: column;
}
}

/* Search */
.search-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: 6px;
  background: white;
  justify-content: space-between;
  align-items: center;
  color: #000000;
  position: absolute;
  top: 110%;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  z-index: 999;
}

.search-content li{
  display: flex;
  gap:30px;
  align-items: center;
  border-bottom: 1px solid #2222;
  width: 100%;
  padding-bottom: 5px;
  cursor: pointer;
}

.activepoption {
  border: 2px solid green;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.noti-drop{
  z-index: 999;
  width: 260px;
  
}

.color_variant_popup img{
  width: 60px;
  height: 60px;
  border-radius: 5px;
  cursor: pointer;
}
.color_variant_popup img:hover{
  scale: 4;
}