/*//////////////////////////////////////////////////////////////////
[ FONT ]*/
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap");

/*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: "IBM Plex Sans Arabic", sans-serif;
}
body {
  transition: background-color 0.5s, color 0.5s;
}
/* الوضع الليلي للـ Navbar */
.navbar-dark-mode {
  background-color: #343a40 !important;
  color: #fff;
}
.navbar-dark-mode .navbar-nav .nav-link {
  color: #e5e5e5 !important;
}
.navbar-light-mode {
  background-color: #f8f9fa !important;
  color: #000;
}
.navbar-light-mode .navbar-nav .nav-link {
  color: #000 !important;
}
/*---------------------------------------------*/
a {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #666666;
  margin: 0px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  text-decoration: none;
}

a:focus {
  outline: none !important;
}

a:hover {
  text-decoration: none;
  color: #bd933f;
}

/*---------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
}

p {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #666666;
  margin: 0px;
}

ul,
li {
  margin: 0px;
  list-style-type: none;
}

/*---------------------------------------------*/
input {
  outline: none;
  border: none;
}

textarea {
  outline: none;
  border: none;
}

textarea:focus,
input:focus {
  border-color: transparent !important;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}
input:focus:-moz-placeholder {
  color: transparent;
}
input:focus::-moz-placeholder {
  color: transparent;
}
input:focus:-ms-input-placeholder {
  color: transparent;
}

textarea:focus::-webkit-input-placeholder {
  color: transparent;
}
textarea:focus:-moz-placeholder {
  color: transparent;
}
textarea:focus::-moz-placeholder {
  color: transparent;
}
textarea:focus:-ms-input-placeholder {
  color: transparent;
}

input::-webkit-input-placeholder {
  color: #999999;
}
input:-moz-placeholder {
  color: #999999;
}
input::-moz-placeholder {
  color: #999999;
}
input:-ms-input-placeholder {
  color: #999999;
}

textarea::-webkit-input-placeholder {
  color: #999999;
}
textarea:-moz-placeholder {
  color: #999999;
}
textarea::-moz-placeholder {
  color: #999999;
}
textarea:-ms-input-placeholder {
  color: #999999;
}

label {
  display: block;
  margin: 0;
}

/*---------------------------------------------*/
button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

iframe {
  border: none !important;
}

/*//////////////////////////////////////////////////////////////////
[ utility ]*/

/*==================================================================
[ Text ]*/
.txt1 {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: #767676;
}

.txt2 {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #999999;
}

/*==================================================================
[ Size ]*/
.size1 {
  width: 355px;
  max-width: 100%;
}

.size2 {
  width: calc(100% - 43px);
}

/*==================================================================
[ Background ]*/
.bg1 {
  background: #3b5998;
}
.bg2 {
  background: #1da1f2;
}
.bg3 {
  background: #cd201f;
}

/*//////////////////////////////////////////////////////////////////
[ login ]*/
.limiter {
  width: 100%;
  margin: 0 auto;
}

.container-login100 {
  width: 100%;
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: #f2f2f2;
}

.wrap-login100 {
  width: 100%;
  background: #fff;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  flex-direction: row-reverse;
}

/*==================================================================
[ login more ]*/
.login100-more {
  width: calc(100% - 560px);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.login100-more::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.1);
}

/*==================================================================
[ Form ]*/

.login100-form {
  width: 560px;
  min-height: 100vh;
  display: block;
  background-color: #f7f7f7;
  padding: 173px 55px 55px 55px;
}

.login100-form-title {
  width: 100%;
  display: block;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 30px;
  color: #333333;
  line-height: 1.2;
  text-align: center;
}

/*------------------------------------------------------------------
[ Input ]*/

.wrap-input100 {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  width: 100%;
  height: 80px;
  position: relative;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  margin-bottom: 10px;
}
.wrap-input25 {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 20%;
  height: 80px;
  position: relative;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  margin-bottom: 10px;
}
.label-input100 {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 18px;
  color: #999999;
  line-height: 1.2;

  display: block;
  position: absolute;
  pointer-events: none;
  width: 100%;
  padding-right: 24px;
  right: 0;
  top: 30px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}
