body {
  font-family: "Poppins", sans-serif;
  color: #0c0c0c;
  background-color: #ffffff;
  overflow-x: hidden;
}

.layout_padding {
  padding: 90px 0;
}

.layout_padding2 {
  padding: 75px 0;
}

.layout_padding2-top {
  padding-top: 75px;
}

.layout_padding2-bottom {
  padding-bottom: 75px;
}

.layout_padding-top {
  padding-top: 90px;
}

.layout_padding-bottom {
  padding-bottom: 90px;
}

.heading_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.heading_container h2 {
  position: relative;
  font-weight: bold;
  text-transform: uppercase;
}

.about_section .heading_container h2 {
  font-size: 35px;
  font-weight: 700;
  text-transform: none;
  color: #ffffff;
}

/* For About Page */
.about_section .heading_container h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: none;
  color: #ffffff;
}

.heading_container h1 .dot_design {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #ecbb72;
  border-radius: 100%;
}
/* End For About Page */

.heading_container h2 .dot_design {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #ecbb72;
  border-radius: 100%;
}

.heading_container.heading_center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

a:hover,
a:focus {
  color: initial;
}

.btn,
.btn:focus {
  outline: none !important;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/*header section*/
.hero_area {
  position: relative;
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.hero_area .hero_bg_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.hero_area .hero_bg_box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.hero_area .hero_bg_box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(48, 71, 94, 0.8)),
    to(rgba(48, 71, 94, 0.65))
  );
  background: linear-gradient(
    to right,
    rgba(48, 71, 94, 0.8),
    rgba(48, 71, 94, 0.65)
  );
}

.sub_page .hero_area {
  min-height: auto;
}

.header_section .header_top {
  padding: 15px 0;
  background-color: rgba(48, 71, 94, 0.55);
}

.logo_text {
  display: block;
  line-height: 1.15;

  font-weight: 700;
  font-size: 20px;
  text-transform: capitalize;
}

.logo_tagline {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3px;
  opacity: 0.85;
  margin-top: 2px;
  text-transform: none;
  line-height: 1.2;
  max-width: 220px;
  white-space: normal;
}

.info_section .logo_tagline {
  font-size: 10px;
  max-width: 260px;
  opacity: 0.7;
}

.navbar-brand img {
  flex-shrink: 0;
  display: block;
}

.header_section .header_top .header_top_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.register {
  display: inline-block;
  margin-left: 10px;
  background-color: #ecbb72;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.register:hover {
  color: #ffffff;
  background-color: #30475e;
}

