@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:wght@300&family=Vazirmatn:wght@200&display=swap');


:root {
  --main-color: rgb(137, 70, 232);       /*     الوان البتنات او الازرار     */
  --Hover-Color: rgb(109, 53, 189);      /*     الهوفر او اذا حط الماوس على الزر وش يتغير لي اي لون المفروض يكون اغمق من الي الون الي فوق بشوي     */
  --Color-All: rgba(18, 23, 31, 0.753); /*     لا تغير     */
  --Color-DevMode: rgba(18, 23, 31, 0.397); /*     لا تغير     */
}

* {
    font-family: 'Vazirmatn', sans-serif;
    cursor: default;
}

body {
  overflow-y: hidden;
  overflow-x: hidden;
  height: 100%;
  width: 100%;
  overflow: hidden;
        opacity: 0; /* ابدأ شفافًا بالكامل */
  animation: fadeInAnimation ease 0.6s; /* اسم الأنيميشن، المدة، نوع الحركة */
  animation-iteration-count: 1; /* مرة واحدة فقط */
  animation-fill-mode: forwards; /* الاحتفاظ بالحالة النهائية (ظاهر) */
}

::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: #2c2f31;
}

::-webkit-scrollbar-thumb {
  background: #64676b;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #818981;
}

*:focus {
  outline: none;
}
  
::selection {
  background-color: transparent;
}
.All {
  position: absolute;
  top: 60px;
  right: 29px;
  height: 33rem;
  min-height: 38rem;
  width: 21rem;
  background: none;
  overflow: hidden;
  border: 0px solid rgba(255, 255, 255, 0.3);
  transition: scale 0.3s ease;
  transition: background 1s ease;
  z-index: 10;
        opacity: 0; /* ابدأ شفافًا بالكامل */
  animation: fadeInAnimation ease 0.6s; /* اسم الأنيميشن، المدة، نوع الحركة */
  animation-iteration-count: 1; /* مرة واحدة فقط */
  animation-fill-mode: forwards; /* الاحتفاظ بالحالة النهائية (ظاهر) */
}

.resizer {
  display: none;
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  opacity: 0.6;
  cursor: pointer;
  z-index: 20;
}

.resizer.top-left, .resizer.bottom-right {
  cursor: nwse-resize;
}
.resizer.top-right, .resizer.bottom-left {
  cursor: nesw-resize;
}

.resizer.top, .resizer.bottom {
  width: 100%;
  height: 5px;
  left: 0;
  cursor: ns-resize;
}
.resizer.left, .resizer.right {
  width: 5px;
  height: 100%;
  top: 0;
  cursor: ew-resize;
}

.resizer.top-left { top: -5px; left: -5px; }
.resizer.top-right { top: -5px; right: -5px; }
.resizer.bottom-left { bottom: -5px; left: -5px; }
.resizer.bottom-right { bottom: -5px; right: -5px; }
.resizer.top { top: -5px; }
.resizer.bottom { bottom: -5px; }
.resizer.left { left: -5px; }
.resizer.right { right: -5px; }

.All {
  pointer-events: all; 
}

.resizer {
  pointer-events: all;
}

.TotalOfficers {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center; 
  direction: rtl;
  right: 0.45rem;
  height: 2.2rem;
  width: 60%;
  border-radius: 5px;
  background: var(--Color-All);
  color: rgb(196, 196, 196);
  padding: 0 10px;
}

.IconOffcerTotal {
  color: rgb(196, 196, 196);
  margin-left: 10px;
  font-size: 1.1rem; 
}

.OfficerHereText {
  margin-left: 5px;
  font-size: 1rem;
  font-weight: bolder;
}

.Total {
  color: #b6b6b6;
  font-weight: bolder;
  font-size: 0.9rem;
}

.Background {
  position: absolute;
  direction: ltr;
  right: 0;
  top: 2.5rem;
  min-height: 1.78rem;
  max-height: 31.3rem;
  width: 73.5%;
  border-radius: 6px;
  color: rgb(196, 196, 196);
  padding: 0px 10px;
  padding-bottom: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  resize: none;
        opacity: 0; /* ابدأ شفافًا بالكامل */
  animation: fadeInAnimation ease 0.6s; /* اسم الأنيميشن، المدة، نوع الحركة */
  animation-iteration-count: 1; /* مرة واحدة فقط */
  animation-fill-mode: forwards; /* الاحتفاظ بالحالة النهائية (ظاهر) */
}

