@import url('https://fonts.googleapis.com/css2?family=Jost: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,500;1,600;1,700;1,800;1,900&amp;family=Oswald:wght@200;300;400;500;600;700&amp;family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&amp;display=swap');

  



/* variables */
:root
{
    --text-color: rgb(27, 27, 27);
    --field-color: rgb(255,255,255);
}
body
{
    font-family: "Jost";
    width: 100%;
    position: relative;
    height: auto;
}

/* Visual feedback when an item is being dragged */
.dragging {
  opacity: 0.5;
  z-index: 999; /* Ensure it stays above other elements */
  position: absolute;
  pointer-events: none; /* Prevent it from interfering with other interactions */
}


/* Ensure draggable items are easy to touch */
.list-group-item {
  touch-action: none; /* Prevents default behavior of touch interactions */
  user-select: none;  /* Disables text selection */
}

/* Style for touch targets */
.dropzone {
  min-height: 100px; /* Ensures larger drop zones for better usability */
}

.selected-answer {
  cursor: move; /* Indicate that the item is draggable */
}

/* Placeholder text when no answer is dragged */
.placeholder {
  font-style: italic;
  color: #aaa;
}


.penjodohan-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.columns {
  display: flex;
  justify-content: space-around;
  width: 80%;
}

.pernyataan-column, .jawaban-column {
  width: 45%;
}

.pernyataan, .jawaban {
  border: 1px solid #ccc;
  padding: 10px;
  margin: 5px 0;
  background: #f9f9f9;
  cursor: pointer;
}

.dragging {
  background: #e0f7fa;
}

.over {
  background: #ffe0b2;
}

.pairs {
  margin-top: 20px;
}


.status-berlangsung {
  background-color: rgba(255, 193, 7, 0.2); /* Soft yellow */
}

.status-belum-dimulai {
  background-color: rgba(108, 117, 125, 0.2); /* Soft grey */
}

.status-selesai {
  background-color: rgba(220, 53, 69, 0.2); /* Soft red */
}


.bg-success-subtle {
  background-color: rgba(40, 167, 69, 0.2) !important;
}

.radius-30 {
    border-radius: 30px;
}
.start-wrapper
{
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 70px 0;
}
.start
{
    text-align: center;
    flex: 1;
    display: grid;
    align-content: center;
    height: 100%;
}
.start .start-img
{
    width: auto;
}
.start-img img
{
    width: 200px;
}
.start-text
{
    width: 60%;
    margin: 0 auto;
    margin-top: 40px;
    position: relative;
}
.start-text::before
{
    content: "";
    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;

}
.start-text h2
{
    font-size: 40px;
    color: var(--text-color);
    font-weight: bold;
}
.start-text p
{
    font-size: 20px;
    color: var(--text-color);

    margin-top: 20px;
}
.start-btn
{
    border-radius: 50px;
    background-color: var(--primary-color);
    padding: 0 50px;
    height: 70px;
    border: solid 2px transparent;
    font-size: 18px;
    color: rgb(255, 255, 255);
    font-weight: 500;
    margin: 0 auto;
    margin-top: 50px;
    width: max-content;

}

@import url('https://fonts.googleapis.com/css2?family=Jost: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&amp;display=swap');

/* variables */
:root
{
    --field-text-color: rgb(30,30,30);
    --text-color: rgb(27, 27, 27);
    --field-color: linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
}
body-ujian
{
    font-family: "Jost";
    width: 100%;
    position: fixed;
    height: auto;
}
main-ujian
{
    width: 100%;
    background-color: rgb(241, 245, 252);
    display: grid;
    min-height: 100vh;

}

.bg-partical-2
{
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    z-index: 0;
    height: 100%;
}
.bg-partical-2 img
{
    height: 100%;
}
.side
{
    background-color: rgb(255,255,255);
    height: 100%;
}
.side-inner
{
    padding: 0 50px;
    display: grid;
    align-content: center;
    height: 100%;

}
.side-inner img
{
    width: 100%;
}

.wrapper-ujian
{
    padding-top: 50px;
    padding-bottom: 100px;
    padding-right: 50px;
    width: 90%;
    margin-left: auto;
    position: relative;
    z-index: 100;
    height: 100%;
}

.contact-ujian
{
    display: flex;
    justify-content: end;
    align-items: center;
    margin-left: auto;
}
.contact-ujian i
{
    transform: rotate(270deg);
    width: 35px;
    height: 35px;
    line-height: 35px;
    color: rgb(255,255,255);
    text-align: center;
    font-size: 15px;
    background-color: rgb(26, 25, 25);
    border-radius: 6px;
    margin-right: 20px;
}
article-ujian
{
    font-size: 15px;

    line-height: 1;
}
article-ujian h5
{
    font-weight: bold;
}
  