.header_section .header_top .contact_nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.header_section .header_top .contact_nav a {
  color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.header_section .header_top .contact_nav a i {
  margin-right: 5px;
  background-color: #ecbb72;
  width: 35px;
  height: 35px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #ffffff;
  border-radius: 100%;
}

.header_section .header_top .contact_nav a:hover i {
  background-color: #ecbb72;
}

.header_section .header_bottom {
  padding: 20px 0;
}

.header_section .header_bottom .container-fluid {
  padding-right: 25px;
  padding-left: 25px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;

  color: #ffffff;
  font-weight: bold;
  font-size: 24px;
  text-transform: uppercase;
}

.navbar-brand span {
  color: #ffffff;
}

.navbar-brand:hover {
  color: inherit;
}

.custom_nav-container {
  padding: 0;
  min-height: 72px;
}

.custom_nav-container .navbar-nav {
  margin-left: auto;
  align-items: center;
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
  padding: 8px 18px;

  color: #ffffff;
  text-align: center;
  text-transform: uppercase;

  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.4px;

  transition: all 0.3s;
}

.custom_nav-container .navbar-nav .nav-item:hover .nav-link {
  color: #ecbb72;
}

.custom_nav-container .navbar-nav .nav-item.active .nav-link {
  color: #ecbb72;
  font-weight: 700;
  position: relative;
}

.custom_nav-container .navbar-nav .nav-item.active .nav-link::after {
  content: "";
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: -6px;
  height: 2px;
  background-color: #ecbb72;
  border-radius: 2px;
}

.custom_nav-container .navbar-toggler {
  outline: none;
  padding: 0;
  width: 37px;
  height: 42px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span {
  display: block;
  width: 35px;
  height: 4px;
  background-color: #ffffff;
  margin: 7px 0;
  position: relative;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::before,
.custom_nav-container .navbar-toggler span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  top: -10px;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::after {
  top: 10px;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span::before,
.custom_nav-container .navbar-toggler[aria-expanded="true"] span::after {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  top: 0;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] .s-1 {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  margin: 0;
  margin-bottom: -4px;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] .s-2 {
  display: none;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] .s-3 {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  margin: 0;
  margin-top: -4px;
}

.custom_nav-container .navbar-toggler[aria-expanded="false"] .s-1,
.custom_nav-container .navbar-toggler[aria-expanded="false"] .s-2,
.custom_nav-container .navbar-toggler[aria-expanded="false"] .s-3 {
  -webkit-transform: none;
  transform: none;
}

.mobile-auth-link {
  display: none;
}

/*end header section*/
/* slider section */
.slider_section {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  min-height: 78vh;

  padding: 30px 0 40px;
}

.slider_section .row {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.slider_section #customCarousel1 {
  width: 100%;
  position: unset;
}

.slider_section .detail-box {
  color: #ffffff;
  max-width: 700px;
  min-height: 340px;
}

.slider_section .detail-box h1 {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 24px;
  color: #ffffff;
}

.slider_section .detail-box p {
  font-size: 17px;
  line-height: 1.9;
  max-width: 560px;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.92);
}

.slider_section .detail-box a {
  display: inline-block;
  padding: 14px 42px;
  background-color: #ecbb72;
  color: #ffffff;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: 1px solid #ecbb72;
}

.slider_section .detail-box a:hover {
  background-color: transparent;
  color: #ecbb72;
}

.slider_section .img-box img {
  width: 100%;
}

.slider_section .carousel_btn-box {
  position: absolute;
  left: 50%;
  bottom: 65px;
  transform: translateX(-50%);

  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 130px;
  height: 52px;

  z-index: 10;
}

.slider_section .carousel_btn-box a {
  width: 52px;
  height: 52px;

  display: flex;
  justify-content: center;
  align-items: center;

  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;

  background-color: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);

  color: #ffffff;
  font-size: 14px;

  transition: all 0.3s ease;
}

.slider_section .carousel_btn-box a:hover {
  background-color: #ecbb72;
  border-color: #ecbb72;
  color: #30475e;
  transform: translateY(-3px);
}

.service_section {
  position: relative;
}

.service_section .heading_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

/* Service Page */
.service_section .heading_container h1 {
  font-size: 48px;
  font-weight: 700;
}
/* Legal Resource Page */
.legal_intro_section .heading_container h1 {
  font-size: 48px;
  font-weight: 700;
}

.legal_intro_content p {
  font-size: 18px;
}
/* End Legal Resource Page */

.service_section .heading_container p {
  max-width: 650px;
  margin: 15px auto 0;
}

.service_section .box {
  display: flex;
  align-items: stretch;
  margin-top: 25px;
  margin-bottom: 25px;
  border-radius: 10px;
  height: 100%;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.service_section .box .img-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 90px;
  min-width: 90px;
  height: 90px;
  border-radius: 100%;
  background-color: #30475e;
  box-shadow: 0 12px 30px rgba(48, 71, 94, 0.25);
  margin-right: -45px;
  position: relative;
}

.service_section .box .img-box img {
  width: 50px;
  -webkit-transition: all 0.1s;
  transition: filter 0.25s ease;
}

.service_section .box:hover {
  transform: translateY(-8px);
}

.service_section .box:hover .detail-box {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.service_section .box .detail-box {
  background-color: #f8f9fb;
  margin-top: 25px;
  margin-bottom: 35px;
  padding: 35px 25px 30px 60px;
  border-radius: 10px;
  flex: 1;
  transition: all 0.35s ease;
}

.service_section .box .detail-box h5 {
  font-size: 20px;
  font-weight: 700;
  color: #30475e;
  margin-bottom: 15px;
  text-transform: none;
}

.service_section .box .detail-box p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.service_section .box .detail-box a {
  color: #eab465;
  font-weight: 500;
  transition: color 0.3s ease;
}

.service_section .box .detail-box a:hover {
  color: #30475e;
}

.service_section .box:hover .img-box img {
  -webkit-filter: invert(14%) sepia(72%) saturate(584%) hue-rotate(309deg)
    brightness(101%) contrast(85%);
  filter: invert(14%) sepia(72%) saturate(584%) hue-rotate(309deg)
    brightness(101%) contrast(85%);
}

.service_section .btn-box {
  display: flex;
  justify-content: center;
  margin-top: 70px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.service_section .btn-box a {
  display: inline-block;
  padding: 14px 48px;
  background-color: #ecbb72;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.service_section .btn-box a:hover {
  background-color: transparent;
  color: #ecbb72;
  border: 1px solid #ecbb72;
}

.about_section {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 600px;
  padding: 100px 0;
  display: flex;
  align-items: center;
}

.about_section .detail-box {
  text-align: center;
  color: #ffffff;
}

.about_section .detail-box p {
  max-width: 760px;
  margin: 20px auto 0;
  line-height: 1.9;
  font-size: 17px;
}

.about_section .detail-box a {
  display: inline-block;
  padding: 14px 48px;
  background-color: #ecbb72;
  color: #ffffff;
  border-radius: 8px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
  border: 1px solid #ecbb72;
  margin-top: 35px;
}

.about_section .detail-box a:hover {
  background-color: transparent;
  color: #ecbb72;
  border-color: #ecbb72;
}

/* BACKGROUND IMAGE LAYER */
.about_section .about_bg_box {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.about_section .about_bg_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DARK OVERLAY */
.about_section .about_bg_box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 20, 35, 0.85),
    rgba(10, 20, 35, 0.75)
  );
}

/* CONTENT MUST BE ABOVE BACKGROUND */
.about_section .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.about_details_section {
  display: none;
  padding: 80px 0;
  background-color: #f8f9fa;
}

.about_details_section.show {
  display: block;
}

.about_card {
  background-color: #fff;
  padding: 30px;
  margin-bottom: 25px;
  border-left: 5px solid #ecbb72;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.about_card h2 {
  color: #30475e;
  margin-bottom: 15px;
}

.about_card ul {
  padding-left: 20px;
}

.about_card li {
  margin-bottom: 10px;
}

/* PREMIUM GLASS BOX */
.why_section {
  width: 100%;
  min-height: 600px;
  padding: 80px 0;
}

.why_berith_box {
  text-align: left;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* HEADING */
.why_section .heading_left h2 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 700;
  color: #ffffff;
}

/* TEXT */
.why_section .detail_p_mt {
  margin-top: 15px;
  font-size: 17px;
  line-height: 1.9;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

.about_section .detail_p_mt {
  font-size: 18px;
  line-height: 2;
  max-width: 820px;
  margin: 25px auto 0;
}

/* GRID LIST */
.why_list {
  margin-top: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ITEM STYLE */
.why_item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 12px 15px;
  border-radius: 8px;
  border-left: 3px solid #ecbb72;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.why_item:hover {
  transform: translateY(-4px);
  background-color: rgba(236, 187, 114, 0.15);
}

/* ICONS */
.why_item i {
  color: #ecbb72;
  font-size: 18px;
}

/* BUTTON */
.primary_btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 42px;
  background-color: #ecbb72;
  color: #1a1a1a;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #ecbb72;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.primary_btn:hover {
  background-color: transparent;
  color: #ecbb72;
}

.primary_btn_box {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

/* team section */
/* .team_section .box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #30475e;
  overflow: hidden;
  margin-top: 45px;
}

.team_section .box .img-box {
  width: 100%;
}

.team_section .box .img-box img {
  width: 100%;
}

.team_section .box .detail-box {
  width: 100%;
  color: #ffffff;
  padding: 25px 15px;
  text-align: center;
  position: relative;
}

.team_section .box .detail-box .social_box {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 150%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 5px 10px;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.team_section .box .detail-box .social_box a {
  color: #30475e;
  margin: 0 5px;
}

.team_section .box .detail-box .social_box a:hover {
  color: #ecbb72;
}

.team_section .box:hover .social_box {
  top: 0;
  opacity: 1;
}

.team_section .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 45px;
}

.team_section .btn-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #ecbb72;
  color: #ffffff;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: 1px solid #ecbb72;
}

.team_section .btn-box a:hover {
  background-color: transparent;
  color: #ecbb72;
} */

/* contact section */
.contact_section {
  background-color: #30475e;
  color: #ffffff;
  padding: 90px 0;
}

.contact_section .heading_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
}

.contact_section .heading_container p {
  max-width: 700px;
  margin: 15px auto 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.contact_section .form_container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 25px 30px;
  height: 540px;
}

.contact_section form .form-control {
  height: 60px;
  border: none;
  background-color: #f6f6f6;
  border-radius: 8px;
  margin-bottom: 20px;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  padding: 0 18px;
  font-size: 16px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.contact_section form .form-control:focus {
  border: 1px solid #ecbb72;
  box-shadow: 0 0 0 3px rgba(236, 187, 114, 0.15);
}

.contact_section form #inputMessage {
  min-height: 170px;
  resize: none;
  padding-top: 15px;
}

.contact_section .btn-box {
  margin-top: 15px;
}

.contact_section .btn-box .submit_btn {
  display: inline-block;
  padding: 14px 42px;
  background-color: #ecbb72;
  color: #ffffff;
  border-radius: 8px;
  -webkit-transition: all 0.3s;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
  border: 1px solid #ecbb72;
  width: 100%;
  font-weight: 600;
}

.contact_section .btn-box .submit_btn:hover {
  background-color: transparent;
  color: #ecbb72;
}

.contact_section .map_container {
  height: 540px;
}

.contact_section .map_container .map {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.contact_section .map_container .map #googleMap {
  height: 100%;
}

.contact_section .container-fluid {
  padding-left: 35px;
  padding-right: 35px;
}

/* contact section end */
/* .client_section .client_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: auto;
  margin-top: 15px;
  padding: 0 15px;
}

.client_section .client_container .client_id {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.client_section .client_container .client_id h5 {
  color: #1d1b28;
  font-weight: 600;
  margin-bottom: 5px;
}

.client_section .client_container .client_id h6 {
  margin-bottom: 0;
}

.client_section .client_container .img-box {
  width: 125px;
  margin-right: 15px;
}

.client_section .client_container .img-box img {
  width: 100%;
  border-radius: 100%;
}

.client_section .client_container .detail-box {
  -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
  padding: 25px;
  margin-bottom: 25px;
}

.client_section .client_container .detail-box p {
  color: #1d1b28;
}

.client_section .client_container .detail-box span {
  margin-top: 25px;
  color: #ecbb72;
  font-size: 28px;
}

.client_section .carousel-control-prev,
.client_section .carousel-control-next {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  background-color: #30475e;
  opacity: 1;
  top: 28%;
  color: #ffffff;
  font-size: 12px;
  margin: 0 2.5px;
}

.client_section .carousel-control-prev:hover,
.client_section .carousel-control-next:hover {
  background-color: #ecbb72;
}

.client_section .carousel-control-prev {
  left: 0;
}

.client_section .carousel-control-next {
  right: 0;
}

.client_section .carousel_btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
} */
hr {
  height: 10%;
}

/* info section */
.info_section {
  background-color: #30475e;
  color: #ffffff;
  padding-top: 45px;
  padding-bottom: 10px;
}

.info_section .row {
  align-items: flex-start;
}

.info_section .row > div {
  margin-bottom: 35px;
  padding: 0 25px;
}

.info_section .contact_nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.info_section .contact_nav a {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #ffffff;
  margin-bottom: 10px;
}

.info_section .contact_nav a i {
  font-size: 22px;
  margin-right: 10px;
}

.info_section .contact_nav a:hover {
  color: #ecbb72;
}

.info_section h4 {
  text-transform: uppercase;
  position: relative;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 28px;
}

.info_section p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.info_section .social_box {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 25px;
}

.info_section .social_box a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 18px;
  margin-right: 10px;
}

.info_section .social_box a:hover {
  color: #ecbb72;
  border-color: #ecbb72;
}

.info_section .info_form input {
  width: 100%;
  border: none;
  border-radius: 8px;
  height: 45px;
  margin-bottom: 15px;
  padding-left: 25px;
  background-color: #eaeaea;
  outline: none;
  color: #101010;
}

.info_section .info_form button {
  width: 100%;
  padding: 14px;
  font-weight: 600;
  padding: 10px 45px;
  background-color: #ecbb72;
  color: #ffffff;
  border-radius: 8px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: 1px solid #ecbb72;
}

.info_section .info_form button:hover {
  background-color: transparent;
  color: #ecbb72;
}

/*==========================
        FOOTER SECTION
==========================*/
.footer_section {
  background: #072542;
  padding: 28px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer_section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  font-size: 15px;
}

.footer_section #displayYear {
  color: #ecbb72;
  font-weight: 700;
}

