* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

#page-local-signup-index .signup-img {
  width: 100%;
  border-radius: 15px;
}

#page-local-signup-index .top-header {
  width: 100%;
  height: 20px;
  background-color: #080760;
  border-radius: 32px 32px 0px 0px;
  margin-top: 25px;
}

#page-local-signup-index .sec-container {
  padding: 36px;
}

#page-local-signup-index .header {
  margin-bottom: 35px;
}

#page-local-signup-index .sec-container form {
  padding: 0px 30px;
}

#page-local-signup-index .icon-icon .blackicon,
#page-local-signup-index .icon-icon .whiteicon {
  width: 55px;
  height: 55px;
}

#page-local-signup-index .sec-container .icons-list {
  min-width: 100%;
  padding: unset;
  margin-left: unset;
  flex-wrap: wrap;
}

#page-local-signup-index .en-name .col .col-form-label,
#page-local-signup-index .ar-name .col .col-form-label {
  display: none !important;
}

#page-local-signup-index .en-name .col .col-form-label .form-inline,
#page-local-signup-index .ar-name .col .col-form-label .form-inline {
  min-width: 100% !important;
  max-width: 100% !important;
}

#page-local-signup-index .custom-select {
  min-width: 100% !important;
  height: calc(1.0625em + 1.8125rem + 2px);
  padding: 0.90625rem 0.625rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

label {
  font-weight: 700 !important;
}

#page-local-signup-index #id_submitbutton,
#page-local-signup-index #id_cancel,
#page-local-signup-index .next,
#page-local-signup-index .back,
#page-local-signup-index .btn-submit {
  margin-left: 10px;
  border-color: #2b307e;
  color: #2b307e;
  background-color: #ffffff;
  border-width: 2px;
}

#page-local-signup-index .card {
  border-radius: 40px;
  margin-bottom: 30px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

#page-local-signup-index .card-header {
  background-color: #268df0 !important;
}

#page-local-signup-index .card-body {
  min-width: 100% !important;
}

#page-local-signup-index .btn-link {
  background-color: #268df0 !important;
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 300 !important;
}

#page-local-signup-index #dob fieldset .form-group .custom-select {
  min-width: 120px !important;
}

#page-local-signup-index #id_dob_label {
  font-weight: 700 !important;
}

#page-local-signup-index .btn-link:hover {
  border: unset !important;
}

#page-local-signup-index .mform .form-inline .form-control,
#page-local-signup-index .mform .form-inline .custom-select,
#page-local-signup-index .d-md-inline-block.mr-md-2.position-relative {
  min-width: 100% !important;
}

#page-local-signup-index .mform #collapseFive .form-group {
  margin-top: 30px !important;
}

#page-local-signup-index .icon-icon .icon {
  max-width: 55px !important;
  max-height: 55px !important;
  margin: unset !important;
  padding: unset !important;
}

#page-local-signup-index .icon-icon {
  margin: 0px 5px;
}

#page-local-signup-index .stepwizard p {
  padding: unset !important;
  margin: unset !important;
}

#page-local-signup-index .stepwizard {
  margin-bottom: 40px;
}

#page-local-signup-index .btns {
  margin: 0 auto;
}

#page-local-signup-index .btns .col-form-label.p-0 {
  display: none !important;
}

#page-local-signup-index .btns .form-inline.p-0 {
  min-width: 100% !important;
}

#page-local-signup-index .btns .form-inline.p-0 .inner-reverse {
  flex-direction: row-reverse !important;
  margin: 0 auto;
}

#page-local-signup-index .hidden {
  display: none;
}

#page-local-signup-index .pass-icon {
  border: 1px solid #ced4da;
  height: calc(1.0625em + 1.8125rem + 2px);
  padding: 0.90625rem 0rem;
  border-radius: 0px 4px 4px 0px;
  border-left: unset;
  position: relative;
}

#page-local-signup-index .en-name .form-group,
#page-local-signup-index .ar-name .form-group,
#page-local-signup-index #national_no .form-group,
#page-local-signup-index #passport .form-group,
#page-local-signup-index #phone .form-group,
#page-local-signup-index #other_phone .form-group,
#page-local-signup-index #major_en .form-group,
#page-local-signup-index #years .form-group,
#page-local-signup-index #gpa .form-group {
  margin-bottom: unset !important;
  min-width: 100%;
}

