/*------------------------------------*\
 * #IMPORTS
 * Import external stylesheets here.
\*------------------------------------*/
@import url(/css/all.css);

/* Global Stylings */

body {
  background-color: var(--light_grey);
}

label {
  display: block;
  margin-bottom: 0.5rem;
}

input,
select {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border-bottom: 1px solid black;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  /* background-color: var(--light_grey); */
}
input:focus,
select:focus,
a:focus {
  outline: none !important;
  box-shadow: none !important;
}

.width-50 {
  width: 20%;
}

.ml-auto {
  margin-left: auto;
}

.text-center {
  text-align: center;
}

/* Form */
.form {
  width: 90%;
  margin: 0px auto;
  border-radius: 0.35rem;
  padding: 1.5rem;
}
.form-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.registration-header {
  background-color: var(--bg);
  padding: 10px 0;
  color: white;
  width: 90%;
  margin: 0 auto;
}

.form-step {
  display: none;
  transform-origin: top;
  animation: animate 0.5s;
}

.form-step-active {
  display: block;
}

.input-group {
  margin: 2rem 0;
}
.btn-next.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

@keyframes animate {
  from {
    transform: scale(1, 0);
    opacity: 0;
  }
  to {
    transform: scale(1, 1);
    opacity: 1;
  }
}

/* Button */
.btns-group {
  display: flex;
  justify-content: space-between;
}

.btn2 {
  margin-left: auto;
}
.btn2:hover {
  color: white;
  outline: none;
  text-decoration: none;
}

.message-container {
  background-color: #f8d7da;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  display: none;
}

.message-container .message {
  font-size: 16px;
}

.country-error-banner {
  background-color: #ffe0e0;
  border: 1px solid #ff7b7b;
  color: #8a1f1f;
  padding: 20px;
  margin: 20px auto;
  border-radius: 8px;
  max-width: 600px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.banner-content h4 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #b30000;
}

.banner-content p {
  margin: 0;
  font-size: 1rem;
}

.banner-content strong {
  color: #b30000;
}

/* New and modified styles for checkbox and agreement */
.checkbox-agreement-group {
  display: flex; /* Use flexbox to align the items horizontally */
  align-items: flex-start; /* Align items to the start of the cross axis (top) */
  gap: 10px; /* Add some space between the checkbox and the text */
  margin: 2rem 0; /* Add margin for spacing similar to input-group */
}

.checkbox-agreement-group input[type="checkbox"] {
  width: auto; /* Allow the checkbox to take its natural width */
  margin-top: 4px; /* Adjust as needed to visually align with text */
  /* Remove any conflicting padding or width from previous styles */
  padding: 0;
  display: block; /* Ensure it behaves as a block element within flex */
}

.checkbox-agreement-group .agreement-text {
  display: block; /* Ensure the label spans multiple lines if needed */
  margin-bottom: 0; /* Remove default label margin */
  /* Adjust font size or line height if needed for better readability */
  font-size: 0.95rem;
  line-height: 1.4;
}

.custom-checkbox {
  display: flex;
  width: 100%;
  padding: 0 !important;
}
.side-bars.form-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
@media (max-width: 576px) {
  .side-bars.form-title {
    font-size: clamp(0.9rem, 2vw, 0.5rem);
  }
}