.footer_section .motto {
  display: inline-block;
  margin-top: 8px;
  color: #ecbb72;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.5px;
}
/*# sourceMappingURL=style.css.map */

/* Back To Top Button */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  border: none;
  outline: none;
  background: #b89b5e;
  color: #fff;
  cursor: pointer;
  padding: 12px 15px;
  border-radius: 50%;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  transform: translateY(-3px);
}

.more-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.more-content.show {
  max-height: 620px;
  margin-top: 15px;
}

.resource-link-list {
  padding-left: 18px;
  margin: 10px 0 0;
}

.resource-link-list li {
  margin-bottom: 8px;
}

.extra-services {
  display: none;
}

.extra-services.show {
  display: flex;
  flex-wrap: wrap;
}

.img-box i {
  color: #ecbb72;
}

/* LEGAL INTRO */

.legal_intro_section {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.legal_intro_bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.legal_intro_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legal_intro_section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(48, 71, 94, 0.85);
  z-index: -1;
}

.legal_intro_content {
  color: #ffffff;
  max-width: 900px;
  margin: auto;
}

.legal_intro_content h1 {
  margin-bottom: 20px;
}

.legal_intro_content h4 {
  color: #ecbb72;
  margin-top: 25px;
}

/* Hide resources initially */

#legalResources {
  display: none;
}

