/* Modal overlay for background shadow */
.confirmOverlay_n {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(31, 41, 55, 0.45); /* Tailwind's gray-800 at 45% opacity */
}

.searchButton {
  padding: 0.2rem 1rem !important;
  color: #1565c0 !important;
  background: #fff !important;
  border: 1px solid #1565c0 !important;
  font-size: 12px !important;
}
.searchButton:hover {
  color: #fff !important;
  background: #1565c0 !important;
  border: 1px solid #fff !important;
}

select,
select.form-control {
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  border-radius: 0.5rem !important;
  border: 1px solid #d1d5db !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  background-color: #f9fafb !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23D9705B' d='M8 11L3 6h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px 16px !important;
  color: #111827 !important;
  display: block;
  font-size: 0.875rem !important;
  height: 42px !important;
  margin-bottom: 0.3rem;
  line-height: 1.5 !important;
  padding: 12px !important;
  transition: all 0.15s ease !important;
  width: 100%;
}

input[type="text"],
input[type="password"],
textarea,
input[type="file"],
input[type="email"],
input[type="date"],
input[type="url"],
input[type="tel"] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  background: #f9fafb;
  color: #111827;
  display: block;
  font-size: 0.875rem;
  height: 42px;
  margin-bottom: 0.3rem;
  line-height: 1.5;
  padding: 12px 14px;
  transition: all 0.15s ease;
  width: 100%;
}

textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
}

input[type="text"]:hover,
input[type="password"]:hover,
input[type="email"]:hover,
input[type="date"]:hover,
input[type="file"]:hover,
input[type="url"]:hover,
input[type="tel"]:hover,
textarea:hover,
select:hover,
.form-control:hover {
  border-color: #d9705b;
  background: #ffffff;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="file"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus,
.form-control:focus {
  outline: none;
  border-color: #d9705b;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(217, 112, 91, 0.5);
}

label {
  display: block;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.375rem;
  vertical-align: top;
}

.form-group {
  margin-bottom: 1.5rem;
}

input[type="date"].form-control,
input[type="datetime-local"].form-control,
input[type="month"].form-control,
input[type="time"].form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none;
}

/*input[type="submit"] {
    color: #fff ;
    padding: 6px 21px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    background: #3D7FBD;
    position: relative;
    box-shadow: none;
    display: inline-block;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    border-radius: 4px;
    border: double #3D7FBD;
}

input[type="submit"]:hover {
    border: double #FFF;
}*/

input[type="submit"],
.btn.form-sub-btn {
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: #d9705b;
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: capitalize;
  cursor: pointer;
  text-decoration: none;
  margin: 0.5em;
}

input[type="submit"]:hover,
.btn.form-sub-btn:hover {
  background: #c5624e;
  color: #ffffff;
}

input[type="submit"]:focus,
.btn.form-sub-btn:focus {
  outline: none;
}

input[type="submit"]:disabled,
.btn.form-sub-btn:disabled,
.btn.form-sub-btn[disable] {
  background: #9ca3af;
  color: #d1d5db;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  transform: none;
}

.centerForm {
  width: 50%;
  margin: auto;
}