.AllOfficers {
  position: relative;
  display: flex;
  flex-direction: column;
  right: -0.4rem;
  width: 100%;
  min-height: auto;
  max-height: 100%;
        opacity: 0; /* ابدأ شفافًا بالكامل */
  animation: fadeInAnimation ease 0.6s; /* اسم الأنيميشن، المدة، نوع الحركة */
  animation-iteration-count: 1; /* مرة واحدة فقط */
  animation-fill-mode: forwards; /* الاحتفاظ بالحالة النهائية (ظاهر) */
}

.StyleForStart {
  z-index: 1222;
  position: absolute;
  height: 1.025rem;
  width: calc(100% + 6.2px);
  right: 0.22rem;
  top: -0.03rem;
  background: var(--Color-All);
  border-top-right-radius: 7px;
  border-top-left-radius: 7px;
        opacity: 0; /* ابدأ شفافًا بالكامل */
  animation: fadeInAnimation ease 0.6s; /* اسم الأنيميشن، المدة، نوع الحركة */
  animation-iteration-count: 1; /* مرة واحدة فقط */
  animation-fill-mode: forwards; /* الاحتفاظ بالحالة النهائية (ظاهر) */
}

.officer {
  position: relative;
  width: 100%;
  height: 1.8rem;
  min-height: 1.3rem;
  top: 1rem;
  right: 0.6rem;
  background: var(--Color-All);
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  gap: 0px;
  padding: 3px;
  direction: rtl;
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: #000000;
  border-bottom: 1.3px solid;
  border-image: linear-gradient(to right, var(--Color-All) 0%, #333333 90%, var(--Color-All) 100%) 1;

}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.Status {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;   
  text-align: center;
  position: absolute;
  height: 11px;
  width: 11px;
  right: 4%;
  border-radius: 1000001121213123px;
}

.CallSignUser {
  position: absolute;
  display: inline-block;
  justify-content: center;
  align-items: center;   
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  right: 11%;
  top: 10.5px;
  font-size: 0.7rem;
  width: 10%;
  height: 22px;
  font-weight: bold;
  color: rgb(164, 164, 164);
}

.OfficerName {
  position: absolute;
  display: inline-block;
  direction: rtl;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 37%;
  right: 23%;
  font-size: 0.9rem;
  color: rgb(225, 225, 225);
}

.RadioChecker {
  position: absolute;
  display: inline-block;
  direction: rtl;
  justify-content: center;
  align-items: center;   
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 23px;
  min-width: 10%;
  right: 63%;
  top: 0.1rem;
  font-size: 1rem;
  color: #cdcdcd;
}

.RadioIcon {
  position: absolute;
  top: 4px;
}

.BodyCamChecker {
  position: absolute;
  display: inline-block;
  direction: rtl;
  justify-content: center;
  align-items: center;   
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 23px;
  min-width: 10%;
  right: 76%;
  top: 0.1rem;
  font-size: 1rem;
  color: #cdcdcd;

}

.MarkOfficerLocation {
  position: absolute;
  display: inline-block;
  direction: rtl;
  justify-content: center;
  align-items: center;   
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 22px;
  min-width: 10%;
  right: 89%;
  top: 0.1rem;
  font-size: 1rem;
  color: #cdcdcd;
}

.RadioChecker,
.BodyCamChecker,
.MarkOfficerLocation,
#RadioCheckerIcon,
#BodyCamCheckerIcon,
#MarkOfficerLocationIcon {
  display: flex;
  justify-content: center;
  align-items: center;   
  text-align: center;
  width: 1.55rem;
  height: 85%;
  font-size: 0.94rem;
  color: #cdcdcd;
  cursor: default;
  transition-duration: 0.15s;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0);
  border-radius: 4px;
}

.RadioChecker:hover,
.BodyCamChecker:hover,
.MarkOfficerLocation:hover {
  background-color: var(--main-color);
  box-shadow: 0 0 5px var(--main-color);
}

.MoreSettigs {
  position: relative;
  left: 10.9%;
  z-index: -3;
  transition: left 0.3s ease;
}

.SettingUi {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1222;
  color: #d4d4d4;
  justify-content: center;
  align-items: center;   
  text-align: center;
  height: 2.2rem;
  width: 2.2rem;
  top: 2rem;
  border-radius: 5px;
  margin-top: 7px;
  cursor: default;
  background: var(--Color-All);
  transition-duration: 0.2s;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0);
}

.SettingUi:hover {
  background-color: var(--main-color);
  box-shadow: 0 0 5px var(--main-color);
}

