/* Global styles */
body {
  font-family: 'Orbitron', 'Poppins', sans-serif;
  background: #000;
  color: #fff;
}

/* Wrapper */
#register_form_block {
  max-width: 600px;
  margin: 200px auto;
  padding: 2rem;
  background: #111;
  border-radius: 1rem;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}

/* Heading */
#register_form_block .page_heading {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* Form content layout */
.form_content_inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.from_blcok{
    border: 1px solid #000;
}

/* Form groups */
.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #ddd;
}

/* Input fields */
input[type="text"],
input[type="email"],
input[type="password"],
.form-control {
  width: 100% !important;
  box-sizing: border-box;
  background: #1e1e1e;
  color: #fff;
  border: 1px solid #333;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  max-width: none !important;
}

.form-group-small .form-control, .form-group-small .input-group{max-width: none !important;}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
.form-control:focus {
  outline: none;
  background: #2a2a2a;
  border-color: #555;
}


/* Input group */
.input-group.js-parent-focus.input-group-with-border {
  display: flex;
  width: 100%;
}

.input-group .form-control.js-child-focus.js-visible-password {
  flex: 1;
  width: 100%;
  padding: 10px 12px;
  background-color: #1b1b1b;
  color: #fff;
  border: 1px solid #333;
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-family: 'Orbitron', 'Poppins', sans-serif;
}

.input-group .input-group-btn {
  display: flex;
  margin-left: 0;
}

.input-group-with-border{border: none; background: none;}


/* Make the button match the input height */
.input-group .btn.show_password {
  height: auto;
  padding: 5.5px 16px;
  background-color: #1b1b1b !important;
  border: 1px solid #333;
  border-left: none;
  border-radius: 0 6px 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-sizing: border-box;
  line-height: 1;
}
/* On hover, darken slightly */
.input-group .btn.show_password:hover {
  background-color: #2b2b2b !important;
}

/* Style the eye icon */
.input-group .btn.show_password i {
  color: #fff !important;
}
.fto-eye-off:before{
    font-size: 20px;
}
.fto-eye:before{
    font-size: 20px;
}

/* Radio group */
.form-control-valign {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.5rem;
  width: 100%;
}

.radio-inline {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #ccc;
  gap: 0.25rem;
  white-space: nowrap;
}

.custom-radio input[type="radio"] {
  appearance: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid #555;
  border-radius: 50%;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.custom-radio input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

/* Password input group */
.input-group {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.input-group .form-control {
  flex: 1;
}

.input-group-btn button {
  background: none;
  border: none;
  color: #000;
  padding: 0 0.75rem;
  cursor: pointer;
}

.input-group-btn button svg,
.input-group-btn button i {
  color: #000;
  font-size: 1.1rem;
}

/* Checkboxes */
.checkbox-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.4;
}

.checkbox-inline input[type="checkbox"] {
  accent-color: #fff;
  width: 1rem;
  height: 1rem;
}

.form-group.form-group-small.st_form_item_psgdpr{font-family: "Poppins";}
.form-group.form-group-small.st_form_item_newsletter{font-family: "Poppins";}

/* Error block */
.help-block.alert {
  background: #2a2a2a;
  color: #fff;
  padding: 0.75rem 1rem;
  border: 1px solid #f00;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Submit button */
.form-footer button {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  border: none;
  background: #fff;
  color: #000;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  font-family: "Orbitron";
}

.form-footer button:hover {
  background: #fff !important;
  color: #000;
}

/* Login link */
.form_content_inner p {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  font-family: "Poppins";
}

.form_content_inner a {
  color: #fff;
  text-decoration: underline;
}

/* Media Queries */

/* For devices between 768px and 991px */
@media (min-width: 768px) and (max-width: 991px) {
  #register_form_block {
    padding: 1.5rem;
  }

  #register_form_block .page_heading {
    font-size: 1.75rem;
  }


  .form-group label {
    font-size: 0.9rem;
  }

  .form-control {
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
  }

  .form-footer button {
    font-size: 0.95rem;
    padding: 0.8rem;
  }

  .form_content_inner p {
    font-size: 0.85rem;
  }
}

/* For devices smaller than 768px */
@media (max-width: 768px) {
  #register_form_block {
    max-width: 90vw;
    margin: 100px auto;
    padding: 1.25rem;
  }

  #register_form_block .page_heading {
    font-size: 1.5rem;
  }
  .form-control-valign {gap: 0}

  .form-group label {
    font-size: 0.8rem;
  }

  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  .form-footer button {
    font-size: 0.9rem;
    padding: 0.75rem;
  }

  .form_content_inner p {
    font-size: 0.8rem;
  }
}