/* Complete CSS - Add this to your theme's style.css or custom CSS section */

@import url(https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&amp;family=Source+Sans+Pro:wght@300;400;700&amp;family=Economica:wght@400;700&amp;display=swap);

/* HR Profile Styles */
.mbc-hr-profile-wrap hr {
  margin: 0.2rem 0;
}

.mbc-hr-profile-wrap .profile-img-wrap {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 1rem;
}

.mbc-hr-profile-wrap .profile-img-wrap:before,
.mbc-hr-profile-wrap .profile-img-wrap:after {
  display: block;
  content: "";
  background-color: #52ad4a;
  position: absolute;
}

.mbc-hr-profile-wrap .profile-img-wrap:before {
  left: -15px;
  top: -15px;
  height: 30%;
  width: 50%;
  z-index: -1;
}

.mbc-hr-profile-wrap .profile-img-wrap:after {
  right: -25px;
  bottom: -35px;
  height: 30%;
  width: 50%;
  z-index: -1;
}

/* Employee Spotlight */
.mbc-employee-spotlight {
  padding-top: 5%;
  padding-bottom: 5%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(../webp/spotlight-bg.webp);
}

.mbc-employee-spotlight .spotlight-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 32px;
  color: #fff;
  line-height: 1.2em;
  text-align: center;
  text-shadow: 0em 0.08em 0em rgba(0, 0, 0, 0.4);
  background: linear-gradient(
    to bottom,
    #cfc09f 22%,
    #e7be77 24%,
    #cfc09f 26%,
    #cfc09f 27%,
    #ffecb3 40%,
    #3a2c0f 78%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
}

/* Department Swiper Base Styles */
.mbc-department-swiper {
  position: relative;
  overflow: hidden; /* CRITICAL: Hide overflow to show only one slide */
  width: 100%;
}

.mbc-hr-swiper {
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  position: relative;
}

.mbc-hr-swiper .swiper-wrapper {
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  align-items: stretch !important;
  position: relative;
}

.mbc-hr-swiper .swiper-slide {
  width: 100% !important;
  flex-shrink: 0 !important;
  height: auto !important;
  position: relative;
}