#page-local-signup-index .icon-icon p {
  text-align: center !important;
}

#page-local-signup-index .icon-icon .btn {
  padding: unset !important;
}

#page-local-signup-index .ar-name,
#page-local-signup-index .ar-name .form-control {
  text-align: right !important;
}

#page-local-signup-index .form-group {
  align-items: center !important;
}

.input-group > .form-control,
body:not(.edw-m402):not(.edw-m403)
  #page-course-edit
  #id_courseformathdrcontainer
  #fitem_id_format
  .input-group
  > .dropdown-toggle,
.input-group > .form-control-plaintext,
.input-group > .custom-select,
.input-group > .custom-file {
  flex: unset !important;
}

#page-local-signup-index.dir-rtl .en-name .row .col {
  text-align: start;
}

#page-local-signup-index .en-name .name-holder,
#page-local-signup-index .ar-name .name-holder {
  width: 180px;
  justify-content: space-around;
}

#page-local-signup-index .en-signform.ar {
  flex-direction: row-reverse !important;
}

.navbar-nav li.nav-item[title="الخريجين"],
.navbar-nav li.nav-item[title="معرض الصور"] {
  display: none !important;
}

@media screen and (max-width: 1200px) and (min-width: 900px) {
  #page-local-signup-index .en-name .row:last-child,
  #page-local-signup-index .ar-name .row:last-child {
    flex-direction: column;
    min-width: 100%;
  }

  #page-local-signup-index .en-name .row .col,
  #page-local-signup-index .ar-name .row .col {
    min-width: 100%;
    display: flex;
    padding: unset !important;
    margin-bottom: 25px;
  }

  #page-local-signup-index .en-name .row .col label,
  #page-local-signup-index .ar-name .row .col label {
    width: 33.5%;
  }

  #page-local-signup-index .ar-name .row .col {
    flex-direction: row-reverse;
  }
}

@media screen and (max-width: 899px) {
  #page-local-signup-index .row {
    flex-direction: column;
  }

  label {
    min-width: 100%;
  }

  #page-local-signup-index .en-name .row:last-child,
  #page-local-signup-index .ar-name .row:last-child {
    align-items: center;
  }

  #page-local-signup-index .en-name .row .col,
  #page-local-signup-index .ar-name .row .col {
    max-width: 75%;
    display: flex;
    flex-direction: column;
    padding: unset !important;
    margin-bottom: 25px;
  }

  #page-local-signup-index .en-name .name-holder,
  #page-local-signup-index .ar-name .name-holder {
    min-width: 100%;
    flex-direction: row;
    justify-content: start;
  }

  #page-local-signup-index .sec-container {
    padding: 36px 0px !important;
  }

  #page-local-signup-index .sec-container form {
    padding: unset !important;
  }

  #page-local-signup-index .en-signform.ar {
    flex-direction: column !important;
  }
}

@media screen and (max-width: 499px) {
  #page-local-signup-index .en-signform.ar {
    flex-direction: column !important;
  }

  #page-local-signup-index .container,
  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    padding: unset !important;
  }

  #page-local-signup-index .icon-icon p {
    display: none !important;
  }

  #page-local-signup-index .icon-icon .icon {
    width: 40px;
    height: 40px;
  }

  #page-local-signup-index .icon-icon .blackicon,
  #page-local-signup-index .icon-icon .whiteicon {
    width: 40px;
    height: 40px;
  }
}

#page-local-signup-index.dir-rtl #id_phone,
#page-local-signup-index.dir-rtl #id_other_phone,
#page-local-signup-index.dir-rtl .en-name .en-signform,
#page-local-signup-index.dir-rtl .ar-name .en-signform {
  direction: ltr;
}

/* .row.en-signform.ar {
    direction: rtl !important;
} */

select.form-control,
body:not(.edw-m402):not(.edw-m403)
  #page-course-edit
  #id_courseformathdrcontainer
  #fitem_id_format
  .dropdown-toggle {
  height: unset !important;
}
@media (max-width: 767px) {
  .desktop-hint {
    display: none;
  }
}