.btnFormLink {
  color: #fff !important;
  padding: 6px 21px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  background: #3d7fbd;
  position: relative;
  box-shadow: none;
  display: inline-block;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  border-radius: 4px;
  border: double #3d7fbd;
  margin: 0.5em;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.btnFormLink:hover {
  border: double #fff;
}

.required {
  color: red;
}

.tTipF img {
  margin-bottom: 4px;
}

.twoColCheckbox {
  font-size: 11px;
  float: left;
  margin-left: 20px;
  line-height: 16px;
}

input[type="checkbox"] {
  display: block;
}

.small_optional_blue {
  color: #262626;
  font-size: 12px;
}
.small_optional_blue ul {
  padding-left: 1rem;
}
.small_optional_blue ul li {
  list-style: disclosure-closed;
  margin: 0.3rem auto;
}

.help-block {
  color: #dc2626;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
}

.invalid {
  color: #dc2626;
  font-size: 0.75rem;
  display: flex;
  margin-top: 0.25rem;
}

.redE {
  padding: 0px 3px;
  width: 1.2rem;
}

.blue {
  color: #008d4c !important;
  padding: 0px 3px;
  width: 1.2rem;
}

.error {
  color: #dc2626;
  font-size: 0.75rem;
  display: block;
  margin-top: 0.25rem;
  font-weight: 500;
}

.form-horizontal {
  margin: 2em auto;
}

.register-form-left {
  border-left: 1px solid #d2cfcf;
  border-bottom: 1px solid #d2cfcf;
  border-top: 1px solid #d2cfcf;
  padding: 2em;
  margin: auto;
  background: #ffffff;
  border-right: 1px solid #d2cfcf;
}

.form-row {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

.register-form-row {
  justify-content: space-around;
}

.form-left {
  border-left: 1px solid #d2cfcf;
  border-bottom: 1px solid #d2cfcf;
  border-top: 1px solid #d2cfcf;
  padding: 4em;
  margin: auto;
  background: #ffffff;
  border-right: 1px solid #d2cfcf;
}

.note-content {
  padding: 1em;
  background: #fff;
  box-shadow: 1px 2px 5px #e6e1e1;
  border: 3px solid #c6c0c0;
  overflow-y: scroll;
  height: 180px;
}

.fos-widget {
  height: 220px;
  border: 1px solid #004e89;
  overflow: auto;
  box-sizing: border-box;
  padding: 0;
  margin: 0 5px;
}

.fos-widget-header {
  padding: 2px;
  text-transform: uppercase;
  text-align: center;
  background: #ddd;
  color: #000;
}

#eac-container-employer {
  width: 230px !important;
}

.remove_field {
  position: absolute;
  right: 0;
  z-index: 9;
  margin: 0 0.5rem;
}

#confirmBox {
  background: #f9fafb;
  width: 95vw;
  max-width: 586px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px solid #d1d5db;
  z-index: 123456;
  box-shadow:
    0 8px 32px 0 rgba(60, 60, 60, 0.18),
    0 1.5px 4px 0 rgba(217, 112, 91, 0.1);
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#confirmBox h1 {
  font-family: "Cuprum", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #d9705b;
  margin: 0 0 0.5em 0;
  letter-spacing: 0.5px;
  background: none;
  padding: 0;
  text-align: center;
}

#confirmBox p {
  font-size: 1.05rem;
  color: #374151;
  background: none;
  padding: 0 0 1em 0;
  line-height: 1.6;
  text-align: center;
}

#confirmButtons {
  padding: 1.2em 0 0.5em 0;
  text-align: center;
}

#confirmBox .button {
  display: inline-block;
  color: #fff;
  background: #d9705b;
  border-radius: 0.5rem;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7em 2.2em;
  margin: 0 0.5em;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(217, 112, 91, 0.08);
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
#confirmBox .button:hover {
  background: #c5624e;
  box-shadow: 0 4px 12px rgba(217, 112, 91, 0.15);
}

.applyBig {
  width: 800px !important;
  margin: -130px 0 0 -400px !important;
}

#confirmBox .blue_b {
  background-position: left top;
  background-color: #008d4c;
  border-color: #008d4c;
}

#confirmBox .blue_b span {
  background-position: -195px 0;
}

#confirmBox .blue_b:hover {
  background-position: left bottom;
}

#confirmBox .blue_b:hover span {
  background-position: -195px bottom;
}

#confirmBox .red {
  background-position: -200px top;
  background-color: #cb2238;
  border-color: #cb2238;
}

#confirmBox .red span {
  background-position: -395px 0;
}

#confirmBox .red:hover {
  background-position: -200px bottom;
}

#confirmBox .red:hover span {
  background-position: -395px bottom;
}

#confirmBox .gray {
  background-position: -200px top;
  background-color: #a3a1a1;
  border-color: #a3a1a1;
}

#confirmBox .gray span {
  background-position: -395px 0;
}

#confirmBox .gray:hover {
  background-position: -200px bottom;
}

#confirmBox .gray:hover span {
  background-position: -395px bottom;
}

/* .text-primary {
    color: #2563c1!important;
} */

.danger-red {
  color: red;
}

.info-block h6 {
  color: #3d7fbd;
}

.leftPanelI {
  border: 1px solid #000000;
  padding: 0.5rem;
  margin-bottom: 1rem;
}

.prev-img {
  max-width: 160px;
  max-height: 200px;
}

#preview_image img {
  width: 100%;
  height: 100%;
}
#chat_container {
  max-height: 400px;
  overflow-y: scroll;
  overflow-x: hidden;
}
#chat_container .chat-body {
  background: #e6e6e6;
  margin-bottom: 1px;
  border-bottom: 1px dashed #d8d8d8;
  padding: 0.5rem;
}

