/*@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");*/

/**,*/
/*body {*/
/*  font-family: Tajawal;*/
/*  margin: 0;*/
/*  padding: 0;*/
/*  box-sizing: border-box;*/
/*}*/
@font-face {
    font-family: 'DINNextLTArabic';
    url('../fonts/ArbFONTS-DINNextLTArabic-Regular-3.ttf') format('truetype'),
    font-weight: normal;
    font-style: normal;
}

*,
body {
    font-family: 'DINNextLTArabic', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
span {
  display: block;
}
li {
  list-style: none;
}
button {
  background-color: transparent;
  border: 0;
  cursor: pointer;
}
.stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
}
.stars span {
  color: #ffaa37;
  font-size: 11px;
  font-weight: 400;
}
/*  slecetor start */
.custom-select {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-radius: 6px;
  border: 1px solid #e1e1e1;
  height: 44px;
}

.custom-select select {
  display: none;
}

.select-selected {
  padding: 11px 16px;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: background-color 0.3s;
  color: #161313;
  overflow: hidden;
}

.select-selected.open {
  background-color: #e6e6e6;
}
.arrow-selector {
  transition: 500ms;
  position: absolute;
  left: 10px;
  top: 45%;
  cursor: pointer;
}
.select-selected.open + .select-items + .arrow-selector {
  transform: rotateX(180deg);
}

.select-items {
  position: absolute;
  border-radius: 6px;
  border: 1px solid #e1e1e1;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(-20px);
  overflow: hidden;
}

.select-items div {
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.5s;
}

@media (min-width: 640px) {
  .custom-select {
    width: 107px;
  }
}

.select-items div:hover {
  background-color: #ddd;
}

.select-items.open {
  display: block;
  background-color: #fff;
  opacity: 1;
  transform: translateY(0);
}
/* end of selector */
/* filter section start */
.search-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

@media (min-width: 640px) {
  .search-container {
    gap: 5px;
  }
}

.search-box {
  padding: 3px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #d7d7d7;
  padding: 0 10px;
  width: 100%;
}

@media (min-width: 640px) {
  .search-box {
    padding: 0 18.5px;
    width: 241px;
  }
}

.search-input {
  outline: none;
  font-size: 13px;
  width: 100%;
  line-height: 14px;
  font-weight: medium;
  color: #161313;
  opacity: 0.5;
}

.add-button {
  font-weight: bold;
  font-size: 13px;
  line-height: 1.25;
  color: white;
  background-color: #006cfd;
  border: 1px solid #006cfd;
  height: 44px;
  width: 100%;
  border-radius: 6px;
  transition: 500ms;
  display: flex;
  align-items: center;
  justify-content: center;
}
.add-button:hover {
  background-color: white;
  color: #006cfd;
}

@media (min-width: 640px) {
  .add-button {
    width: 136px;
  }
}

.icon-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* filter section end */

/* table style start */
.table-responsive {
  overflow: auto;
}

.table {
  width: 100%;
  text-align: right;
  width: 100%;
  border-collapse: separate;
  margin-top: 30px;
  table-layout: auto;
  border-spacing: 26px;
}
.table .thead th {
  color: #a1a5b7;
  font-size: 13px;
  font-weight: 700;
  line-height: 14px;
}
.table .table-row {
  border-radius: 7px;
  border: 1px solid var(--Gray-Gray-200, #f1f1f2);
  box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);
}
.table .table-row td {
  padding: 21px 0;
  color: #5e6278;
  font-size: 14px;
  font-weight: 700;
}
.table .table-row td:first-child {
  padding-right: 24px;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
}
.table .table-row td:last-child {
  padding-left: 30px;
  padding-right: 60px;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}
.table .table-row td:last-child img:hover {
  cursor: pointer;
}

@media (max-width: 767px) {
  .table {
    width: 1000px;
  }
}

/* table style end */