.three-column-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.three-column-row .form-group {
  flex: 1;
  min-width: 300px;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .three-column-row {
    flex-direction: column;
  }

  .three-column-row .form-group {
    min-width: 100%;
  }
}

.submit-section {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  border-top: 1px solid #ddd;
}

.submit-btn {
  background-color: #007bff;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #0056b3;
}
.section-title {
  margin: 20px 0 15px 0;
  color: #333;
  border-bottom: 2px solid #007bff;
  padding-bottom: 5px;
}

.required-icon {
  color: #d01111;
}

.submit-section {
  margin-top: 30px;
  text-align: center;
}

.submit-btn {
  padding: 12px 40px;
  font-size: 16px;
  font-weight: bold;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #0056b3;
}

/* --- Modern Step Progress Bar --- */
.signup-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
.signup-progress .step {
  width: 38px;
  height: 38px;
  background: #fff;
  border: 2px solid #268df0;
  color: #268df0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  transition: background 0.3s, color 0.3s;
  z-index: 1;
}
/* --- Progress Bar Completed Steps --- */
.signup-progress .step.completed {
  background: #268df0;
  color: #fff;
  border-color: #268df0;
  /* No opacity for completed steps */
}
.signup-progress .progress-line.completed {
  background: #268df0;
  /* No opacity for completed lines */
}
.signup-progress .step.active {
  background: #268df0;
  color: #fff;
  border-color: #268df0;
}
.signup-progress .progress-line {
  flex: 1;
  height: 4px;
  background: #e3eafc;
  margin: 0 8px;
  border-radius: 2px;
  position: relative;
  top: -2px;
}
.signup-progress .step.completed ~ .progress-line {
  background: linear-gradient(90deg, #268df0 0%, #42a5f5 100%);
}

/* --- Section Headers with Icons --- */
.section-header {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
  color: #268df0;
  margin-bottom: 18px;
  margin-top: 24px;
}
.section-header i {
  font-size: 1.3em;
  margin-right: 8px;
}

/* --- Card Layout & Spacing --- */
#page-local-signup-index .card {
  border-radius: 24px;
  margin-bottom: 30px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(38, 141, 240, 0.07);
}
#page-local-signup-index .card-header {
  background-color: #268df0 !important;
  color: #fff;
  border-radius: 24px 24px 0 0;
  font-size: 1.15em;
  font-weight: 600;
}

