/* WPForms fixes */
/* Initial field looks */
.wpforms-container input[type=date],
.wpforms-container input[type=datetime],
.wpforms-container input[type=datetime-local],
.wpforms-container input[type=email],
.wpforms-container input[type=month],
.wpforms-container input[type=number],
.wpforms-container input[type=password],
.wpforms-container input[type=range],
.wpforms-container input[type=search],
.wpforms-container input[type=tel],
.wpforms-container input[type=text],
.wpforms-container input[type=time],
.wpforms-container input[type=url],
.wpforms-container input[type=week],
.wpforms-container select,
.wpforms-container textarea {
    background: #fff;
    border-width: 0 0 1px 0;
    color: var(--ast-global-color-2);
    opacity: 0.5;
}
/* On focus */
.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
    outline: none;
    opacity: 1;
    border-color: var(--ast-global-color-0);
}
/* Don\'t allow resizing the Message box */
.wpforms-container textarea {
    resize: none;
}
/* Message box fixed height */
.wpforms-container .wpforms-field-textarea textarea.wpforms-field-medium {
    height: 136px;
}
/* Button size & font size */
.wpforms-container button {
    padding: 15px 34px;
    font-size: 15px;
}
/* WPForms done */
/* Footer 2 big columns on sides and 1 small one in the middle */
.ast-builder-grid-row-3-equal .ast-builder-grid-row {
    grid-template-columns: 3fr 1fr 3fr;
}

/** Start Block Kit CSS: 105-3-0fb64e69c49a8e10692d28840c54ef95 **/

.envato-kit-102-phone-overlay {
	position: absolute !important;
	display: block !important;
	top: 0%;
	left: 0%;
	right: 0%;
	margin: auto;
	z-index: 1;
}

/** End Block Kit CSS: 105-3-0fb64e69c49a8e10692d28840c54ef95 **/



/** Start Block Kit CSS: 71-3-d415519effd9e11f35d2438c58ea7ebf **/

.envato-block__preview{overflow: visible;}

/** End Block Kit CSS: 71-3-d415519effd9e11f35d2438c58ea7ebf **/

/* Move Weglot language switcher to the left side */
.country-selector {
  position: fixed !important;
  left: 60px !important;
  right: auto !important;
  bottom: 20px !important;
  z-index: 9999 !important;
}

/* Make selected (active) language text black */
.country-selector .wgcurrent span {
  color: #000 !important;
}

/* Force dropdown to open upwards */
.country-selector ul {
  bottom: 100% !important;   /* Position above the button */
  top: auto !important;      /* Disable default top positioning */
  margin-bottom: 5px !important; /* Small gap between button and dropdown */
}

/* Optional: Add drop-up animation effect */
.country-selector ul {
  transform-origin: bottom center;
  animation: dropUp 0.2s ease-out;
}

@keyframes dropUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main quiz container */
.h5p-quiz-wrapper {
    max-width: 900px !important;
    margin: 50px auto !important;
    padding: 40px !important;
    background: #0b0f1a !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 30px rgba(55,179,239,0.3) !important;
    box-sizing: border-box !important;
}

/* Make H5P content fill container */
.h5p-quiz-wrapper .h5p-content {
    width: 100% !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    line-height: 1.6 !important;
}

/* Draggable words */
.h5p-quiz-wrapper .h5p-draggable-word {
    background: #37b3ef !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin: 4px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    transition: all 0.2s ease-in-out !important;
}
.h5p-quiz-wrapper .h5p-draggable-word:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(55,179,239,0.5) !important;
}

/* Drop zones for blanks */
.h5p-quiz-wrapper .h5p-drag-text span.h5p-dropzone {
    background: rgba(55,179,239,0.2) !important;
    border: 2px dashed #37b3ef !important;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    min-width: 100px !important;
    display: inline-block !important;
    margin: 0 3px !important;
}

/* Check button */
.h5p-quiz-wrapper .h5p-check-answer {
    background-color: #37b3ef !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: 0.3s !important;
}
.h5p-quiz-wrapper .h5p-check-answer:hover {
    background-color: #2a88c4 !important;
}