.add-type-popup {
  width: 100%;
  height: 100vh;
  z-index: 10000;
  top: 0;
  left: 0;
  position: fixed;
}
.add-type-popup .black-bg {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.36);
  z-index: 100001;
  cursor: pointer;
}
.popup-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.07);
  padding: 45px 41px 53px;
}
@media (max-width: 1280px) {
  .popup-content {
    width: 70%;
  }
}
@media (max-width: 1024px) {
  .popup-content {
    width: 80%;
  }
}
@media (max-width: 767px) {
  .popup-content {
    width: 90%;
    padding: 30px;
  }
}
.close {
  position: absolute;
  left: 41px;
  top: 48px;
  cursor: pointer;
}
.popup-content h1 {
  color: #000;
  font-size: 25px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.5px;
  margin-bottom: 36px;
}
.popup-content h3 {
  margin-bottom: 19px;
  color: #161313;
  font-size: 16px;
  font-weight: 500;
  line-height: 120%; /* 19.2px */
}
.popup-content .upload {
  position: relative;
  border-radius: 5px;
  border: 1px dashed #c6c6c6;
  background: #e7e7e7;
  width: 63px;
  height: 61px;
  margin-bottom: 28px;
  cursor: pointer;
}
.popup-content .upload img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.popup-content .form-content {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 46px;
}

.popup-content .add-input {
  border-radius: 5px;
  border: 1px solid #dadada;
  color: #000;
  font-size: 15px;
  font-weight: 400;
  width: 50%;
  height: 61.492px;
  line-height: 120%;
  padding-right: 20px;
}

#custom-select2 {
  width: 50%;
  height: 61.492px;
  padding: 8.5px 20px;
}
@media (max-width: 616px) {
  .popup-content .form-content {
    flex-direction: column;
    margin-bottom: 20px;
    gap: 14px;
  }
  .popup-content .add-input {
    width: 100%;
  }
  #custom-select2 {
    width: 100%;
  }
}
.popup-content form button {
  background-color: #006cfd;
  width: 100%;
  border-radius: 8px;
  padding: 20px 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px; /* 144.444% */
  letter-spacing: -0.072px;
  border: 2px solid #006cfd;
  transition: 500ms;
}
.popup-content form button:hover {
  background-color: white;
  color: #006cfd;
}
/* Popover styles */
.popover {
  position: absolute;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  display: none;
  z-index: 1000;
  border-radius: 8px;
}
.popover-content {
  list-style: none;
  padding: 0;
  margin: 0;
}
.popover-content li a {
  margin: 3px 0;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-content: center;
  gap: 8px;
  transition: 200ms;
}
.popover-content li:hover a {
  background-color: #f0f0f0;
}
.custom-form {
  width: 100%;
}
.custom-form .form-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 30px;
  margin: 33px 0;
}
.custom-form .form-row > div {
  width: 50%;
}
.custom-form .form-row > .text-area,
textarea {
  width: 100%;
}
textarea {
  border: 1px solid #dadada;
  padding: 10px 14px;
  border-radius: 5px;
}

@media (max-width: 767px) {
  .custom-form .form-row {
    flex-direction: column;
  }
  .custom-form .form-row > div {
    width: 100%;
  }
}
.custom-form label {
  color: #161313;
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  display: block;
  margin-bottom: 16px;
}
select {
  width: 100%;
  height: 44px;
  padding: 10px;
  border-radius: 6px;
}
@media (min-width: 640px) {
  select {
    width: 107px;
  }
}

.custom-form input:not([type="radio"]):not([type="checkbox"]),
.custom-form select {
  padding: 0 31px 0 20px;
  border-radius: 5px;
  border: 1px solid #dadada;
  background: #fff;
  width: 50%;
  height: 61.492px;
  flex-shrink: 0;
  width: 100%;
  text-align: right;
}
.custom-select-form {
  height: 61.492px;
  width: 100%;
}
.custom-select-form .select-selected {
  padding: 18px 31px;
}
.form-row img {
  cursor: pointer;
}

input[type="file"] {
  display: none;
}

.custom-upload-button {
  display: inline-block;
  cursor: pointer;
}

.upload-container {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.upload-container #preview {
  display: none;
  width: 185px;
  height: 154px;
  object-fit: cover;
  border-radius: 10px;
}