#legalResources.show {
  display: block;
}

#legalDisclaimer {
  display: none;
}

#legalDisclaimer.show {
  display: block;
}

.legal-btn-box {
  margin-top: 35px;
}

.legal-btn-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #ecbb72;
  color: #ffffff;
  border-radius: 5px;
  transition: all 0.3s;
  border: 1px solid #ecbb72;
}

.legal-btn-box a:hover {
  background-color: transparent;
  color: #ecbb72;
}

.legal_disclaimer_section {
  background-color: #f3f4f5;
}

.legal_disclaimer_content {
  max-width: 900px;
  margin-top: 25px;
}

.legal_disclaimer_content p {
  color: #444444;
  line-height: 1.8;
}

/* auth page */

.auth_page {
  min-height: 100vh;
  background: #f5f2ec;
}

.auth_shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 42%) 1fr;
}

.auth_brand_panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px;
  background: #142235;
  overflow: hidden;
}

.auth_brand_panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(20, 34, 53, 0.72), rgba(20, 34, 53, 0.92)),
    url("../images/berithLogoNew..svg") center/cover no-repeat;
  opacity: 0.34;
  pointer-events: none;
}

.auth_home_link {
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-weight: 600;
}

.auth_home_link:hover {
  color: #ecbb72;
}