.AllSeittingsBackgroud {
  position: absolute;
  display: flex; 
  direction: rtl;
  white-space: nowrap; 
  overflow: hidden;
  border-radius: 5px;
  height: 11rem;
  width: 76.75%;
  right: 0rem;
  top: 2.5rem;
  background: var(--Color-All);
}

.AllSeittingsBackgroud {
  color: #e7e7e7;
}

.Dev {
  position: absolute;
  font-weight: bolder;
  font-size: 1rem;
  top: 12%;
  right: 6%;
}

.ModeOk {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;   
  text-align: center;
  width: 35%;
  height: 14%;
  border-radius: 4px;
  transform: skew(3deg);
  top: 12%;
  left: 4%;
  font-size: 0.9rem;
  transition-duration: 0.6s;
  background-color: var(--main-color);
  box-shadow: 0 0 5px var(--main-color);
}

.ModeOk:hover, .RestartSettings:hover {
  box-shadow: 0 0 15px var(--main-color);
  background-color: var(--Hover-Color);
}

.SizeMode {
  position: absolute;
  font-weight: bolder;
  font-size: 1rem;
  top: 46%;
  right: 100%;
  margin-right: -8.6rem;
}

.SizeModeText {
  position: absolute;
  font-weight: bolder;
  font-size: 1rem;
  top: 45%;
  right: 6%;
}

.Size {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;   
  text-align: center;
  height: 1.8rem;
  width: 8rem;
  border-radius: 4px;
  top: 12%;
  transform: skew(0deg);
  right: 100%;
  background-color: #3f464652;
}

.RestartSettings {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;   
  text-align: center;
  width: 90%;
  height: 14%;
  border-radius: 4px;
  transform: skew(5deg);
  top: 78%;
  left: 4%;
  font-size: 0.9rem;
  transition-duration: 0.3s;
  background-color: var(--main-color);
  box-shadow: 0 0 5px var(--main-color);
}

.ArrowLeft {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;  
  text-align: center; 
  left: 0%;
  height: 100%;
  width: 25%;
  border-radius: 2px;
  transition-duration: 0.2s;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0);
}

.NumberSize {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;  
  text-align: center; 
  left: 25%;
  width: 50%;
  height: 100%;
  font-size: 0.75rem;
}

.ArrowRight {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;  
  text-align: center; 
  border-radius: 2px;
  right: 0%;
  height: 100%;
  width: 25%;
  transition-duration: 0.2s;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0);
}

.ArrowRight:hover, .ArrowLeft:hover {
  background-color: var(--main-color);
  box-shadow: 0 0 5px var(--main-color);
}

.cursor-move, 
.cursor-move * { 
    cursor: move !important;
}

.CallSignBackGround, .StatusBackGround , .ChatBackground {
  position: absolute;
  display: flex; 
  direction: rtl;
  white-space: nowrap; 
  overflow: hidden;
  border-radius: 5px;
  height: 9rem;
  width: 76.75%;
  right: 0rem;
  top: 2.5rem;
  background: var(--Color-All);
}

.CallSign {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;  
  text-align: center; 
  width: 72%;
  height: 25%;
  padding: 10px;
  left: 14%;
  top: 20%;
  margin: 5px 0;
  transform: skew(3deg);
  background-color: #3f464652;
  border-radius: 4px;
  font-size: 12px;
  color: #cdcdcd;
  box-sizing: border-box;
  border-color: none;
  border: none;
  cursor: text;
}

#CallSignIcon {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;  
  text-align: center; 
  z-index: 121212121;
  left: 75%;
  top: 30%;
  scale: 0.8;
  color: #a3a3a3;
}

.SaveCallSign {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;   
  text-align: center;
  width: 32%;
  height: 23%;
  color: white;
  font-weight: bolder;
  border-radius: 4px;
  top: 58%;
  left: 50%;
  font-size: 0.9rem;
  transition-duration: 0.6s;
  background-color: var(--main-color);
  box-shadow: 0 0 5px var(--main-color);
}

.CloseCallSign {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;   
  text-align: center;
  width: 29%;
  height: 22%;
  border-radius: 216px;
  color: rgb(201, 28, 28);
  border: 2px solid rgb(201, 28, 28);
  border-radius: 4px;
  top: 58%;
  left: 16%;
  font-size: 0.9rem;
  scale: 1;
  transition-duration: 0.3s;
}

.SaveCallSign:hover {
  box-shadow: 0 0 15px var(--main-color);
  background-color: var(--Hover-Color);
}

