@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
  text-decoration: none;
  list-style: none;
}
html{
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 12px; /* عرض شريط التمرير */
}

/* تغيير لون المسار الخلفي */
::-webkit-scrollbar-track {
  background: #42454D; /* لون المسار */
}

/* تغيير لون المقبض */
::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg , #2fc0ff , #1381f7 ,#0061C8 );
  border-radius: 2px; /* لجعل الحواف مستديرة */
  border: 1px solid #808080; /* لإضافة مساحة حول المقبض */
}


:root{
    --white: #fff;
    --main: #7632CC;
    --bg:#240B48;
    --border: #3E3A40;
}
body {
    background: linear-gradient(155deg ,#26272c ,#1a1b1e,#101012);    
    color: #fff;
    height: 100vh;
    direction: rtl;
}
.pc_div{
    max-width: 500px;
    margin: 0 auto;
    height: 100%;
    overflow-y: auto;
}

.error{
    color: red;
    font-size: 16px;
    width: 100%;
    text-align: center;
    display: none;
    margin-top: 5px;
    padding-right: 10px;
    position: absolute;
    bottom: 8px;
    right: 0;
    scale: 0.8;
}
.btn{
    width: 100%;
    padding: 9px 0;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(45deg , #0061C8 , #5AEDFF);
    color: #fff;
    border-radius: 5px;
    border: none;
    outline: none;
    box-shadow: 5px 5px 10px #2f3137;
}

.mb-20{
  margin-bottom: 25px;
}

img{
    width: 100%;
}


.header{
    text-align: center;
    margin-bottom: 30px;
}
.header h1{
  font-size: 45px;
  margin-bottom: 30px;
  margin-top: 20px;
}
.header img{
    width: 300px;
    position: relative;
}




form{
    width: 90%;
    margin: 0 auto;
    padding-bottom: 50px;
}

.div_inp{
    padding-bottom: 40px;
    position: relative;
}
.div_inp.m1 span{
    color: #24ee28;
}
.div_inp.m2 span{
    color: #ee5a24;
}
form label{
    font-size: 16px;
    font-weight: bold;
    padding: 0 10px;
}
form label i{
    font-size: 18px;
    margin-left: 5px;
    background: linear-gradient(45deg , #0061C8 , #5AEDFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.input{
    width: 100%;
    color: #e4e4e4;
    background: #42454D;
    border-radius: 5px;
    padding: 14px 10px;
    border: 1px solid #555555;
    font-family: sans-serif;
    text-align: right;
    outline: none;
    margin-top: 5px;
    transition: 0.3s;
    font-size: 16px !important;
}
.input:focus{
    border-color: #45a9ca;
}

.input.ac_error{
    border-color: red;
}

/* input Date */
#date::-webkit-calendar-picker-indicator {
    opacity: 0;
}
.date_div {
    position: relative;

    width: 100% !important;
}

.date_div label{
    width: 100%;
    display: block;
}
.date_div input{
    padding: 14px 10px !important;
    height: 45px;
    width: 100% !important;
    min-width: 95% !important;
    display: block;
    display: flex;
    justify-content: right;
    align-items: center;
}
select{
    padding: 14px 10px !important;
    height: 47px;
}


.show_div {
    padding: 0px 0 20px;
    text-align: right;
    margin-bottom: 20px;
}
  
  .show_div label {
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #1f87f6;
    padding: 2px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    width: max-content;
  }
  .show_div label i {
    color: #45a9ca;
    font-size: 18px;
    margin-right: 8px;
  }

  .inputContainer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
  }
  
  .inputContainer.show {
    max-height: 1950px; /* الارتفاع الكافي لاحتواء المدخلات */
    opacity: 1;
  }

  .inputContainer .show_div{
    padding-top: 30px;
  }


  /* الحالة الافتراضية: العنصر مخفي */
.show_sec_for_all {

  overflow: hidden;
  transition: max-height 0.5s ease-out;
  max-height: 6000px; /
}

/* عند إضافة الكلاس 'active' سيتم عرض العنصر مع حركة سلسة */
.show_sec_for_all.show2 {
  max-height: 0;  
}











  #eror {
    color: red;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    text-align: center;
  }















/* btn submite */


.disable {
    pointer-events: none;
  }
  
  .dot-spinner {
    margin: 0 auto;
    --uib-size: 2.5rem;
    --uib-speed: 0.9s;
    --uib-color: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: var(--uib-size);
    width: var(--uib-size);
  }
  
  .dot-spinner__dot {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
  }
  
  .dot-spinner__dot::before {
    content: "";
    height: 20%;
    width: 20%;
    border-radius: 50%;
    background-color: var(--uib-color);
    transform: scale(0);
    opacity: 0.5;
    animation: pulse0112 calc(var(--uib-speed) * 1.111) ease-in-out infinite;
    box-shadow: 0 0 20px rgba(18, 31, 53, 0.3);
  }
  
  .dot-spinner__dot:nth-child(2) {
    transform: rotate(45deg);
  }
  
  .dot-spinner__dot:nth-child(2)::before {
    animation-delay: calc(var(--uib-speed) * -0.875);
  }
  
  .dot-spinner__dot:nth-child(3) {
    transform: rotate(90deg);
  }
  
  .dot-spinner__dot:nth-child(3)::before {
    animation-delay: calc(var(--uib-speed) * -0.75);
  }
  
  .dot-spinner__dot:nth-child(4) {
    transform: rotate(135deg);
  }
  
  .dot-spinner__dot:nth-child(4)::before {
    animation-delay: calc(var(--uib-speed) * -0.625);
  }
  
  .dot-spinner__dot:nth-child(5) {
    transform: rotate(180deg);
  }
  
  .dot-spinner__dot:nth-child(5)::before {
    animation-delay: calc(var(--uib-speed) * -0.5);
  }
  
  .dot-spinner__dot:nth-child(6) {
    transform: rotate(225deg);
  }
  
  .dot-spinner__dot:nth-child(6)::before {
    animation-delay: calc(var(--uib-speed) * -0.375);
  }
  
  .dot-spinner__dot:nth-child(7) {
    transform: rotate(270deg);
  }
  
  .dot-spinner__dot:nth-child(7)::before {
    animation-delay: calc(var(--uib-speed) * -0.25);
  }
  
  .dot-spinner__dot:nth-child(8) {
    transform: rotate(315deg);
  }
  
  .dot-spinner__dot:nth-child(8)::before {
    animation-delay: calc(var(--uib-speed) * -0.125);
  }
  
  @keyframes pulse0112 {
    0%,
    100% {
      transform: scale(0);
      opacity: 0.5;
    }
  
    50% {
      transform: scale(1);
      opacity: 1;
    }
  }




  /* Thanks Page */ 

.thanks{
    width: 90%;
    margin: 0 auto;
    padding-top: 30px;
    text-align: center;
    max-width: 500px;
}

.thanks img{
    width: 100px;
    margin-bottom: 25px;
}

.thanks h3{
    font-size: 18px;
    margin-bottom: 40px;
}
.thanks .logo222{
    width: 60%;
    margin: 10px 0 30px;
    max-width: 300px;
}
.thanks a{
    padding: 14px 20px;
    font-size: 16px;
}



@media (min-width:900px) {
    .top_image{
        margin-top: -25vw;
    }
    .header img{
        width: 200px;
    }
}