.auth_brand_content {
  position: relative;
  z-index: 1;
  max-width: 470px;
  color: #ffffff;
  text-align: center;
}

.auth_brand_logo {
  width: min(310px, 80%);
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

.auth_brand_content h1 {
  margin-top: 32px;
  font-size: 42px;
  font-weight: 700;
}

.auth_brand_content p {
  color: #ecbb72;
  font-size: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.auth_brand_content .logo_tagline {
  color: #ecbb72;
  font-size: 12px;
  letter-spacing: 0.5px;
  line-height: 1.35;
  margin: 6px auto 0;
  max-width: 360px;
  opacity: 0.9;
  text-transform: none;
}

.auth_form_panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px;
}

.auth_card {
  width: min(100%, 880px);
  max-height: calc(100vh - 84px);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(20, 34, 53, 0.08);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 22px 60px rgba(20, 34, 53, 0.13);
}

.auth_mode_switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  background: #f3f4f5;
  border-radius: 7px;
  margin-bottom: 28px;
}

.auth_mode_btn {
  border: 0;
  background: transparent;
  padding: 12px 16px;
  border-radius: 5px;
  color: #30475e;
  font-weight: 700;
  cursor: pointer;
}

.auth_mode_btn.active {
  background: #30475e;
  color: #ffffff;
}

.auth_form_view {
  display: none;
}

.auth_form_view.active {
  display: block;
}

.auth_heading span {
  color: #ecbb72;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.auth_heading h2 {
  margin: 8px 0 8px;
  color: #142235;
  font-size: 32px;
  font-weight: 700;
}

.auth_heading p {
  color: #667085;
  margin-bottom: 26px;
}

.auth_form {
  display: grid;
  gap: 18px;
}

.form_grid {
  display: grid;
  gap: 18px;
}

.form_grid.two_col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form_group {
  display: grid;
  gap: 8px;
}

.form_group.full_width {
  grid-column: 1 / -1;
}

.form_group label,
.form_section_header h3 {
  color: #142235;
  font-weight: 700;
}

.form_group input,
.form_group select,
.form_group textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dde2e8;
  border-radius: 6px;
  padding: 11px 13px;
  color: #142235;
  background: #ffffff;
  outline: none;
}

.form_group textarea {
  resize: vertical;
}