.CloseCallSign:hover {
  color: rgb(255, 255, 255);
  border: 2px solid rgb(201, 28, 28);
  box-shadow: 0 0 15px rgb(201, 28, 28);
  background-color: rgb(201, 28, 28);
}

.OnDuty, .OffDuty {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;   
  text-align: center;
  width: 39%;
  height: 24%;
  font-weight: bolder;
  border-radius: 4px;
  transform: skew(-8deg);
  top: 12%;
  left: 4%;
  font-size: 0.9rem;
  transition-duration: 0.14s;
  background-color: #3f46462f;
  border: 2px solid rgba(139, 69, 19, 0);
}

.OnDuty {
  color: rgb(59, 177, 59);
  left: 53%;
}

.OffDuty {
  color: rgb(179, 36, 36);
  left: 8%;
}

.OnDuty:hover {
  border: 2px solid rgba(59, 177, 59, 0.712);
}

.OffDuty:hover {
  border: 2px solid rgb(179, 36, 36, 0.712);
}

.StatusBorder {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;   
  text-align: center;
  width: 82%;
  height: 0.5%;
  border-radius: 4px;
  top: 48%;
  left: 10%;
  background-color: rgba(63, 63, 63, 0.678);
}

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

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

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

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  right: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + #StatuesDispach {
  background-color: rgb(250, 204, 0);
}

input:checked + #StatuesBusy {
  background-color: rgb(137, 0, 250);
}

#DispachStatues input:checked ~ .slider {
  background-color: rgb(250, 204, 0);
}

#BusyStatues input:checked ~ .slider {
  background-color: rgb(137, 0, 250);
}

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

.StatusBusy, .StatuesDispach {
  color: #cdcdcd;
  position: absolute;
  display: inline-block;
}

.StatuesDispach {
  top: 54%;
  right: 5.5rem;
  margin-right: 1%;
  font-weight: 600;
  font-size: 0.9rem;
}

.StatusBusy {
  top: 76%;
  right: 5.5rem;
  margin-right: 1%;
  font-weight: 600;
  font-size: 0.9rem;
}

#DispachStatues {
  top: 54%;
  right: 9%;
  scale: 0.8;
}

#BusyStatues {
  top: 76%;
  right: 9%;
  scale: 0.8;
}

.ChatBackground {
  height: 12rem;
}

.ForSendMessage {
  position: absolute;
  display: flex;
  width: 90%;
  height: 14%;
  padding: 10px;
  left: 5%;
  top: 77%;
  margin: 5px 0;
  background-color: #3f464652;
  border-radius: 4px;
  font-size: 12px;
  color: #cdcdcd;
  box-sizing: border-box;
  border-color: none;
  border: none;
  cursor: text;
  padding: 0px 15px 0px 35px;
}

.ForSendMessage:focus {
  border-color: none;
  border: none;
}

.ForSendMessage:hover {
  border-color: none;
  border: none;
}

#sendMessage {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;   
  text-align: center;
  color: white;
  left: 1.2%;
  border-radius: 4px;
  width: 19%;
  height: 22%;
  background-color: #3f464628;
  top: 75.7%;
  scale: 0.6;
  transform: scaleX(-1);
  transition-duration: 0.4s;
}

#sendMessage:hover {
  box-shadow: 0 0 15px var(--main-color);
  background-color: var(--Hover-Color);
}

.AllMessage {
  position: absolute;
  left: 0%;
  height: 75%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.Message {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  scale: 0.8;
  z-index: 1222;
  color: #d4d4d4;
  text-align: right;
  background-color: #3f464652;
  padding: 3px;
  left: 1rem;
  border-radius: 4px;
  margin: 35px 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 50px;
  max-width: 100%;
  max-height: 160px;
  white-space: normal;
  direction: rtl;
  visibility: visible;
  text-overflow: ellipsis;
}

.username {
  position: absolute;
  top: -30px;
  right: 0px;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  padding: 2px 5px;
  z-index: 1234;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #3f464652;
}

.Message img.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-left: 10px;
}

.message-text {
  flex-grow: 1;
}

.DivModeBackGround {
  display: none;
  background-image: url(img/grid.png);
  background-position: 50%;
  background-repeat: repeat;
  background-size: 50px 50px;
  height: 100%;
  left: 0;
  opacity: 0.2;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: -1;
}

.SD_STOREBio {
  display: block;
  position: fixed;
  background-color: rgba(39, 39, 39, 0.8);
  color: white;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 1rem;
  white-space: nowrap;
  z-index: 1000000000000000000000000000000000000000000000000000000000000000000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}