.warp-flex {
  display: flex;
  justify-content: space-evenly;
}
.input100 {
  display: block;
  width: 100%;
  background: transparent;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 18px;
  color: #555555;
  line-height: 1.2;
  padding: 0 26px;
}
.input25 {
  width: 100%;
  background: transparent;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  text-align: center;
  font-size: 50px;
  color: #555555;
  line-height: 1.2;
}

input.input100 {
  height: 100%;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

/*---------------------------------------------*/

.focus-input100 {
  position: absolute;
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  top: -1px;
  left: -1px;
  pointer-events: none;
  border: 1px solid #bd933f;
  border-radius: 10px;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  -webkit-transform: scaleX(1.1) scaleY(1.3);
  -moz-transform: scaleX(1.1) scaleY(1.3);
  -ms-transform: scaleX(1.1) scaleY(1.3);
  -o-transform: scaleX(1.1) scaleY(1.3);
  transform: scaleX(1.1) scaleY(1.3);
}

.input100:focus + .focus-input100 {
  visibility: visible;
  opacity: 1;

  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.eff-focus-selection {
  visibility: visible;
  opacity: 1;

  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.input100:focus {
  height: 48px;
}

.input100:focus + .focus-input100 + .label-input100 {
  top: 14px;
  font-size: 13px;
}

.has-val {
  height: 48px !important;
}

.has-val + .focus-input100 + .label-input100 {
  top: 14px;
  font-size: 13px;
}

/*==================================================================
[ Restyle Checkbox ]*/

.input-checkbox100 {
  display: none;
}

.label-checkbox100 {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  /* font-size: 13px; */
  color: #999999;
  line-height: 1.4;

  display: block;
  position: relative;
  padding-right: 26px;
  cursor: pointer;
}

.label-checkbox100::before {
  content: "\f00c";
  font-family: FontAwesome;
  font-size: 13px;
  color: transparent;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #bd933f;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.input-checkbox100:checked + .label-checkbox100::before {
  color: #bd933f;
}

/*------------------------------------------------------------------
[ Button ]*/
.container-login100-form-btn {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.login100-form-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(
    320deg,
    #6b79815d 0%,
    #bd933f 100%
  );

  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 18px;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.login100-form-btn:hover {
  background: linear-gradient(
    -320deg,
    #6b79815d 0%,
    #bd933f 100%
  );
}
.login100-form-btn.disabled {
  opacity: 0.5;
  /* خفض الشفافية لإظهار أن الزر غير فعال */
}
/*------------------------------------------------------------------
[ Responsive ]*/

@media (max-width: 992px) {
  .login100-form {
    width: 50%;
    padding-left: 30px;
    padding-right: 30px;
  }

  .login100-more {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .login100-form {
    width: 100%;
  }

  .login100-more {
    display: none;
  }
}

@media (max-width: 576px) {
  .login100-form {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 70px;
  }
}

/*------------------------------------------------------------------
[ Alert validate ]*/

.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  z-index: 100;
  max-width: 70%;
  background-color: #fff;
  border: 1px solid #c80000;
  border-radius: 2px;
  padding: 4px 25px 4px 25px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 40px;
  pointer-events: none;

  font-family: "IBM Plex Sans Arabic", sans-serif;
  color: #c80000;
  font-size: 13px;
  line-height: 1.4;
  text-align: right;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f12a";
  font-family: FontAwesome;
  display: block;
  position: absolute;
  z-index: 110;
  color: #c80000;
  font-size: 16px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 18px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 992px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
}

/*==================================================================
[ Social ]*/
.login100-form-social-item {
  width: 36px;
  height: 36px;
  font-size: 18px;
  color: #fff;
  border-radius: 50%;
}

.login100-form-social-item:hover {
  background: #333333;
  color: #fff;
}
.dropdown-toggle::after {
  display: none;
}
.box-vote {
  position: relative;
  padding: 5px;
  margin-top: 50px;
  background: #fff;
  border-radius: 12px;
  text-align: center; /* لجعل المحتوى داخل الـ box في المنتصف */
}

.box-vote-title {
  color: #000000;
  font-size: 1.5vw; /* حجم الخط نسبي حسب عرض الشاشة */
  font-weight: 600;
  margin-bottom: 10px;
}

.box-vote .box-vote-text h5 {
  color: #bd933f;
  font-size: 1.5vw; /* حجم الخط نسبي */
}

.box-vote img {
  margin-bottom: 15px;
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
}

.box-vote .vote-rate {
  background-color: #1bc681;
  color: #fff;
  font-weight: 900;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2vw; /* حجم الخط نسبة للشاشة */
}

/* استعلامات الوسائط للشاشات الصغيرة */
@media (max-width: 768px) {
  .box-vote img {
    max-width: 150px; /* تقليل أقصى عرض للصورة */
  }
  .box-vote-title {
    font-size: 3vw; /* تكبير الخط على الشاشات الصغيرة */
  }
  .box-vote .vote-rate {
    width: 40px;
    height: 40px;
    font-size: 2.5vw; /* تعديل حجم الرقم في الصناديق الصغيرة */
  }
}

@media (max-width: 576px) {
  .box-vote img {
    max-width: 120px; /* تقليل أقصى عرض للصورة للشاشات الصغيرة جدًا */
  }
  .box-vote-title {
    font-size: 4vw; /* تكبير النص للشاشات الصغيرة جدًا */
  }
  .box-vote .vote-rate {
    width: 35px;
    height: 35px;
    font-size: 3vw;
  }
}

#result_view .col-6 {
  position: relative;
  transition: all 0.5s ease-in-out; /* الانتقال سيكون لمدة نصف ثانية */
}

.box-vote {
  transform: scale(1); /* الحجم الطبيعي */
  transition: transform 0.5s ease; /* تأثير الانتقال على الحجم */
}

/* vote classes */
ul.vote-ul {
  list-style-type: none;
}

li.vote-li {
  display: inline-block;
}

input[type="checkbox"][id^="myCheckbox"] {
  display: none;
}

.vote-label {
  border: 1px solid #626262;
  border-radius: 10px;
  padding: 10px;
  display: block;
  position: relative;
  margin: 10px;
  cursor: pointer;
}

.vote-label:before {
  background-color: white;
  color: white;
  content: " ";
  display: block;
  border-radius: 50%;
  border: 1px solid #039f2a;
  position: absolute;
  top: 2px;
  right: 2px;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 28px;
  transition-duration: 0.4s;
  transform: scale(0);
  z-index: 100;
}

.vote-label img {
  height: 15vw; /* نسبة إلى عرض الشاشة */
  width: 10vw; /* نسبة إلى عرض الشاشة */
  transition-duration: 0.2s;
  transform-origin: 50% 50%;
}

.vote-label p {
  background-color: rgba(0, 0, 0, 0.503);
  position: absolute;
  color: #fff;
  width: 85%; /* تغطية العرض الكامل للصورة */
  bottom: 10px;
  text-align: center;
  font-size: 1vw; /* حجم النص نسبة إلى عرض الشاشة */
}

:checked + .vote-label {
  border: 3px solid #039f2a;
  border-radius: 10px;
}

:checked + .vote-label:before {
  content: "✓";
  background-color: #039f2a;
  transform: scale(1);
}

:checked + .vote-label img {
  transform: scale(0.9);
  z-index: -1;
}

.vote-li .vote-label {
  opacity: 1; /* الشفافية الأصلية للعناصر المفعلة */
  transition: opacity 0.3s; /* انتقال ناعم عند تغيير الشفافية */
}

.vote-li input[type="checkbox"]:disabled + .vote-label {
  opacity: 0.3; /* الشفافية للعناصر غير المفعلة */
}

/* استعلامات الوسائط لتعديل التصميم على الشاشات الصغيرة */
@media (max-width: 768px) {
  .vote-label img {
    height: 30vw; /* تكبير الصورة للشاشات الصغيرة */
    width: 20vw;
  }
  .vote-label p {
    font-size: 2.5vw; /* تكبير النص للشاشات الصغيرة */
  }
}

@media (max-width: 576px) {
  .vote-label img {
    height: 40vw; /* تكبير أكبر للشاشات الأصغر */
    width: 30vw;
  }
  .vote-label p {
    font-size: 3.5vw; /* تكبير النص للشاشات الأصغر */
  }
}

/**  Data table */
table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td,
table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
  text-align: center;
}

/** result pages */
.status-card {
  position: relative;
  border: 1px solid #fff;
  border-radius: 4px;
  width: 200px;
  height: 75px;
  margin: 34px 20px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  font-size: 18px;
  align-items: flex-start;
}
.status-card .status-value {
  position: absolute;
  bottom: -19px;
  right: -24px;
  z-index: 100;
  border-radius: 6px;

  padding: 10px 70px;
  font-weight: 900;
}
.status-card .light {
  background-color: #d9b05e;
}
.status-card .dark {
  background-color: #6b7981;
}
@media (max-width: 576px) {
  .status-card {
    position: relative;
    border: 1px solid #fff;
    border-radius: 4px;
    width: 138px;
    height: 58px;
    margin: 8px 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding-top: 3px;
    font-size: 14px;
    align-items: flex-start;
  }
  .status-card .status-value {
    position: absolute;
    bottom: -7px;
    right: -10px;
    z-index: 100;
    border-radius: 6px;
    padding: 6px 30px;
    font-weight: 900;
  }
}

.vote-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.vote-card {
  margin: 10px;
  padding: 20px;
  position: relative;
  border: 1px solid #bd933f;
  width: 330px;
  height: 160px;
  border-radius: 7px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  box-shadow: 0 0.46875rem 2.1875rem rgba(4, 9, 20, 0.03), 0 0.9375rem 1.40625rem rgba(4, 9, 20, 0.03), 0 0.25rem 0.53125rem rgba(4, 9, 20, 0.05), 0 0.125rem 0.1875rem rgba(4, 9, 20, 0.03);
}
.vote-card .img {
  position: relative;
  width: 90px;
  height: 90px;
  background-size: cover;
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
  border-bottom-right-radius: 29px;
  border-bottom-left-radius: 29px;
}
.vote-card .img:before {
  width: 90px;
  height: 90px;
  content: " ";
  position: absolute; /* إضافة موضع مطلق لجعل الإطار يظهر داخل العنصر */
  top: 0; /* تحديد الموضع العلوي */
  left: 0; /* تحديد الموضع الأيسر */
  border: 2px solid #e9993e;
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
  border-bottom-right-radius: 29px;
  border-bottom-left-radius: 29px;
}
.vote-row .link i {
  color: #e9993e;
}
.vote-card .text p {
  font-size: 12px;
}
.vote-card .caption {
  color: #bd933f;
  font-weight: 600;
}
.vote-card .rate {
  background-color: #bd933f;
  position: absolute;
  top: 0;
  left: 12px;
  padding: 10px 20px;
  font-size: 18px;
  text-align: center;
  color: #fff;
  font-weight: 900;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
@media (max-width: 576px) {
  .vote-card {
    margin: 3px;
    padding: 10px 3px;
    position: relative;
    border: 1px solid #bd933f;
    width: 250px;
    height: 100px;
    border-radius: 7px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 12px;
    flex-direction: column;
  }
  .vote-card .img {
    position: relative;
    width: 50px;
    height: 60;
    background-size: cover;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
    border-bottom-right-radius: 29px;
    border-bottom-left-radius: 29px;
  }
  .vote-card .img:before {
    width: 50;
    height: 60;
    content: " ";
    position: absolute;
    top: -5;
    left: 0;
    border: 2px solid #e9993e;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
    border-bottom-right-radius: 29px;
    border-bottom-left-radius: 29px;
  }
  .vote-card .rate {
    background-color: #bd933f;
    position: absolute;
    top: 0;
    left: 12px;
    padding: 5px 12px;
    font-size: 12px;
    text-align: center;
    color: #fff;
    font-weight: 900;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
  }
}