.form_group input:focus,
.form_group select:focus,
.form_group textarea:focus {
  border-color: #ecbb72;
  box-shadow: 0 0 0 3px rgba(236, 187, 114, 0.18);
}

/* Password Field */

.password_field {
  position: relative;
}

.password_field input {
  padding-right: 48px;
}

.password_toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #667085;
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s ease;
}

.password_toggle:hover {
  color: #ecbb72;
}

.password_toggle {
  transition:
    color 0.3s ease,
    transform 0.2s ease;
}

.password_toggle:hover {
  transform: translateY(-50%) scale(1.1);
}

.password_toggle:active {
  transform: translateY(-50%) scale(0.95);
}

.field_hint,
.form_section_header p,
.upload_field small {
  margin: 0;
  color: #667085;
  font-size: 14px;
}

.auth_form_row,
.form_actions.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.auth_form_row a,
.auth_toggle_text button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #eab465;
  font-weight: 700;
  cursor: pointer;
}

.inline_check {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: #30475e;
  font-weight: 500;
}

.inline_check input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

.auth_primary_btn,
.auth_secondary_btn {
  border: 1px solid #ecbb72;
  border-radius: 6px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
}

.auth_primary_btn {
  background: #ecbb72;
  color: #ffffff;
}

.auth_primary_btn:hover {
  background: #30475e;
  border-color: #30475e;
}

.auth_secondary_btn {
  background: #ffffff;
  color: #30475e;
  border-color: #dde2e8;
}

.auth_secondary_btn:hover {
  border-color: #30475e;
}

.auth_toggle_text {
  margin: 24px 0 0;
  color: #667085;
  text-align: center;
}

.signup_steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}

.signup_step {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid #dde2e8;
  background: #ffffff;
  color: #30475e;
  border-radius: 7px;
  padding: 10px 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.signup_step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f5;
  color: #30475e;
  flex: 0 0 auto;
}

.signup_step.active {
  border-color: #30475e;
  background: #30475e;
  color: #ffffff;
}

.signup_step.active span {
  background: #ecbb72;
  color: #ffffff;
}

.signup_step_panel {
  display: none;
}

.signup_step_panel.active {
  display: grid;
  gap: 20px;
}

.form_section_header {
  padding-top: 4px;
  border-top: 1px solid #edf0f3;
}

.form_section_header:first-child {
  border-top: 0;
  padding-top: 0;
}

.form_section_header h3 {
  margin: 0;
  font-size: 18px;
}

.option_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option_grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option_grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dde2e8;
  border-radius: 6px;
  color: #30475e;
  font-weight: 600;
}

.option_grid input {
  width: auto;
  min-height: auto;
}

.conditional_field {
  display: none;
  margin-top: 8px;
}

.conditional_field.show {
  display: block;
}

.upload_field {
  padding: 12px;
  border: 1px dashed #c8d0d8;
  border-radius: 6px;
  background: #f8fafc;
}

.declaration_list {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid #dde2e8;
  border-radius: 7px;
  background: #f8fafc;
}

@media (max-width: 992px) {
  .auth_shell {
    grid-template-columns: 1fr;
  }

  .auth_brand_panel {
    min-height: 420px;
  }

  .auth_card {
    max-height: none;
  }
}

@media (max-width: 576px) {
  .auth_form_panel,
  .auth_brand_panel {
    padding: 24px 16px;
  }

  .auth_card {
    padding: 22px;
  }

  .auth_brand_content h1 {
    font-size: 30px;
  }

  .form_grid.two_col,
  .option_grid,
  .option_grid.compact,
  .signup_steps {
    grid-template-columns: 1fr;
  }

  .auth_form_row,
  .form_actions.split {
    align-items: stretch;
    flex-direction: column;
  }
}

.auth-link-hidden {
  visibility: hidden;
}

/* Hides protected page content until auth state is resolved.
   Applied via HTML, removed by JS after auth check completes. */
.page_auth_pending {
  visibility: hidden;
}

/* dashboard styles */
.portal_section {
  padding: 70px 0;
  background: #f8f8f8;
  min-height: 100vh;
}

.portal_wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.portal_header_card,
.portal_card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 28px;
  margin-bottom: 24px;
}

.portal_header_card h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #1f1f1f;
}

.portal_header_card p {
  margin-bottom: 0;
  color: #666;
}

.portal_top_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.portal_logout_btn {
  border: none;
  outline: none;
  background: #b30000;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.portal_logout_btn:hover {
  background: #8f0000;
}

.portal_section_title {
  margin-bottom: 20px;
}