.steps-ujian
{
    width: 70%;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.step-count-ujian
{
    font-size: 15px;
    color: var(--text-color);
    font-weight: bold;
 
}
  


.main-heading-ujian
{

    color: rgb(27, 27, 27);
    line-height: 1.4;
    margin: 18px 0;
    width: 100%;
    font-size: 1.2vw;
   
}
.line-break-ujian
{
    width: 100%;
    height: 1px;
    line-height: 0;
    background-color: rgb(214, 216, 219);
      
}
.form-ujian
{
    position: relative;
    margin-top: 60px;
    flex: 1;
}
.form-radio-ujian
{
    width: 100%;
    font-size: 24px;
    font-family: "Jost";
    color: rgb(47, 49, 70);
    margin: 7px 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: 0.5s ease;
    cursor: pointer;
    opacity: 0;
      
}
.active-field-ujian label
{
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.form-radio-ujian input
{

    -webkit-appearance: none;
    border: solid 2px  rgb(47, 49, 70);
    border-radius: 50%;
    min-width: 30px;
    height: 30px;    
    margin-right: 15px;
    background-color: rgb(255, 255, 255);
    transition: 0.5s ease;
    position: relative;
    cursor: pointer;
    
}
.form-radio-ujian input:checked
{
    background: linear-gradient(#fff 0 0) padding-box, 
    linear-gradient(360deg,rgb(103,23,205) 0%, rgb(40,113,250) 100%) border-box !important;
    border: 2px solid transparent !important;
    position: relative;
    transition: 0.5s ease;

}
.form-radio-ujian input:checked::after
{  
    content: "\f00c";
    position: absolute;
    height: 100%;
    width: 100%;
    text-align: center;
    background-color: rgb(255, 255, 255);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 15px;
    line-height: 30px;
    background-image: linear-gradient( 45deg, rgb(103,23,205) 0%, rgb(40,113,250) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.5s ease;

}
.sub-heading-ujian    
{
    font-size: 16px;
    color: var(--text-color);
    font-weight: bold;
  }
  
.active-field-ujian
{
    background-image: linear-gradient( 45deg, rgb(103,23,205) 0%, rgb(40,113,250) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.5s ease;
}
  
/* Menambahkan border hijau dan centang pada elemen yang dipilih */
.selected {
    position: relative;
  }

.bg-jawaban {
    background-color: rgba(40, 167, 69, 0.2)!important;
}  
  .selected::after {
    content: '\2713'; /* Centang ✓ */
    color: green;
    font-size: 50px;
    position: absolute;
    right: 10px;
  }
  
.next-prev-button-ujian
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;

    margin-bottom: 50px;
}
.next-prev-button-ujian button
{
    width: 45%;
    border: 0;
    border-radius: 50px;
    height: 60px;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}
.next-prev-button-ujian button::before
{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background-image: linear-gradient(90deg, transparent, #fff, transparent);
    transition: 2.5s ease;
}
.next-prev-button-ujian button:hover::before
{
    left: 100%;
}

.line-drag {
  border-top: 2px dashed #00bfff; /* Garis putus-putus biru */
  width: 100%;
  margin: 10px 0;
}

.penjodohan-container {
  margin: 20px 0;
}

.penjodohan-item {
  margin-bottom: 20px;
}

.select-wrapper {
  margin-top: 10px;
}

.next-prev-button-ujian .prev-ujian
{

    color: rgb(60, 60, 60);
    background-color: rgb(255,255,255);
}
.next-prev-button-ujian .next-ujian, .apply-ujian
{
    background-image: -moz-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    background-image: -webkit-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    background-image: -ms-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    color: rgb(255, 255, 255);
      
}

.form-text-ujian
{

    background-color: rgb(255, 255, 255);

    width: 100%;
    border-radius: 50px;
    padding: 0 40px;
    margin-top: 10px;
}
.form-text-ujian .text-field-icon-ujian i
{
    font-size: 18px;
    background-image: -moz-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 80%);
    background-image: -webkit-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 80%);
    background-image: -ms-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 75px;
    margin-right: 20px;
    transition: 0.5s linear;

}
.focused-ujian
{
    position: relative;
}
.focused-ujian::before
{
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgb(40,113,250);
    left: -5px;
    line-height: 0;
    top: 42%;
}
.form-text-ujian .text-field-input-ujian
{
    width: 100%;
}
.form-text-ujian .text-field-input-ujian input
{
    height: 100%;
    width: 100%;
    background-color: transparent;
    border: 0;
    font-size: 18px;
    color: rgb(60, 60, 60); 
}
.form-text-ujian .text-field-input-ujian input:focus
{
    outline: none;
}

.form-text-ujian .text-field-input-ujian span {
    display: inline-block;
    height: 100%;
    width: 100%;
    background-color: transparent;
    border: 0;
    font-size: 18px;
    color: rgb(60, 60, 60); 
    line-height: 75px;
}

.form-text-ujian .text-field-input-ujian span:focus {
    outline: none;
}

.rating-ujian
{
    margin-bottom: 50px;

}
.step-inner-ujian h3
{
    font-size: 23px;
    color: rgb(27, 27, 27);
    font-weight: bold;
}
.rating-ujian p
{
        font-size: 18px;
        color: rgb(134, 134, 134);
}
.star-rating-ujian
{
    background-color: rgb(255, 255, 255);
    width: 194px;
    height: 68px;
    border-radius: 50px;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.star-rating-ujian
{
    cursor: pointer;
}
.star-rating-ujian .fa-star
{

    font-size: 22px;
    margin: 0 3px;
}
.star-rating-ujian .fa-regular
{
    color: rgb(208, 208, 208);
}
.star-rating-ujian .fa-solid
{
    color: rgb(253, 174, 14);
}
.score-ujian
{
    width: 90%;
}
.score-inner-ujian
{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 20px 0;

}
.score-ujian p
{
    display: flex;
    justify-content: space-between;
}
.score-ujian p span
{
    font-size: 15px;
    color: rgb(134, 134, 134);   
}
.score-point-ujian
{
    background-color: rgb(255, 255, 255);
    width: 45px;
    height: 45px;
    border-radius: 50%;    
    font-size: 15px;
    color: rgb(27, 27, 27);
    font-weight: bold; 
    text-align: center;
    line-height: 45px;
    cursor: pointer;
}
.score-point-ujian.active
{
    background-image: -moz-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    background-image: -webkit-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    background-image: -ms-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    color: rgb(255, 255, 255);

}
.select-ujian
{
    background-color: rgb(255, 255, 255);
    width: 300px;
    height: 70px;
    position: relative;
    display: inline-block;
    border-radius: 50px;
    margin-top: 25px;
}
.select-ujian .select-inner-ujian
{
    width: 100%;
    line-height: 70px;
    border: 0;
    padding: 0 20px;
    list-style: none;
    border-radius: 50px;
    cursor: pointer;
    padding: 0;

}
.select-ujian .select-inner-ujian:focus
{
    outline: none;
}
.select-ujian ul
{
    overflow: hidden;
    position: absolute;
    left: 0;
    list-style: none;
    cursor: pointer;
    display: none;
    overflow-y: auto;
    width: 100%;
    margin-top: 10px;
    line-height: 50px;
    min-height: 50px;
    background-color: inherit;
    border: 0;
}
.select-ujian:focus-visible
{
    outline: none;
}
.select-ujian .select-inner-ujian .select-icon-ujian
{
    position: absolute;
    left: calc(100% - 32px);
    line-height: 70px;

}
.select-ujian .select-inner-ujian i, .select-ujian .select-menu-ujian i
{
    background-image: -moz-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 60%);
    background-image: -webkit-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 60%);
    background-image: -ms-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 15px;
    margin-right: 15px;
}
.select-ujian .select-inner-ujian span, .select-ujian .select-menu-ujian
{
    font-size: 18px;
    color: rgb(27, 27, 27);
    padding: 0 20px;
}
.textarea-ujian
{
    border-radius: 20px;
    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 140px;
    margin-top: 25px;
    border: none;
    -webkit-appearance: none;
    padding: 20px;
    resize: none;
  }
  .textarea-ujian:focus
  {
    outline: none;
  }

  .next-prev-button-ujian .submit-ujian
{
    background-image: -moz-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    background-image: -webkit-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    background-image: -ms-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    color: rgb(255, 255, 255);
      
}
  .submit-ujian i
  {
    font-size: 24px;
  }
  .next-prev-button-ujian .submit-ujian::before
  {
    position: relative;
  }
 
.invalid
{
  border: solid 2px #ff4444 !important;
  position: relative;
}




#error
{
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 20;
}


#sub img
{
    width: 60px;
}