.chat {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chat li {
  margin-bottom: 10px;
  padding: 10px 0;
  /*	border-bottom: 1px dotted #B3A9A9;
            border-top: 1px dotted #B3A9A9;*/
}

.chat li.left .chat-body p {
  color: #080488;
}

.chat li .chat-body p {
  margin: 0;
  color: #2c2d3f;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
  margin-right: 5px;
}

.whiteClass {
  background: #ffffff;
}

.bg-lightgrey {
  background-color: lightgrey;
}

.mini-mize {
  display: none;
}

.shw {
  display: block;
}
.show {
  visibility: visible;
}
.ticket-btn {
  border-radius: 4px;
  padding: 0.1rem 0.75rem;
}

.tox-tinymce {
  width: auto;
}

.character img {
  width: 100%;
  height: 250px;
  max-height: 250px;
  min-height: 250px;
  object-fit: cover;
}

@media only screen and (max-width: 992px) {
  .tox-tinymce {
    width: auto;
  }
}

.selected_fos_div {
  border-bottom: 1px solid #fba940;
  background-color: rgba(249, 183, 123, 0.7);
  padding: 4px 5px;
}

.fos_div,
.level_div {
  border-bottom: 1px solid #17a7e0;
  padding: 4px 5px;
  font-size: 14px;
}

/*HELP MEDIA*/
.icon-gal {
  margin: 0.5rem;
  box-shadow: 0px 0px 4px #d9d7d7;
  padding: 0.5rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.check-icon-gal img {
  width: auto;
  height: 1rem;
  max-height: 1rem;
  min-height: 1rem;
  object-fit: none;
}
.delete-icon-gal img {
  width: auto;
  height: 1rem;
  max-height: 1rem;
  min-height: 1rem;
  object-fit: none;
}
/*CONFIRM APPOINTMENT CSS*/
.p-main-block {
  min-height: 320px;
  width: 100%;
  background-color: #ffffff;
  padding: 20px;
}
.learners-block {
  min-height: 90px;
  margin-top: 40px;
}
.radioBox {
  display: inline !important;
}
.wd-30 {
  width: 30px;
}

.easy-autocomplete {
  width: 100% !important;
}
#provider-remote {
  border-color: rgb(231, 128, 6);
}
.grecaptcha-badge {
  visibility: hidden;
}
#chat_container .chat-body.left-bg {
  background: #e8e3e3;
}
#chat_container .chat-body.right-bg {
  background: #b7b7b7;
}

.btn-outline-details {
  color: #0d6efd !important;
  padding: 5px 10px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
  position: relative;
  box-shadow: none;
  display: inline-block;
  border: 1px solid #0d6efd;
  border-radius: 0.25rem;
  cursor: auto !important;
}
.common-btn {
  border: 0px;
  border-radius: 0.25rem;
  padding: 0.25rem 0.75rem;
}
.btn-orange {
  color: #fff;
  background-color: #ec7a00;
}
.bg-orange {
  color: #fff;
  background-color: #ec7a00;
}
.alert-primary {
  color: #fff;
  background-color: #426593 !important;
  /*border-color: #007bff;*/
  width: 100%;
}
.custom-border {
  border-radius: 10px;
  border: 2px solid #426593;
  padding: 10px;
}

span.pending-count {
  position: absolute;
  background: #ec7a00;
  color: #f9f9f9;
  font-size: 10px;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
  width: 27px;
  height: 27px;
  text-align: center;
  line-height: 27px;
  border-radius: 50%;
  top: -30%;
  /*right: 35%;*/
  font-weight: bold;
}

/*PROGRESS BAR STEP CSS*/
#progressbar,
#progressbar2,
#progressbar3,
#progressbar4,
#progressbar5 {
  margin-bottom: 30px;
  overflow: hidden;
}
#progressbar li,
#progressbar2 li,
#progressbar3 li,
#progressbar4 li,
#progressbar5 li {
  list-style-type: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: bold;
  float: left;
  text-align: center;
}

.stepprogress [role="tablist"] li > a {
  display: flex;
  height: 100%;
  align-items: center;
}
#steptwo #progressbar2 li,
#stepfour #progressbar4 li {
  float: none;
}

/*.firstP{background-position: left 71.5px top 40px !important;}*/
#progressbar4 .firstP {
  background-position: left 125.5px top 17px !important;
}
/*.lastP{background-position: right 71.5px top 40px !important;}*/
#progressbar4 .lastP {
  background-position: right 129.5px top 17px !important;
}

.progressbar5 .firstP {
  background-position: left 100.5px top 17px !important;
}
.progressbar5 .lastP {
  background-position: right 100.5px top 17px !important;
}
.liPb .steplink a {
  color: #000;
}
.steplink {
  margin-top: 15px;
}
.activeP .steplink a {
  font-weight: bold;
  font-size: 10px;
  color: #000;
}