.portal_section_title h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: #1f1f1f;
}

.portal_section_title p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.portal_profile_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.portal_info_box {
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 16px;
}

.portal_info_box span {
  display: block;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 6px;
}

.portal_info_box h4 {
  font-size: 1rem;
  margin: 0;
  color: #222;
  line-height: 1.5;
  word-break: break-word;
}

.portal_status_box {
  background: #fff7e6;
  border: 1px solid #ffe0a3;
  color: #7a5b00;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 0.95rem;
}

.portal_loading {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-weight: 500;
}

@media (max-width: 768px) {
  .portal_profile_grid {
    grid-template-columns: 1fr;
  }

  .portal_header_card h1 {
    font-size: 1.6rem;
  }
}

.portal_title_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.portal_edit_btn,
.portal_save_btn {
  padding: 12px 22px;

  border: none;

  border-radius: 8px;

  cursor: pointer;

  font-weight: 600;
}

.portal_edit_btn {
  background: #f59e0b;

  color: white;
}

.portal_save_btn {
  background: #16a34a;

  color: white;
}

.portal_input {
  width: 100%;

  padding: 10px;

  border: 1px solid #ddd;

  border-radius: 6px;

  background: #f8f8f8;
}

.portal_input:disabled {
  border: none;

  background: transparent;

  padding: 0;

  font-size: 18px;

  font-weight: 600;
}

.portal_actions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
}

.portal_edit_btn:hover {
  background: #d97706;
}

.portal_save_btn:hover {
  background: #15803d;
}

/* Admin header button — sits in header_top next to Logout */
.admin_header_link {
  background-color: #30475e;
  margin-right: 6px;
}

/* Admin users table */
.admin_table_wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.admin_table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.admin_table thead {
  background: #30475e;
  color: #fff;
}

.admin_table th,
.admin_table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  white-space: nowrap;
}

.admin_table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.admin_table tbody tr:hover {
  background: #f0f4f8;
}

/* ==========================
   ADMIN USER MODAL
========================== */

/* =========================
   USER DETAILS MODAL
========================= */

.portal_modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);

  display: none;

  justify-content: center;
  align-items: center;

  z-index: 9999;

  padding: 20px;
}

.portal_modal.show {
  display: flex;
}

.portal_modal_content {
  background: #fff;
  width: 100%;
  max-width: 850px;

  border-radius: 12px;

  padding: 30px;

  max-height: 90vh;

  overflow-y: auto;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portal_modal_header {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 25px;

  border-bottom: 1px solid #eee;

  padding-bottom: 15px;
}

.portal_modal_header h2 {
  margin: 0;
}

.portal_modal_close {
  border: none;

  background: transparent;

  font-size: 32px;

  cursor: pointer;

  color: #999;

  transition: 0.3s;
}

.portal_modal_close:hover {
  color: #c40000;
}

.user_details_grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 18px;
}

.user_detail_item {
  border: 1px solid #e7e7e7;

  border-radius: 8px;

  padding: 15px;
}

.user_detail_item span {
  display: block;

  font-size: 13px;

  color: #777;

  margin-bottom: 6px;

  font-weight: 600;
}

.user_detail_item p {
  margin: 0;

  color: #222;

  word-break: break-word;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #30475e;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #ecbb72;
}

/* ==========================
   EDIT USER MODAL
========================== */

#editUserForm {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#editUserForm .form-group {
  margin-bottom: 0;
}

#editUserForm input,
#editUserForm select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 15px;
  transition: 0.25s;
  background: #fff;
}

#editUserForm input:focus,
#editUserForm select:focus {
  border-color: #ecbb72;
  box-shadow: 0 0 0 3px rgba(236, 187, 114, 0.18);
}

#editUserForm label {
  display: block;
  margin-bottom: 8px;
  color: #30475e;
  font-weight: 600;
}

/* Footer Buttons */

.edit_modal_actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 15px;
}