/* --- Input Fields --- */
.form-control,
.custom-select {
  border-radius: 8px !important;
  border: 1.5px solid #d0d7e6;
  font-size: 1.08em;
  padding: 0.8em 1em;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus,
.custom-select:focus {
  border-color: #268df0;
  box-shadow: 0 0 0 2px #e3eafc;
}

/* --- Buttons --- */
#page-local-signup-index #id_submitbutton,
#page-local-signup-index #id_cancel,
#page-local-signup-index .next,
#page-local-signup-index .back,
#page-local-signup-index .btn-submit,
.btn-outline,
.submit-btn {
  background: linear-gradient(90deg, #268df0 0%, #42a5f5 100%);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 32px;
  font-size: 1.1em;
  box-shadow: 0 2px 8px rgba(38, 141, 240, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
#page-local-signup-index #id_submitbutton:hover,
#page-local-signup-index #id_cancel:hover,
#page-local-signup-index .next:hover,
#page-local-signup-index .back:hover,
#page-local-signup-index .btn-submit:hover,
.btn-outline:hover,
.submit-btn:hover {
  background: linear-gradient(90deg, #1976d2 0%, #268df0 100%);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(38, 141, 240, 0.13);
}

/* Previous button: white background, #268df0 text and border */
.prev,
.btn-prev {
  background: #fff !important;
  color: #268df0 !important;
  border: 2px solid #268df0 !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.1em;
  box-shadow: 0 2px 8px rgba(38, 141, 240, 0.04);
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.prev:hover,
.btn-prev:hover {
  background: #f0f7ff !important;
  color: #1976d2 !important;
  border-color: #1976d2 !important;
}

/* --- Required Icon --- */
.required-icon {
  color: #d01111;
  font-size: 1.1em;
  margin-left: 2px;
}

/* --- Section Title --- */
.section-title {
  margin: 20px 0 15px 0;
  color: #268df0;
  border-bottom: 2px solid #268df0;
  padding-bottom: 5px;
  font-size: 1.25em;
  font-weight: 700;
}

/* --- Responsive Enhancements --- */
@media (max-width: 767px) {
  .signup-progress {
    flex-direction: column;
    gap: 8px;
  }
  .signup-progress .progress-line {
    width: 4px;
    height: 32px;
    margin: 8px 0;
  }
  .section-header {
    font-size: 1.05em;
  }
}

/* --- Extra White Space and Clean Look --- */
#page-local-signup-index .sec-container {
  padding: 36px 0 36px 0;
  background: #f8fbff;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(38, 141, 240, 0.04);
}

/* --- Toastr Notification Custom Color --- */
#toast-container > .toast-success {
  background-color: #268df0 !important;
}

/* --- Section Navigation Bar with Font Awesome --- */
.progressbar {
  margin: 40px 0 30px 0;
  background: #fff;
  border-radius: 18px;
  padding: 24px 0 10px 0;
  box-shadow: 0 2px 8px rgba(38, 141, 240, 0.04);
}
.icons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.icon-icon {
  align-items: center;
  justify-content: flex-end;
  min-width: 120px;
}
.section-icon .fa-circle {
  color: #e3eafc;
  transition: color 0.2s;
}
.section-icon .fa-inverse {
  color: #268df0;
  transition: color 0.2s;
}
.icon-icon.active .section-icon .fa-circle,
.icon-icon.active .section-icon .fa-inverse {
  color: #268df0 !important;
  background: #268df0;
}
.icon-icon.active .section-icon .fa-inverse {
  color: #fff !important;
}
.icon-icon p {
  margin-top: 10px;
  color: #1a237e;
  font-weight: 500;
  font-size: 1em;
  text-align: center;
}
.icon-icon.active p {
  color: #268df0;
}

/* --- Two Inputs Per Row Flex Layout --- */
.form-row-flex {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
}
.form-row-flex .flex-item {
  flex: 1;
  min-width: 0;
}

.icons-list .icon-icon.completed .fa-stack {
  background: #268df0;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #268df0;
  position: relative;
}
.icons-list .icon-icon.completed .fa-stack .fa-inverse {
  color: #fff !important;
}
.icons-list .icon-icon.completed .fa-stack:after {
  content: "\f00c"; /* Font Awesome checkmark */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #27ae60; /* Green color */
  position: absolute;
  right: -6px;
  bottom: -6px;
  font-size: 0.9em; /* Smaller size */
  background: #fff;
  border-radius: 50%;
  padding: 1px 3px;
  border: 2px solid #27ae60;
  z-index: 2;
}

.lambda.notloggedin .modal-backdrop {
  z-index: 2 !important;
}

.step-check {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0;
  min-width: 1.2em;
}
.step-check i {
  font-size: 1.2em;
  color: #27ae60;
}
.progressbar ul.icons-list li p {
  text-align: center;
  margin: 8px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.progressbar ul.icons-list li p small {
  display: inline;
  text-align: center;
}
.step-check {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0;
  min-width: 1.2em;
}
.progressbar ul.icons-list li {
  align-items: center;
}
.progressbar ul.icons-list li .fa-stack {
  margin-bottom: 8px;
}
.progressbar ul.icons-list li .step-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  margin-left: 20px;
}
.progressbar ul.icons-list li .step-label small {
  display: inline;
  text-align: center;
}

.select2-container--default .select2-selection--single {
  height: 38px !important;
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: #fff;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 1.5em 1em;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 24px !important;
  padding-left: 0;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 36px !important;
  right: 10px;
}

@media (max-width: 767px) {
  .form-row-flex {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 899px) {
  .form-group.row > .col-6,
  .form-row-flex > .form-group.flex-item {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100%;
    display: block;
  }
  .form-group.row {
    flex-direction: column;
  }
}