.check-par {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.radio-parent {
  display: flex;
  gap: 10px;
}
.radio-parent label {
  position: relative;
  top: -1px;
}
.submit-button:hover {
  background-color: white;
  color: #006cfd;
}
.checkbox input[type="checkbox"],
input[type="radio"] {
  width: 16px;
  height: 16px;
}

/* styles.css */
.support-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.support-header .flex-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.support-image {
  width: 75px;
  height: 75px;
  object-fit: contain;
  border-radius: 6px;
}

.ticket-title {
  margin-top: 16px;
  margin-bottom: 40px !important;
  color: #181c32;
  font-size: 22px;
  font-weight: bold;
  line-height: 22px;
  letter-spacing: -0.22px;
}

.flex-sub-container {
  display: flex;
  align-items: center;
  gap: 11px;
}

.sub-title {
  color: #a1a5b7;
  font-size: 14px;
  font-weight: 500;
}

.ticket-sub-title {
  color: #757575;
  font-size: 14px;
  font-weight: 500;
}

.details-card {
  width: 100%;
  margin-top: 35px;
}

.ticket-card {
  width: 100%;
  border-radius: 7px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  padding: 42px 40px 37px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.info {
  text-align: right;
}

.info-title {
  margin-bottom: 28px;
  color: #282828;
  font-size: 14px;
  font-weight: bold;
}

.info-text {
  color: #5e6278;
  font-size: 14px;
  font-weight: bold;
}

.info-status {
  padding: 10px 20px;
  border-radius: 40px;
  background: rgba(246, 192, 0, 0.15);
  color: #f6c000;
  font-weight: 700;
}

.message-container {
  margin-bottom: 157px;
}

.message-title {
  margin-top: 31px;
  color: #1e1e1e;
  font-size: 16px;
  font-weight: medium;
  line-height: 1.5;
}

.message-box {
  background-color: #ffffff;
  border: 1px solid #f1f1f2;
  border-radius: 20px;
  padding: 30px;
  display: grid;
  gap: 10px;
  margin-top: 16px;
  display: grid;
  gap: 40px;
}

.message-item {
  display: flex;
  flex-direction: column;
}
.message-item.rtl {
  direction: ltr;
}

.sender-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.message-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sender-avatar {
  width: 30px;
  height: 30px;
  background-color: #006cfd;
  border-radius: 50%;
}

.sender-name {
  color: #181c32;
  font-size: 14px;
  font-weight: bold;
}

.message-time {
  color: #a1a5b7;
  font-size: 12px;
  margin-bottom: 1px;
}

.message-content {
  background-color: #f6f6f6;
  border-radius: 10px;
  padding: 12px;
  color: #5e6278;
  font-size: 13px;
  font-weight: 500;
}
.message-item.rtl .message-content {
  background-color: #eef6ff;
}
.message-input {
  display: flex;
  align-items: center;
}

.message-textbox {
  border: none;
  border-bottom: 1px solid #e4e4e4;
  width: 100%;
  height: 38px;
  outline: none;
}

.send-button {
  color: #ffffff;
  font-size: 13px;
  font-weight: medium;
  background-color: #006cfd;
  border-radius: 26px;
  padding: 11px 19px;
  border: 1px solid #006cfd;
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s;
}

.send-button:hover {
  color: #006cfd;
  background-color: #ffffff;
}
.submit-button {
  font-weight: bold;
  font-size: 17px;
  line-height: 1.25;
  color: white;
  background-color: #006cfd;
  border: 1px solid #006cfd;
  height: 61px;
  width: 100%;
  border-radius: 6px;
  transition: 500ms;
  display: flex;
  align-items: center;
  justify-content: center;
}
#uploadIcon {
  margin-left: 10px;
  cursor: pointer;
}

#uploadIcon {
  margin-left: 10px;
  cursor: pointer;
}

#file-upload {
  display: none;
}

#preview {
  display: none;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
}
.attachments-parent {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.attachment {
  border-radius: 10px;
  background: white;
  position: relative;
  z-index: 80;
  width: 223.406px;
  height: 69.367px;
  color: #161313;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(232, 232, 232, 1);
  padding: 13px;
  margin: 20px 0 12px;
}
.attachent-image {
  width: 69.367px;
  height: 69.367px;
  border-radius: 10px;
  object-fit: cover;
}
.pdf-text p {
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 5px;
}
.pdf-text span {
  font-size: 10px;
}
.message-content > p {
  margin: 8px 10px 10px 10px;
}

li.select2-results__option {
    float: right;
}


.flex-container {
    display: flex;
    gap: 13px;
}

/* Form Section Styles */
.form-section {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-section h3 {
    margin: 0 0 25px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 18px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section.gradient-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-section.gradient-section h3 {
    color: #fff;
    border-bottom: none;
}