/* Simple fix for slide content */
.mbc-hr-swiper .swiper-slide .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Remove padding from image column only */
.mbc-hr-swiper .swiper-slide .col-md-8 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Keep padding on text column for proper spacing */
.mbc-hr-swiper .swiper-slide .col-md-4 {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.mbc-department-swiper .mbc-banner-img {
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mbc-slide-content {
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.mbc-department-swiper .mbc-slide-content {
  padding: 1rem;
}

.mbc-department-swiper .mbc-slide-content .mbc-slide-title {
  font-size: 1.2rem;
}

.mbc-department-swiper.mbc-hr-swiper .note-text-wrap {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mbc-department-swiper.mbc-hr-swiper .note-text-wrap li {
  display: none;
}

.mbc-department-swiper.mbc-hr-swiper .note-text-wrap li.active {
  display: block;
}

/* Progress Bar */
/* .process-bar {
  height: 4px;
  background-color: #52ad4a;
  width: 0%;
  transition: width 0.1s linear;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  margin: 0;
  border-radius: 0;
} */

/* Progress bar background track */
.mbc-department-swiper {
  position: relative;
  overflow: hidden; /* CRITICAL: Hide overflow to show only one slide */
  width: 100%;
}

.mbc-department-swiper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(82, 173, 74, 0.2);
  z-index: 9;
}

/* HR Card Styles */
.hr-card {
  background-color: #f5f5f5;
  display: block;
  position: relative;
  text-align: center;
}

.hr-card .hr-card-wrap {
  position: relative;
  display: inline-block;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  transition: 0.3s;
}

.hr-card .hr-card-wrap i {
  font-size: 2rem;
}

.hr-card .hr-card-wrap h4 {
  margin-top: 1rem;
}

.hr-card .hr-card-wrap span {
  margin-top: 1rem;
  display: block;
}

.hr-card .hr-card-wrap:before {
  bottom: 0;
  left: 0;
  border-left: 2px solid #3c8c3d;
  border-top: 2px solid #3c8c3d;
}

.hr-card .hr-card-wrap:after {
  bottom: 0;
  right: 0;
  border-right: 2px solid #3c8c3d;
  border-top: 2px solid #3c8c3d;
}

.hr-card .hr-card-wrap:before,
.hr-card .hr-card-wrap:after {
  position: absolute;
  content: "";
  width: 0%;
  height: 0%;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  z-index: 2;
  transition: width 0.2s ease-in, height 0.15s 0.2s linear, opacity 0s 0.35s;
}

.hr-card .hr-card-wrap:hover:before,
.hr-card .hr-card-wrap:hover:after {
  width: 50%;
  height: 100%;
  opacity: 1;
  transition: height 0.2s 0.2s ease-in, width 0.2s 0.4s linear, opacity 0s 0.2s;
}

.hr-card:before {
  right: 50%;
}

.hr-card:after {
  left: 50%;
}

.hr-card:before,
.hr-card:after {
  bottom: 0;
  transition: width 0.2s 0.35s ease-out;
  width: 15%;
  height: 2px;
  background-color: #3c8c3d;
  z-index: 2;
  position: absolute;
  content: "";
}

.hr-card:hover:before,
.hr-card:hover:after {
  width: 50%;
  transition: width 0.2s ease-in;
}

/* HR Table Styles */
.hr-table {
  font-family: "Roboto Condensed", sans-serif;
  border: none;
}

.hr-table thead tr td {
  background: #3c8c3d;
  color: #fff;
  font-size: 18px;
  padding-top: 10px;
  font-weight: 500;
}

.hr-table tbody tr.group td {
  background: #445b6e;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.hr-table tbody tr td {
  font-size: 17px;
}

.hr-table tbody tr td > a {
  color: #249d26 !important;
  text-decoration: underline !important;
  font-weight: 400 !important;
}

.hr-table td {
  border: none;
  padding: 10px;
}

.hr-table .even-t {
  background-color: #f4f4f3;
}

.hr-table .odd-t {
  background-color: #e3e3e2;
}

.mbc-sidebar.mbc-green-bg li {
  border-bottom: 2px dotted #a1a1a1;
}

/* ========== SWIPER NAVIGATION STYLES ========== */

/* Note wrapper styling */
/* .note-wrapper {
  background-color: #333 !important;
  font-weight: bold;
  position: relative;
  z-index: 100;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem !important;
  border-radius: 0;
  width: 100%;
  box-sizing: border-box;
}

.note-wrapper .note {
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  padding-left: 1rem;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  flex-grow: 1;
  line-height: 1.3;
} */

/* Navigation wrapper */
.swiper-navigation-wrap {
  position: relative;
  z-index: 101;
  display: flex !important;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

/* Main swiper button styles */
.swiper-btn {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  padding: 0 !important;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  position: relative;
  z-index: 102;
  opacity: 1 !important;
  visibility: visible !important;
  outline: none;
  box-sizing: border-box;
  flex-shrink: 0;
}

.swiper-btn:hover {
  background-color: #fff !important;
  color: #333 !important;
  border-color: #fff !important;
  transform: scale(1.05);
}

.swiper-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Specific button styling */
.swiper-btn-prev,
.swiper-btn-next {
  background-color: transparent !important;
  border: none !important;
  color: #fff !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.7 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 1000 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1.5rem !important;
  flex-shrink: 0 !important;
}

.swiper-btn-prev:hover,
.swiper-btn-next:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  opacity: 1 !important;
}

/* Icon styling */
.swiper-btn i {
  font-size: 1.5rem !important;
  line-height: 1 !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
}

/* Button divider */
.swiper-btn-divider {
  width: 1px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 10px;
  flex-shrink: 0;
}

/* Swiper container adjustments */
.mbc-hr-swiper {
  overflow: hidden !important;
  position: relative;
  width: 100% !important;
}

.mbc-hr-swiper .swiper-wrapper {
  position: relative;
  width: 100% !important;
  display: flex !important;
}

.mbc-hr-swiper .swiper-slide {
  position: relative;
  width: 100% !important;
  flex-shrink: 0 !important;
}

/* Override any conflicting Swiper default styles */
.swiper-button-next,
.swiper-button-prev {
  display: none !important;
}

/* Force container sizing */
.mbc-department-swiper.mbc-hr-swiper {
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Ensure buttons work on mobile */
@media (max-width: 768px) {
  .swiper-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }

  .swiper-navigation-wrap {
    gap: 4px;
  }

  .swiper-btn-divider {
    margin: 0 4px;
    height: 20px;
  }
}

.swiper-slide {
  left: 2px !important;
}