.edit_modal_actions button {
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.edit_modal_cancel {
  background: #ececec;
  color: #444;
}

.edit_modal_cancel:hover {
  background: #d9d9d9;
}

.edit_modal_save {
  background: #ecbb72;
  color: white;
}

.edit_modal_save:hover {
  background: #30475e;
}

/* Better spacing */

.portal_modal_content h2 {
  color: #30475e;
}

/* =========================
   TOAST NOTIFICATIONS
========================= */

#toastContainer {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  min-width: 300px;
  max-width: 420px;

  padding: 15px 18px;

  border-radius: 10px;

  color: #fff;

  font-weight: 500;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

  transform: translateX(120%);
  opacity: 0;

  transition: all 0.35s ease;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success {
  background: #198754;
}

.toast.error {
  background: #dc3545;
}

.toast.warning {
  background: #ffc107;
  color: #212529;
}

.toast.info {
  background: #0d6efd;
}

/* =========================
   ADMIN USERS HEADER
========================= */

.admin_users_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.admin_search_input {
  width: 300px;
  max-width: 100%;
  padding: 10px 15px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}

.admin_search_input:focus {
  border-color: #b68d40;
  box-shadow: 0 0 0 3px rgba(182, 141, 64, 0.15);
}

@media (max-width: 768px) {
  .admin_users_header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin_search_input {
    width: 100%;
  }
}

/* =========================
   ADMIN FILTERS
========================= */

.admin_filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin_role_filter {
  min-width: 180px;
  padding: 10px 15px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
}

.admin_role_filter:focus {
  border-color: #b68d40;
  box-shadow: 0 0 0 3px rgba(182, 141, 64, 0.15);
}

@media (max-width: 768px) {
  .admin_users_header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin_search_input {
    width: 100%;
  }
}

/* =========================
   NO USERS FOUND
========================= */

.no-users-found {
  text-align: center;
  padding: 40px 20px;
  color: #777;
  font-size: 16px;
  font-style: italic;
}

.status_badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.status_read {
  background: #d4edda;
  color: #155724;
}

.status_unread {
  background: #fff3cd;
  color: #856404;
}

/* =========================
   UNREAD CONTACTS
========================= */

.contact-unread {
  background-color: rgba(255, 193, 7, 0.08);
  font-weight: 600;
  transition: background-color 0.25s ease;
}

.contact-unread:hover {
  background-color: rgba(255, 193, 7, 0.16);
}

/* =========================
   CONTACT DATE
========================= */

.contact-date {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.contact-date span {
  font-weight: 600;
}

.contact-date small {
  color: #777;
  font-size: 12px;
}

/* =========================
   ACTIVITY LOG
========================= */

#activityTableWrap {
  max-height: 520px;
  overflow-y: auto;
  overflow-x: auto;
}

#activityTableWrap .admin_table {
  border-collapse: separate;
  border-spacing: 0;
}

#activityTableWrap .admin_table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #30475e;
  color: #fff;
}

.uploaded_document_item {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 10px;
  padding: 12px 15px;

  border: 1px solid #ddd;
  border-radius: 8px;

  background: #fafafa;
}

.uploaded_document_item i {
  color: #c00000;
  margin-right: 10px;
}

.uploaded_document_item span {
  flex: 1;
  font-weight: 500;
}

.uploaded_document_item small {
  color: #777;
}

.uploaded_document_item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px;
  margin-top: 10px;

  border: 1px solid #ddd;
  border-radius: 8px;
}

.uploaded_document_left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.remove_document_btn {
  border: none;
  background: none;
  color: #d11a2a;
  cursor: pointer;
  font-size: 18px;
}

.remove_document_btn:hover {
  color: red;
}

/* ==========================================
   CHANGE PASSWORD MODAL
========================================== */

.password_modal_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.password_modal {
  width: 95%;
  max-width: 500px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  animation: modalFade 0.25s ease;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.password_modal_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid #eee;
}

.password_modal_header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.password_modal_close {
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.password_modal_body {
  padding: 24px;
}

.password_modal_body label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.password_modal_body input {
  width: 100%;
  margin-bottom: 18px;
}

.password_modal_footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #eee;
}

.password_modal_overlay.show {
  display: flex;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================
   PASSWORD TOGGLE
========================== */

.password_input_wrapper {
  position: relative;
}

.password_input_wrapper .portal_input {
  padding-right: 45px;
}

.password_toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  transition: 0.3s;
}

.password_toggle:hover {
  color: #0c0c0c;
}

/* ==========================
   MOBILE NAVIGATION
========================== */

@media (max-width: 991.98px) {
  .mobile-auth-link {
    display: block;
    width: 100%;
  }

  .register {
    display: none !important;
  }

  .custom_nav-container .navbar-nav {
    align-items: flex-start;
    width: 100%;
    padding-top: 10px;
  }

  .custom_nav-container .navbar-nav .nav-item {
    width: 100%;
  }

  .custom_nav-container .navbar-nav .nav-link {
    text-align: left;
    padding: 12px 20px;
    width: 100%;
  }
}