.roundRadius {
  border-radius: 20px;
}
.btn-progress {
  background: #004e89;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 12px;
}
.pendingProgBG,
.currentProgBG,
.doneProgBG {
  background: #ccc;
  color: #000;
  box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.5);
  border: 2px solid #c1c1c1;
  font-weight: bold;
}
.activeP .bg-green {
  background: #17a7e0;
  color: #fff;
  border-color: #2fb5e9;
}

.bg-green.doneProgBG {
  /* changes mage */
  background: rgb(29, 157, 116);
  border-color: rgb(26, 137, 102);
  color: #fff;
}
.leanerDcBgColor {
  background: #f2f2f2;
}
/*---// END //---*/

/* Form Card Design - Matching Login Page */
.form-horizontal .card {
  max-width: 52rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #f3f4f6;
  background: #ffffff;
  margin: 2rem auto;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
  position: relative;
  padding: 2rem 2.5rem;
}

/* Solid top border accent */
.form-horizontal .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: #d9705b;
  z-index: 1;
}

.form-horizontal .card:hover {
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.form-horizontal .card .card-header {
  background-color: transparent;
  border-bottom: none;
  color: #111827;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
}

.activeP .bg-green {
  background: #ec7a00 !important;
}

.marginPG {
  margin: 20px;
}
.donePG {
  background: #9a9a9a !important;
  color: white;
}

/* Simple Progress Bar CSS */
#progressbar {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 20px 0;
  margin: 20px 0 40px 0;
  counter-reset: step;
  position: relative;
}

/* Connecting Line */
#progressbar::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-color);
  z-index: 0;
}

#progressbar li {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

#progressbar li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
}

#progressbar li .step-number {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-muted);
  font-weight: bold;
  margin-bottom: 8px;
  counter-increment: step;
  position: relative;
  z-index: 2;
}

#progressbar li .step-number::before {
  content: counter(step);
}

#progressbar li .step-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Active Step */
#progressbar li.active .step-number {
  background: var(--btn-background-1);
  border-color: var(--btn-background-1);
  color: var(--btn-text-1);
}

#progressbar li.active .step-label {
  color: var(--btn-background-1);
  font-weight: 700;
}

/* Completed Steps */
#progressbar li.completed .step-number {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: var(--bg-card);
}

#progressbar li.completed .step-label {
  color: var(--btn-hover);
}

#progressbar li.completed:last-child::after {
  display: none;
}

/* Hover Effects */
#progressbar li:not(.active) a:hover .step-number {
  background: var(--secondary);
  border-color: var(--primary);
  transform: scale(1.1);
  transition: all 0.3s ease;
}

#progressbar li:not(.active) a:hover .step-label {
  color: var(--primary);
  transition: color 0.3s ease;
}

#progressbar li.active a:hover .step-number {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(143, 214, 207, 0.4);
  transition: all 0.3s ease;
}

#progressbar li.completed a:hover .step-number {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(111, 196, 188, 0.4);
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  #progressbar::before {
    top: 37px;
  }

  #progressbar li.completed::after {
    top: 37px;
  }

  #progressbar li .step-number {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 12px;
  }

  #progressbar li .step-label {
    font-size: 9px;
  }
}

/* Small Screens - Horizontal Scroll */
@media (max-width: 576px) {
  #progressbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 10px;
    margin: 15px 0 30px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    justify-content: flex-start;
  }

  #progressbar::before {
    top: 33px;
    min-width: 100%;
  }

  #progressbar li {
    flex: 0 0 auto;
    min-width: 90px;
    margin: 0 5px;
  }

  #progressbar li.completed::after {
    top: 33px;
  }

  #progressbar li .step-number {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 12px;
  }

  #progressbar li .step-label {
    font-size: 9px;
    max-width: 85px;
    word-wrap: break-word;
    line-height: 1.2;
  }
}

/* Extra Small Screens - Keep Horizontal */
@media (max-width: 400px) {
  #progressbar {
    padding: 15px 10px;
    margin: 10px 0 25px 0;
  }

  #progressbar li {
    min-width: 75px;
    margin: 0 3px;
  }

  #progressbar li .step-number {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 11px;
  }

  #progressbar li .step-label {
    font-size: 8px;
    max-width: 70px;
  }

  #progressbar::before {
    top: 32px;
  }

  #progressbar li.completed::after {
    top: 32px;
  }
}
