:root {
  --primary-color: #027dcf;
  --red-color: #e70000;
  --light-red-color: #ff8b8b;
  --dark-grey-color: #3d3d3d;
  --grey-color: #5d5d5d;
  --black-color: #000000;
  --light-white-color: #edf6ff;
  --white-color: #fff;
}

.body-bg {
  background: #f5f5f9;
  overflow-x: hidden !important;
  /* Prevent global horizontal swipe */
}

.red-txt {
  color: #e70000 !important;
}

.green-txt {
  color: #02b11f !important;
}

.main-header-login {
  display: flex;
  padding-bottom: 30px;
  gap: 30px;
}

.main-header-login .main-sidebar {
  position: sticky;
  top: 90px;
}

.main-header-login .main-sidebar .mobile-view-logo-details {
  display: none;
}

.main-header-login .main-sidebar .sidebar {
  margin-top: 120px;
  width: 250px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.5s ease;
}

.main-header-login .main-sidebar .sidebar .toggle-icon {
  display: none;
}

.main-header-login .main-sidebar .sidebar .logo-details {
  padding: 30px;
  border-bottom: 1px solid #e7e7e7;
}

.main-header-login .main-sidebar .sidebar .logo-details .user-img {
  border-radius: 50%;
  width: 75px;
}

.document-item img {
  width: 65px;
}

.profile-image-cover {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  /* makes it a circle */
  overflow: hidden;
  /* clips the image inside the circle */
  display: inline-block;
  /* keep size and inline behavior */
}

.profile-image-cover img.user-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fills the container and keeps aspect ratio */
  display: block;
  /* remove inline gap */
  border-radius: 50%;
  /* optional: round image edges to match container */
}

.main-header-login .main-sidebar .sidebar .logo-details .company-img {
  width: 175px;
}

.main-header-login .main-sidebar .sidebar .logo-details h5 {
  color: #082b49;
  padding: 10px 0px 6px 0px;
}

.main-header-login .main-sidebar .sidebar .logo-details span {
  color: #027dcf;
  font-size: 14px;
}

.main-header-login .main-sidebar .sidebar .logo-details p a {
  color: #082b49;
  padding-top: 10px;
  font-size: 14px;
}

.main-header-login .main-sidebar .sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 30px 18px 15px;
  border-left: 12px solid #fff;
  line-height: 1.6;
}

.main-header-login .main-sidebar .sidebar ul li a img {
  width: 16px;
}

.main-header-login .main-sidebar .sidebar ul li a i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #027dcf;
  width: 20px;
}

.main-header-login .main-sidebar .sidebar ul li a .links_name {
  color: #082b49;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 1;
  pointer-events: none;
  transition: all ease-in 0.3s;
}

.main-header-login .main-sidebar .sidebar ul li a:hover .links_name {
  transition: all 0.5s ease;
  color: #027dcf;
}

/* Modern Need Help Card */
.main-header-login .main-sidebar .need-help-wrap {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.main-header-login .main-sidebar .need-help-wrap:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.main-header-login .main-sidebar .need-help-wrap h6 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: center;
}

.main-header-login .main-sidebar .need-help-wrap a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.main-header-login .main-sidebar .need-help-wrap a:hover {
  background: #e0f2fe;
  transform: translateX(4px);
}

.main-header-login .main-sidebar .need-help-wrap a img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.main-header-login .main-sidebar .need-help-wrap a span {
  color: #334155;
  font-size: 15px;
  font-weight: 500;
}

.main-header-login .main-sidebar .need-help-wrap .btn {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
}

/* Modern Client Relation Executive Card */
.main-header-login .main-sidebar .client-relation-executive {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  text-align: center;
}

.main-header-login .main-sidebar .client-relation-executive:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.main-header-login .main-sidebar .client-relation-executive h6 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 20px;
}

.main-header-login .main-sidebar .client-relation-executive img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important;
  object-fit: cover;
  margin: 0 auto 16px !important;
  padding: 0 !important;
  background: #f1f5f9 !important;
  border: 4px solid #e0f2fe !important;
}

.main-header-login .main-sidebar .client-relation-executive p {
  margin: 8px 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.main-header-login .main-sidebar .client-relation-executive p:first-of-type {
  font-weight: 600;
  color: #1e293b;
  font-size: 16px;
  margin-top: 0;
}

.main-header-login .main-sidebar .client-relation-executive p a {
  color: #0284c7;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-header-login .main-sidebar .client-relation-executive p a:hover {
  color: #027dcf;
  text-decoration: underline;
}

.notification {
  position: relative;
}

.notification li a {
  position: relative;
  color: #3d3d3d;
}

.notification li a i {
  font-size: 25px;
  color: #3d3d3d;
}

.notification li a span {
  position: absolute;
  right: 0;
  top: -2px;
  height: 8px;
  width: 8px;
  border: 1px solid #e4e6e8;
  border-radius: 50%;
  background: #027dcf;
}

.notification li a .notification-indicator {
  position: absolute;
  right: 0;
  top: -2px;
  height: 8px;
  width: 8px;
  border: 1px solid #e4e6e8;
  border-radius: 50%;
  background: #027dcf;
}

.notification .notification-dropdown {
  padding: 10px !important;
  margin-left: -250px !important;
  min-width: 130px !important;
  width: 330px;
}

.notification .notification-dropdown .notification-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ececec;
  position: relative;
}

.notification .notification-dropdown .notification-item:last-child {
  border-bottom: none;
}

.notification .notification-dropdown .notification-item.read {
  opacity: 0.8;
}

.notification .notification-dropdown .notification-item.read .unread-dot {
  display: none;
}

.notification .notification-dropdown .notification-item .profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.notification .notification-dropdown .notification-item .notification-content {
  flex: 1;
}

.notification .notification-dropdown .notification-item .notification-content p {
  margin: 0;
  font-size: 14px;
  color: #3d3d3d;
}

.notification .notification-dropdown .notification-item .notification-content small {
  font-size: 12px;
  color: #888888;
}

.small {
  font-size: 10px !important;
  line-height: 12px;
}

.notification .notification-dropdown .notification-item .unread-dot {
  width: 7px;
  height: 7px;
  background: #027dcf;
  border-radius: 50%;
  margin-left: 10px;
}

.notification .company-logo img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
}

.notification .nav-contentsdiff .company-profile-dropdownmenu {
  position: absolute;
  padding: 30px 40px 30px 20px;
  margin-top: 65px;
  margin-left: -230px;
  text-align: left;
  min-width: -moz-fit-content;
  min-width: fit-content;
  width: 260px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0px 2px 16px 2px rgba(0, 0, 0, 0.16);
  list-style: none;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.notification .nav-contentsdiff .company-profile-dropdownmenu .profile-info {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e7e7e7;
}

.notification .nav-contentsdiff .company-profile-dropdownmenu .profile-info img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
}

.notification .nav-contentsdiff .company-profile-dropdownmenu .profile-info p {
  color: #3d3d3d;
}

.notification .nav-contentsdiff .company-profile-dropdownmenu .profile-info a {
  font-size: 12px !important;
  color: #737584;
}

.notification .nav-contentsdiff .company-profile-dropdownmenu li {
  transition: all 0.5s ease-in-out;
  padding-top: 15px;
  color: #000 !important;
}

.notification .nav-contentsdiff .company-profile-dropdownmenu li a {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--black-color);
  border: none;
  transition: all 0.5s ease-in-out;
}

.notification .nav-contentsdiff .company-profile-dropdownmenu li a img {
  width: 18px;
}

.notification .nav-contentsdiff .company-profile-dropdownmenu li:hover a {
  color: var(--primary-color);
  transition: all 0.5s ease-in-out;
}

.notification .nav-contentsdiff:hover .company-profile-dropdownmenu {
  margin-top: 20px;
  opacity: 1;
  z-index: 99;
  visibility: visible;
  transition: all 0.5s ease-in-out;
}

.side-nav-active {
  background: #027dcf !important;
  border-left: 12px solid #e70000 !important;
}

.side-nav-active img {
  filter: brightness(50);
}

.side-nav-active i {
  color: #fff !important;
  border: 0 !important;
}

.side-nav-active .links_name {
  color: #fff !important;
}

.main-dashboard-section {
  margin-top: 120px;
  width: -webkit-fill-available;
  flex: 1;
  min-width: 0;
}

.welcome-company-info {
  position: relative;
  padding: 20px 15px;
  background-image: linear-gradient(290deg, #38b1f8, #027dcf);
  color: #fff;
  border-radius: 5px;
  z-index: 1;
}

.welcome-company-info::before {
  content: "";
  position: absolute;
  background-image: url(../images/user_db_banner.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.52;
  z-index: -1;
}

.welcome-company-info h4,
.welcome-company-info h6 a {
  font-weight: 400;
  color: #fff;
}

.welcome-company-info h6 {
  text-decoration: underline;
  color: #fff;
}

.welcome-company-info p {
  width: 70%;
  font-weight: 300;
  line-height: 1.5;
  padding: 15px 0px 80px 0px;
}

.welcome-company-info img {
  position: absolute;
  bottom: 0;
  right: 50px;
  width: 20%;
}

.welcome-company-info .white-clr-btn {
  border-radius: 6px;
  color: #027dcf;
  border: 1px solid #fff;
  transition: all 0.5s ease-in-out;
}

.welcome-company-info .white-clr-btn::after {
  content: "";
  position: absolute;
  height: 120%;
  width: 150%;
  background: #fff;
  transform: skewX(45deg);
  top: 0;
  left: -20%;
  z-index: -2;
  transition: all 0.5s ease-in-out;
}

.welcome-company-info .white-clr-btn:hover {
  color: #fff;
  border: 1px solid #fff;
  transition: all 0.5s ease-in-out;
}

.welcome-company-info .white-clr-btn:hover::after {
  left: 120%;
  transition: all 0.5s ease-in-out;
}

.user-db-title h6 {
  font-weight: 400;
  padding-top: 30px;
}

.dashboard-vacancies-module table {
  border-collapse: collapse;
  width: 100%;
  border-radius: 6px;
  margin-top: 20px;
}

.dashboard-vacancies-module table td {
  font-size: 14px;
}

.dashboard-vacancies-module table td a {
  color: #3d3d3d;
  transition: all 0.5s ease-in-out;
}

.dashboard-vacancies-module table td a .user-db-company-logo {
  width: 95px;
}

.dashboard-vacancies-module table td a .user-db-square-company-logo {
  width: 30px;
  height: 30px;
}

.dashboard-vacancies-module table td .upload-area-file {
  cursor: pointer;
}

.dashboard-vacancies-module table td .upload-area-file .file-input {
  display: none;
}

.dashboard-vacancies-module table td .upload-area-file .upload-button {
  color: #5d5d5d;
  background-image: linear-gradient(to bottom, #c1c1c1, rgba(255, 255, 255, 0.44));
  padding: 9px 18px;
  border: 1px solid #888888;
  border-radius: 4px;
  font-size: 14px;
  transition: transform 0.4s;
  cursor: pointer;
}

.dashboard-vacancies-module table th {
  font-weight: 400;
}

.dashboard-vacancies-module table th,
.dashboard-vacancies-module table td {
  border: none;
  text-align: left;
  padding: 15px;
}

.dashboard-vacancies-module table tr {
  border-top: 1px solid #ececec;
  transition: all 0.5s ease-in-out;
}

.dashboard-vacancies-module table tr:first-child {
  background: #027dcf;
  color: #fff;
}

.dashboard-vacancies-module table tr:not(:first-child) {
  background: #fff;
  transition: all 0.5s ease-in-out;
}

.dashboard-vacancies-module table tr:not(:first-child):hover {
  background: #e0f0fe;
  transition: all 0.5s ease-in-out;
}

.dashboard-vacancies-module table tr:not(:first-child):hover a {
  color: #027dcf;
  transition: all 0.5s ease-in-out;
}

.table-container {
  width: 100%;
}

.table-container .flex h6 {
  font-weight: 400;
}

.table-container .flex a {
  color: #027dcf;
  font-size: 14px;
}

.table-container .scrollbar {
  width: 100%;
  /*overflow-x: auto;*/
  background: #f5f5f5;
}

.table-container .scrollbar .force-overflow {
  min-width: 430px;
  width: 100%;
}

#style-1::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #f5f5f5;
}

#style-1::-webkit-scrollbar {
  height: 5px;
  background-color: #f5f5f5;
}

#style-1::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #555;
}

table {
  border-collapse: collapse;
  width: 100%;
  border-radius: 6px;
  /*overflow: hidden;*/
  margin-top: 20px;
}

table td {
  font-size: 13px;
}

table td a {
  color: #3d3d3d;
  transition: all 0.5s ease-in-out;
}

table td a .user-db-company-logo {
  width: 95px;
}

table td a .user-db-square-company-logo {
  width: 30px;
  height: 30px;
}

table td .upload-area-file {
  cursor: pointer;
}

table td .upload-area-file .file-input {
  display: none;
}

table td .upload-area-file .upload-button {
  color: #5d5d5d;
  background-image: linear-gradient(to bottom, #c1c1c1, rgba(255, 255, 255, 0.44));
  padding: 9px 18px;
  border: 1px solid #888888;
  border-radius: 4px;
  font-size: 14px;
  transition: transform 0.4s;
  cursor: pointer;
}

table th {
  font-weight: 400;
  white-space: nowrap;
}

table th,
table td {
  border: none;
  text-align: left;
  padding: 13px 15px;
}

table tr {
  border-top: 1px solid #ececec;
  transition: all 0.5s ease-in-out;
}

table tr:first-child {
  background: #027dcf;
  color: #fff;
}

table tr:not(:first-child) {
  background: #fff;
  transition: all 0.5s ease-in-out;
}

table tr:not(:first-child):hover {
  background: #e0f0fe;
  transition: all 0.5s ease-in-out;
}

table tr:not(:first-child):hover a {
  color: #027dcf;
  transition: all 0.5s ease-in-out;
}


.hide {
  display: none;
}

.main-section {
  width: 100%;
}

.material-tabs {
  position: relative;
  background: #fff;
  border-radius: 30px;
  margin-top: 30px;
  box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.12);
  width: -moz-fit-content;
  width: fit-content;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.material-tabs>.tab {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding: 13px 28px;
  font-size: 14px;
  color: #6d6d6d;
  text-align: center;
  transition: all 0.5s ease-in-out;
}

.material-tabs>.tab.tabactive,
.material-tabs>.tab:not(.tabactive):hover {
  outline: none;
  background: #027dcf;
  border-radius: 30px;
  color: #fff;
  box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.12);
  transition: all 0.5s ease-in-out;
}

.tab-content .dashboard-vacancies-module table tr td:last-child,
.tab-content .dashboard-vacancies-module table tr th:last-child {
  text-align: center;
}

.vacancy-board {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 120px;
}

.vacancy-board h4 {
  font-weight: 400;
}

.vacancy-board .search {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0px 3px 32px 0px rgba(0, 0, 0, 0.06);
}

.vacancy-board .search .search-btn {
  color: #fff;
  float: right;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #027dcf;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vacancy-board .search .search-txt {
  border: none;
  background: none;
  outline: none;
  margin-top: 15px;
  margin-left: 20px;
  font-size: 14px;
}

.vacancy-board .post-job-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 12px 24px;
  font-size: 14px;
  color: #027dcf;
  border: 1px solid #027dcf;
  border-radius: 30px;
}

.vacancy-board .post-job-btn input {
  display: none;
}

.vacancy-board .post-job-btn i {
  font-size: 10px;
  margin-right: 8px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropbtn {
  color: #3d3d3d;
  border: none;
  cursor: pointer;
  background: transparent;
}

.dropdown .dropbtn:hover,
.dropdown .dropbtn :focus {
  color: #000000;
}

.dropdown .dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.12);
  padding: 10px 20px;
  border-radius: 5px;
  margin-left: -60px;
  z-index: 1;
}

.dropdown .dropdown-content a {
  display: block;
  color: #000000;
  padding: 5px 0px;
  text-decoration: none;
  font-size: 14px;
  text-align: left;
}

.dropdown .dropdown-content button.text-button {
  padding: 5px 0px 5px 0px !important;
}

.dropdown .show {
  display: block !important;
}

.dropdown-content.show {
  display: block !important;
}

.upper-nav ul {
  display: flex;
  background: #fff;
  border-radius: 30px;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 30px;
}

.upper-nav ul li {
  display: flex;
}

.upper-nav ul li a {
  display: flex;
  align-items: center;
  padding: 15px 28px;
  border-radius: 30px;
  line-height: 1.4;
}

.upper-nav ul li a img {
  width: 16px;
}

.upper-nav ul li a i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #e70000;
  border: 1px solid #e70000;
  border-radius: 3px;
  height: 16px;
  width: 16px;
}

.upper-nav-active {
  background: #027dcf !important;
  box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.12) !important;
}

.upper-nav-active img {
  filter: brightness(50);
}

.upper-nav-active i {
  color: #fff !important;
  border: 1px solid #fff !important;
}

.upper-nav {
  margin-top: 120px;
}

.vacancy-post-banner {
  position: relative;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.025);
  padding: 25px;
  z-index: 1;
}

.vacancy-post-banner::before {
  content: "";
  position: absolute;
  background-image: url(../images/edit_profile_banner.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.05;
  z-index: -1;
}

.vacancy-post-banner.pink-vacancy-post-banner::before {
  background-image: url(../images/post-vacancy-banner.svg);
  opacity: 0.06;
}

.vacancy-post-banner h4 {
  font-weight: 500;
}

.vacancy-post-banner .post-vacency-prop {
  position: absolute;
  right: 0;
  top: 0;
  width: 120px;
}

.vacancy-post-banner h6 {
  font-weight: 500;
  color: #027dcf;
  padding: 25px 0px 15px 0px;
}

.vacancy-post-banner .vacancy-form-wrap {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  padding-bottom: 15px;
}

.vacancy-post-banner .vacancy-form-wrap-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.vacancy-post-banner .vacancy-form-wrap-2 {
  grid-template-columns: 1fr 1fr;
}

.vacancy-post-banner .vacancy-form-wrap-1 {
  grid-template-columns: 1fr;
}

/* Standardize margins for all form wrappers */
.vacancy-post-banner .vacancy-form-wrap,
.vacancy-post-banner .vacancy-form-wrap-1,
.vacancy-post-banner .vacancy-form-wrap-2,
.vacancy-post-banner .vacancy-form-wrap-job-basic,
.vacancy-post-banner .vacancy-form-wrap-4 {
  margin-bottom: 20px;
}

.vacancy-post-banner .vacancy-form-wrap .vacancy-form-module,
.vacancy-post-banner .vacancy-form-wrap-job-basic .vacancy-form-module {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.vacancy-post-banner .vacancy-form-wrap .vacancy-form-module input,
.vacancy-post-banner .vacancy-form-wrap-job-basic .vacancy-form-module input {
  border: 1px solid #e2e8f0;
  color: var(--black-color);
  background: #fff;
  border-radius: 6px;
  padding: 10px 14px;
}

.vacancy-post-banner .vacancy-form-wrap .vacancy-form-module input:disabled,
.vacancy-post-banner .vacancy-form-wrap-job-basic .vacancy-form-module input:disabled {
  background: #f8fafc;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Improved Spacing for Form Modules */
.vacancy-post-banner .vacancy-form-wrap .vacancy-form-module label,
.vacancy-post-banner .vacancy-form-wrap-job-basic .vacancy-form-module label {
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  /* Ensure 8px gap between label and input */
  display: block;
  /* Make sure label takes full width */
}

/* Add margin bottom to all form modules to separate rows */
.vacancy-post-banner .vacancy-form-wrap .vacancy-form-module,
.vacancy-post-banner .vacancy-form-wrap-job-basic .vacancy-form-module {
  margin-bottom: 0px;
  /* Reset module margin as wrapper handles row spacing now */
}


.vacancy-post-banner .vacancy-form-wrap .custom-select {
  position: relative;
}

.fixedwidthselect {
  width: 280px;
}

.vacancy-post-banner .vacancy-form-wrap .custom-select select {
  display: none;
}

.vacancy-post-banner .vacancy-form-wrap .custom-select .select-selected {
  border: 1px solid #888888;
  color: #383838;
  border-radius: 4px;
  padding: 9px 18px;
  font-size: 14px;
  background: #fff;
}

.vacancy-post-banner .vacancy-form-wrap .custom-select .select-selected::after {
  position: absolute;
  content: "";
  bottom: 18px;
  right: 20px;
  width: 7px;
  height: 7px;
  transform: rotate(225deg);
  border-top: 2px solid #888888;
  border-left: 2px solid #888888;
}

.vacancy-post-banner .vacancy-form-wrap .custom-select .select-selected.select-arrow-active::after {
  transform: rotate(45deg);
  bottom: 15px;
}

.vacancy-post-banner .vacancy-form-wrap .custom-select .select-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.2);
  border-left: 1px solid #888888;
  border-right: 1px solid #888888;
  border-bottom: 1px solid #888888;
  border-radius: 0px 0px 5px 5px;
  background: #fff;
  max-height: 250px;
  overflow-y: auto;
}

.vacancy-post-banner .vacancy-form-wrap .custom-select-general select {
  border: 1px solid #e2e8f0;
  color: var(--black-color);
  background: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  max-height: 250px;
  overflow-y: auto;
  font-size: 14px;
}


.vacancy-post-banner .vacancy-form-wrap .custom-select .select-items div {
  color: #454545;
  text-align: left;
  font-size: 15px;
  cursor: pointer;
  padding: 10px 20px;
  transition: all 0.5s ease-in-out;
}

.vacancy-post-banner .vacancy-form-wrap .custom-select .select-items div:hover {
  background: #e0f0fe;
}

.vacancy-post-banner .vacancy-form-wrap .custom-select .select-items div .same-as-selected {
  color: #888888;
  transition: all 0.5s ease-in-out;
}

.vacancy-post-banner .vacancy-form-wrap .custom-select .select-hide {
  display: none;
}

.vacancy-post-banner .post-vacency-prop-2 {
  position: absolute;
  width: 310px;
  right: 0;
  top: 45%;
}

button.text-button {
  padding: 5px 0px 15px 0px !important;
  cursor: pointer;
  display: block;
  border: none;
  outline: none;
  text-wrap: nowrap;
}

.warning-box {
  margin: 0px 0px 20px 0px;
  padding: 30px;
  border: 1px dashed rgb(28, 97, 226);
  background: rgb(230, 240, 255);
  color: #000;
  border-radius: 10px;
}

.warning-box h5 {
  color: #027dcf;
  font-size: 1.5rem;
  font-weight: 500;
  padding-bottom: 10px;
}

.warning-box p {
  font-weight: 300;
  font-size: 16px;
}

.joblist {
  display: block;
}

.joblist li {
  display: block;
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px dashed #ccc;
}

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

  .main-dashboard-section .grid-2,
  .grid-2-1 {
    grid-template-columns: 1fr;
  }

  .welcome-company-info img {
    position: absolute;
    bottom: 0;
    right: 15px;
    width: 28%;
  }

  .vacancy-board .search .search-txt {
    font-size: 14px;
    width: 150px;
  }

  .material-tabs>.tab {
    padding: 10px 20px;
  }

  .vacancy-post-banner .vacancy-form-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1023px) {
  .nav-contentsdiff .company-profile-dropdownmenu {
    margin-left: -200px;
    padding: 20px;
  }

  .notification .notification-dropdown .notification-item .profile-img {
    width: 35px;
    height: 35px;
  }

  .vacancy-post-banner .post-vacency-prop {
    width: 85px;
  }

  .vacancy-post-banner .post-vacency-prop-2 {
    width: 130px;
  }
}

@media (max-width: 950px) {
  .upper-nav {
    display: none;
  }

  .main-header-login {
    flex-direction: column;
    margin-bottom: 0;
  }

  .main-header-login .main-sidebar {
    position: unset;
  }

  .main-header-login .main-sidebar .sidebar ul {
    display: flex;
    align-items: center;
  }

  .main-header-login .main-sidebar .need-help-wrap,
  .main-header-login .main-sidebar .client-relation-executive {
    display: none;
  }

  .main-header-login .main-sidebar .sidebar .toggle-icon {
    display: block;
  }

  .main-header-login .main-sidebar .sidebar .logo-details {
    padding: 15px;
    border-bottom: none;
  }

  .main-header-login .main-sidebar .sidebar ul {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    /* Smooth touch scroll on iOS */
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    animation: none !important;
    /* Remove from ul */
  }

  /* Smart UI: Full track scroll animation on the first item - REMOVED GLOBALLY */
  .main-header-login .main-sidebar .sidebar ul li:first-child {
    /* Animation moved to page-specific style blocks to avoid repetition on every load */
    animation: none !important;
  }

  @keyframes scrollFullTrack {
    0% {
      margin-left: 0;
    }

    45% {
      margin-left: -800px;
    }

    /* Adjust based on total items width */
    55% {
      margin-left: -800px;
    }

    100% {
      margin-left: 0;
    }
  }

  .main-header-login .main-sidebar .sidebar ul::-webkit-scrollbar {
    display: none !important;
    /* Hide scrollbar for Chrome/Safari */
  }

  .main-header-login .main-sidebar .sidebar ul li {
    flex: 0 0 auto !important;
    /* Crucial: ensures items don't shrink and stay in row */
    display: block !important;
  }

  .main-header-login .main-sidebar .sidebar ul li a {
    padding: 12px 20px !important;
    border-left: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    height: 100% !important;
    min-width: 80px !important;
    text-align: center !important;
  }

  .main-header-login .main-sidebar .sidebar ul li a .links_name {
    display: none !important;
    /* Icon only for cleaner mobile scroller */
  }

  .main-header-login .main-sidebar .sidebar ul li.post-vacancy-item a {
    background: #e70000 !important;
    color: #fff !important;
  }

  .main-header-login .main-sidebar .sidebar ul li.post-vacancy-item a i {
    color: #fff !important;
  }

  .side-nav-active {
    border-left: none !important;
  }

  .main-header-login .main-sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease-in-out;
  }

  .main-header-login .main-sidebar .mobile-view-logo-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: 80px;
    padding: 25px;
    border: 6px solid #fff;
    border-radius: 6px;
    background: #ffffff;
  }

  .main-header-login .main-sidebar .mobile-view-logo-details .company-img {
    width: 100px;
    margin: 0 auto;
  }

  .main-header-login .main-sidebar .mobile-view-logo-details .user-img {
    width: 60px;
    margin: 0 auto;
  }

  .main-header-login .main-sidebar .mobile-view-logo-details h5 {
    color: #082b49;
    padding: 15px 0px 5px 0px;
    width: 100%;
  }

  .main-header-login .main-sidebar .mobile-view-logo-details span {
    color: #027dcf;
    font-size: 14px;
  }

  .main-header-login .main-sidebar .mobile-view-logo-details p a {
    color: #082b49;
    padding-top: 10px;
    font-size: 14px;
  }


  .main-header-login .main-sidebar .sidebar {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    min-height: 55px !important;
    margin-top: 15px !important;
    overflow-x: auto !important;
    /* Changed from hidden to auto to allow animation */
    overflow-y: visible !important;
    transition: all 0.5s ease-in-out !important;
    background: #fff !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  }

  /* Auto-scroll animation for horizontal icon menu */
  .main-header-login .main-sidebar .sidebar ul {
    animation: autoScrollHint 4s ease-in-out infinite;
  }

  .main-header-login .main-sidebar .sidebar .logo-details {
    display: none;
  }

  .main-header-login .main-sidebar .sidebar span {
    display: none;
    transition: all 2s ease-in-out;
  }

  .notification .notification-dropdown .notification-item .notification-content p {
    font-size: 12px;
  }

  .main-dashboard-section,
  .vacancy-board,
  .upper-nav {
    margin-top: 0px;
  }

  .table-container .scrollbar .force-overflow {
    min-width: 548px;
  }

  .material-tabs {
    display: flex;
  }
}

@media (max-width: 768px) {
  .notification .notification-dropdown .notification-item .notification-content p {
    font-size: 12px;
  }

  .vacancy-board {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center !important;
    text-align: center !important;
    padding: 10px 0 !important;
  }

  .vacancy-board h4 {
    width: 100% !important;
    text-align: center !important;
    font-size: 28px !important;
    /* Increased from 20px */
    font-weight: 700 !important;
    margin-bottom: 5px !important;
  }

  .vacancy-board form.flex {
    flex-direction: column !important;
    width: 100% !important;
    gap: 15px !important;
  }

  .vacancy-board .search {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-left: 0 !important;
  }

  .vacancy-board .search .search-txt {
    width: calc(100% - 60px) !important;
    margin-top: 0 !important;
    padding: 12px 15px !important;
  }

  .vacancy-board .post-job-btn {
    width: 100% !important;
    justify-content: center !important;
    margin-left: 0 !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
  }

  .load-more-btn {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }

  /* Keyframe animation for auto-scroll hint on mobile menu */
  @keyframes autoScrollHint {

    0%,
    100% {
      transform: translateX(0);
    }

    15% {
      transform: translateX(-15px);
    }

    30% {
      transform: translateX(0);
    }

    45% {
      transform: translateX(15px);
    }

    60% {
      transform: translateX(0);
    }
  }

  .side-nav-active {
    border-left: none !important;
  }

  .table-container .scrollbar .force-overflow {
    min-width: 570px;
  }

  .upper-nav ul li a {
    padding: 7px 20px;
  }

  .vacancy-post-banner .vacancy-form-wrap {
    grid-template-columns: 1fr;
  }

  .vacancy-post-banner .upload-area-file p .upload-button {
    padding: 6px 12px;
    font-size: 14px;
  }

  .vacancy-post-banner .upload-area-file p .upload-button .vacancy-form-wrap {
    grid-template-columns: 1fr;
  }

  .company-details-form .post-vacency-prop-2 {
    width: 70px;
  }

  .home-section {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .vacancy-board {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

@media (max-width: 650px) {
  .welcome-company-info p {
    width: 80%;
    padding: 15px 0px 60px 0px;
  }

  .dashboard-vacancies-module table td .upload-area-file .upload-button {
    padding: 7px 14px;
    font-size: 13px;
  }

  .material-tabs {
    background: transparent;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: none;
    border-radius: 0;
  }

  .material-tabs>.tab {
    background-color: white;
    border-radius: 30px;
  }
}

@media (max-width: 525px) {

  body,
  p {
    font-size: 14px;
  }

  h1 {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
  }

  h2 {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.25;
  }

  h3 {
    font-size: 26px;
    line-height: 1.3;
  }

  h4 {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.35;
  }

  h5 {
    font-size: 18px;
    line-height: 1.4;
  }

  h6 {
    font-size: 16px;
    line-height: 1.4;
  }

  .grid-4,
  .total-count-wrap {
    grid-template-columns: 1fr 1fr !important;
  }

  .total-count-module {
    width: 100% !important;
    padding: 16px 12px !important;
  }

  .total-count-module h1 {
    font-size: 30px !important;
    margin-bottom: 4px !important;
  }

  .total-count-module p {
    font-size: 11px !important;
    letter-spacing: 0.3px !important;
  }

  .total-count-module .side-icon {
    width: 48px !important;
    height: 48px !important;
    bottom: 12px !important;
    right: 10px !important;
  }

  .total-count-module .side-icon img {
    width: 22px !important;
    height: 22px !important;
  }

  .gap-30 {
    gap: 20px;
  }

  .mobile-view .mobile-menu .mobile-flex .logo-wrap a img {
    width: 160px;
  }

  .nav-contentsdiff .company-profile-dropdownmenu {
    padding: 20px 30px 20px 15px;
  }

  .nav-contentsdiff .company-profile-dropdownmenu .profile-info {
    padding-bottom: 20px;
  }

  .nav-contentsdiff .company-profile-dropdownmenu .profile-info a {
    font-size: 13px;
  }

  .welcome-company-info p {
    width: 100%;
  }

  .welcome-company-info img {
    display: none;
  }

  .vacancy-board div form.flex {
    flex-direction: column;
    align-items: normal;
    gap: 10px;
  }

  .vacancy-post-banner {
    padding: 15px;
  }

  .vacancy-post-banner .upload-area-file p .upload-button {
    padding: 6px 12px;
    margin-right: 7px;
  }

  .vacancy-post-banner .post-vacency-prop {
    width: 50px;
  }

  .dashboard-vacancies-module table th,
  .dashboard-vacancies-module table td {
    padding: 13px 10px;
    font-size: 11px;
  }

  .dashboard-vacancies-module table a {
    font-size: 11px;
  }

  .vacancy-details-table.mt-30 {
    margin-top: 15px;
  }

  .vacancy-details-table .vacancy-info {
    padding: 13px;
  }

  .vacancy-details-table .dashboard-vacancies-module .view-btn {
    padding: 5px 8px;
    font-size: 11px;
  }

  .shortlist-module .applicant-list-module div div span {
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .notification .notification-dropdown {
    margin-left: -205px !important;
    width: 275px;
  }

  .welcome-company-info p {
    padding: 15px 0px 35px 0px;
  }
}

/*# sourceMappingURL=user-dashboard-style.css.map */

/*APPLICATION DETAILS FOR EMPLOYER*/
.gird-1-5 {
  display: grid;
  grid-template-columns: 2fr 7fr;
  grid-gap: 30px;
}

.second-sidebar {
  position: sticky;
  top: 90px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.5s ease;
}

.second-sidebar ul {
  margin: 0px;
  padding: 0px;
}

.second-sidebar ul li {
  display: block;
  font-size: 14px;
}

.second-sidebar ul li a {
  display: block;
  padding: 10px 15px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}

.second-sidebar ul li a.active {
  background: #027dcf;
  color: #ffffff;
}

.second-sidebar ul li a:hover {
  color: #027dcf;
}

/* ========================================
   MODERN SETTINGS FORM STYLES
   ======================================== */

.modern-settings-container {
  max-width: 100%;
  margin: 120px 0 40px;
}

.settings-header {
  margin-bottom: 32px;
}

.settings-header h2 {
  font-size: 28px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.settings-header h2 i {
  font-size: 32px;
  color: #027dcf;
}

.settings-header p {
  color: #64748b;
  font-size: 15px;
}

.settings-card {
  background: white;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.settings-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
}

.card-header i {
  font-size: 24px;
  color: #027dcf;
}

.card-header h3 {
  font-size: 20px;
  color: #1e293b;
  margin: 0;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.upload-zone {
  display: flex;
  flex-direction: column;
}

.upload-label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.upload-area {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  transition: all 0.3s ease;
  overflow: hidden;
}

.upload-area:hover {
  border-color: #027dcf;
  background: #f0f9ff;
}

.upload-content {
  padding: 32px;
  text-align: center;
  cursor: pointer;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.upload-content i {
  font-size: 48px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.upload-content p {
  font-size: 15px;
  color: #475569;
  margin: 8px 0 4px;
  font-weight: 500;
}

.upload-content small {
  font-size: 13px;
  color: #94a3b8;
}

.upload-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e2e8f0;
}

.upload-progress {
  padding: 16px;
  background: white;
}

.progress-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar::after {
  content: '';
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #027dcf, #0ea5e9);
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.download-link {
  color: #027dcf;
  text-decoration: underline;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #027dcf;
  box-shadow: 0 0 0 3px rgba(2, 125, 207, 0.1);
}

.form-group input:disabled {
  background: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}

.required {
  color: #ef4444;
}

/* Invalid Input State for AJAX Validation */
input.is-invalid,
select.is-invalid,
textarea.is-invalid,
.quill-editor-container.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

input.is-invalid:focus,
select.is-invalid:focus,
textarea.is-invalid:focus {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}


/* Tag Pills Styles */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 40px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px 8px 0 0;
  background: white;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #027dcf 0%, #0ea5e9 100%);
  color: white;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  animation: slideIn 0.2s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.tag-pill .remove-tag {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.tag-pill .remove-tag:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.tag-input-wrapper {
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.tag-input {
  width: 100%;
  padding: 12px 16px;
  border: none;
  font-size: 15px;
  outline: none;
}

.tag-input:focus {
  background: #f8fafc;
}

.error-message {
  color: #ef4444;
  font-size: 13px;
  margin-top: 6px;
}

.help-text {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 6px;
}

#editor-container {
  min-height: 200px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 24px;
}

.btn-save {
  background: linear-gradient(135deg, #027dcf 0%, #0ea5e9 100%);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(2, 125, 207, 0.3);
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 125, 207, 0.4);
}

.btn-save i {
  font-size: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {

  .upload-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .settings-card {
    padding: 20px;
  }

  .form-actions {
    justify-content: stretch;
  }

  .btn-save {
    width: 100%;
    justify-content: center;
  }
}


/* Modern Upload Grid */
.upload-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.upload-zone-modern {
  display: flex;
  flex-direction: column;
}

.upload-label-modern {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
}

.upload-hint {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 12px;
  display: block;
}

.upload-area-modern {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.upload-area-modern:hover {
  border-color: #027dcf;
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 125, 207, 0.1);
}

.upload-content-modern {
  text-align: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.upload-content-modern i {
  font-size: 64px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.upload-content-modern p {
  font-size: 15px;
  color: #475569;
  margin: 0;
  font-weight: 500;
}

.upload-content-modern small {
  font-size: 13px;
  color: #94a3b8;
}

.upload-preview-image {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid #e2e8f0;
  margin-bottom: 8px;
}

.upload-filename {
  font-size: 14px;
  color: #334155;
  font-weight: 600;
  margin: 8px 0 !important;
}

.download-link-modern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #027dcf;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.download-link-modern:hover {
  background: #0369a1;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(2, 125, 207, 0.3);
}

.upload-progress-modern {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.progress-bar-modern {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill-modern {
  height: 100%;
  background: linear-gradient(90deg, #027dcf, #0ea5e9);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 4px;
}

.progress-text-modern {
  font-size: 14px;
  font-weight: 600;
  color: #027dcf;
}

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



/* ========================================
   WORK EXPERIENCE - MINIMALIST TIMELINE
   (Based on reference design)
   ======================================== */

/* Clean Header */
.we-header {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 40px;
  color: inherit;
  border-bottom: none;
}

.we-header-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.we-header-content i {
  font-size: 32px;
  color: #1e293b;
}

.we-header-content h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
}

.we-header-content p {
  margin: 4px 0 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 400;
}

/* Minimalist Timeline Container */
.experience-grid {
  position: relative;
  padding-left: 48px;
}

/* Simple Thin Timeline Line */
.experience-grid::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #cbd5e1;
}

/* Clean Experience Cards */
.experience-card {
  position: relative;
  background: white;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* Remove accent bar */
.experience-card-accent {
  display: none;
}

/* Hide Timeline Marker */
.timeline-year-badge {
  display: none;
}

/* Date Badge - Gradient Pill Style */
.date-badge {
  display: inline-block;
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
  border: none;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.date-badge i {
  display: none;
}

/* Clean Card Header */
.experience-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0px;
}

.company-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* Work Experience Specific - Compact Spacing */
.modern-work-experience .company-info {
  padding-bottom: 5px;
}

.modern-work-experience .company-info p {
  padding: 5px 0px 5px 0px;
}

/* Remove Company Badge */
.company-badge {
  display: none;
}

.job-info h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.company-name {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 400;
}

/* Minimal Action Buttons */
.action-buttons {
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.experience-card:hover .action-buttons {
  opacity: 1;
}

.btn-action {
  width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 16px;
  color: #64748b;
  box-shadow: none;
}

.btn-action:hover {
  transform: none;
  box-shadow: none;
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-action:active {
  transform: none;
}

.btn-drag {
  background: white;
  color: #64748b;
  cursor: grab;
}

.btn-drag:active {
  cursor: grabbing;
}

.btn-drag:hover {
  background: #f8fafc;
}

.btn-edit {
  background: white;
  color: #64748b;
}

.btn-edit:hover {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #16a34a;
}

.btn-delete {
  background: white;
  color: #64748b;
}

.btn-delete:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #dc2626;
}

/* Clean Card Body */
.experience-card-body {
  padding-left: 0;
}

.job-description {
  color: #475569;
  line-height: 1.7;
  font-size: 14px;
  white-space: pre-wrap;
  margin-top: 12px;
}

/* Clean Empty State */
.empty-state {
  text-align: center;
  padding: 64px 32px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
}

.empty-state i {
  font-size: 48px;
  color: #cbd5e1;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  margin-bottom: 16px;
}

.empty-state h3 {
  margin: 0 0 8px 0;
  color: #1e293b;
  font-size: 18px;
  font-weight: 600;
}

.empty-state p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

/* Clean Form Card */
.experience-form-card {
  background: white;
  border-radius: 12px;
  padding: 28px;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.form-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.form-card-header i {
  font-size: 24px;
  color: #1e293b;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.form-card-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
}

/* Clean Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.form-group label small {
  color: #94a3b8;
  font-weight: 400;
}

.required {
  color: #dc2626;
}

.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
  font-family: inherit;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e293b;
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.05);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Clean Form Actions */
.form-actions {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: none;
}

.btn:hover {
  transform: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: none;
}

.primary-btn {
  background: #1e293b;
  color: white;
}

.primary-btn:hover {
  background: #0f172a;
}

.primary-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.secondary-btn {
  background: #f1f5f9;
  color: #475569;
}

.secondary-btn:hover {
  background: #e2e8f0;
}

/* Sortable States */
.sortable-ghost {
  opacity: 0.4;
}

.sortable-drag {
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: none;
}

/* Animations */
@keyframes fadeOut {
  to {
    opacity: 0;
    transform: scale(0.98);
  }
}

.bx-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .we-header {
    padding: 0 0 24px 0;
  }

  .we-header-content i {
    font-size: 24px;
  }

  .we-header-content h2 {
    font-size: 22px;
  }

  .experience-grid {
    padding-left: 32px;
  }

  .experience-grid::before {
    left: 6px;
  }

  .timeline-year-badge {
    left: -26px;
    width: 12px;
    height: 12px;
  }

  .experience-card-body {
    padding-left: 0;
  }

  .company-info {
    gap: 6px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .action-buttons {
    opacity: 1;
  }
}

/* ========================================
   EMPLOYEE DOCUMENTS PAGE STYLES
   ======================================== */

/* Section Header */
.section-header {
  margin-bottom: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* Document Grid */
.document-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

/* Document Card */
.document-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: move;
}

.document-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* Card Header */
.document-card-header {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  flex-shrink: 0;
}

.file-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}

.file-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.document-actions {
  display: flex;
  gap: 6px;
  margin-left: 12px;
}

.action-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 13px;
}

.action-btn:hover {
  transform: scale(1.1);
}

.edit-btn:hover {
  background: #dbeafe;
  color: #027dcf;
}

.delete-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Card Body */
.document-card-body {
  padding: 12px 16px;
  flex-grow: 1;
  min-width: 0;
}

.document-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 6px 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.document-meta {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

.meta-item i {
  font-size: 12px;
  color: #94a3b8;
  width: 14px;
}

/* Card Footer */
.document-card-footer {
  padding: 12px 16px;
  background: transparent;
  border-left: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.btn-download-modern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #027dcf 0%, #0c86d6 100%);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-download-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 125, 207, 0.4);
  color: #ffffff;
}

.btn-download-modern i {
  font-size: 13px;
}

/* Sortable Drag States */
.sortable-ghost {
  opacity: 0.4;
  background: #f8fafc;
}

.sortable-chosen {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
}

.sortable-drag {
  opacity: 0.8;
  cursor: grabbing !important;
}

/* Empty State */
.empty-state-documents {
  grid-column: 1 / -1;
  background: #ffffff;
  border-radius: 16px;
  padding: 60px 32px;
  text-align: center;
  border: 2px dashed #e2e8f0;
}

.empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #027dcf 0%, #0c86d6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #ffffff;
}

.empty-state-documents h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.empty-state-documents p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* Form Card */
.document-form-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  margin-top: 32px;
}

.form-card-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.form-card-header h5 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

/* Modern Form */
.modern-form {
  padding: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.required {
  color: #dc2626;
}

.form-input {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #1e293b;
  transition: all 0.2s ease;
  background: #ffffff;
}

.form-input:focus {
  outline: none;
  border-color: #027dcf;
  box-shadow: 0 0 0 3px rgba(2, 125, 207, 0.1);
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #64748b;
}

.current-file-info {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #027dcf;
  font-weight: 500;
}

/* Form Buttons */
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #027dcf 0%, #0c86d6 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 125, 207, 0.4);
}

.btn-cancel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #f1f5f9;
  color: #64748b;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel:hover {
  background: #e2e8f0;
  color: #475569;
}

#edit-form {
  display: none;
}

/* Document Page Responsive */
@media (max-width: 768px) {
  .document-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-title {
    font-size: 18px;
  }

  .empty-state-documents {
    padding: 40px 20px;
  }

  /* Fix document card layout on mobile */
  .document-card {
    flex-direction: column;
    align-items: stretch;
  }

  .document-card-header {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
  }

  .document-card-body {
    padding: 16px;
  }

  .document-card-footer {
    padding: 16px;
    border-left: none;
    border-top: 1px solid #f1f5f9;
  }

  .btn-download-modern {
    width: 100%;
    justify-content: center;
  }

  .document-meta {
    flex-direction: column;
    gap: 8px;
  }

  .document-title {
    white-space: normal;
    overflow: visible;
  }
}

@media (max-width: 480px) {
  .document-card-header {
    padding: 12px;
  }

  .document-card-body {
    padding: 12px;
  }

  .document-card-footer {
    padding: 12px;
  }

  .file-icon-wrapper {
    width: 40px;
    height: 40px;
  }

  .action-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* ========================================
   MODERN VACANCY CARDS LAYOUT - SLIM HORIZONTAL (ALL-VACANCY PAGE ONLY)
   ======================================== */

/* Grid Container - Single Column - SCOPED TO ALL-VACANCY PAGE */
.vacancy-list-page .vacancy-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

/* Individual Vacancy Card - Horizontal Slim Design - SCOPED TO ALL-VACANCY PAGE */
.vacancy-list-page .vacancy-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 12px 16px;
  position: relative;
  border-left: 3px solid #027dcf;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: auto;
  overflow: visible !important;
  /* CRITICAL: Allow dropdown to spill out */
  z-index: 1;
  /* Ensure base stacking context */
}

.vacancy-list-page .vacancy-card:hover {
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: #fafbfc;
}

/* Status-based border colors */
.vacancy-list-page .vacancy-card.status-published {
  border-left-color: #027dcf;
}

.vacancy-list-page .vacancy-card.status-draft {
  border-left-color: #888888;
}

.vacancy-list-page .vacancy-card.status-expired {
  border-left-color: #e70000;
}

.vacancy-list-page .vacancy-card.status-cancelled {
  border-left-color: #3d3d3d;
}

.vacancy-list-page .vacancy-card.status-restricted {
  border-left-color: #ff8b00;
}

.vacancy-list-page .vacancy-card.status-unapproved {
  border-left-color: #ffa500;
}

/* Card Header - Inline */
.vacancy-list-page .vacancy-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-bottom: 0;
}

/* Override any inherited padding for list view */
.vacancy-list-header {
  padding: 0 !important;
  padding-bottom: 0 !important;
}

.vacancy-list-page .vacancy-id-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: #f0f8ff;
  color: #027dcf;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

/* Status Badges - Inline */
.vacancy-list-page .vacancy-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.vacancy-list-page .vacancy-status-badge.status-published {
  background: linear-gradient(135deg, #027dcf, #38b1f8);
  color: #fff;
}

.vacancy-list-page .vacancy-status-badge.status-draft {
  background: #e8e8e8;
  color: #5d5d5d;
}

.vacancy-list-page .vacancy-status-badge.status-expired {
  background: #ffe5e5;
  color: #e70000;
}

.vacancy-list-page .vacancy-status-badge.status-cancelled {
  background: #3d3d3d;
  color: #fff;
}

.vacancy-list-page .vacancy-status-badge.status-restricted {
  background: #fff3e0;
  color: #ff8b00;
}

.vacancy-list-page .vacancy-status-badge.status-unapproved {
  background: #fff8e1;
  color: #f57c00;
}

/* Card Title - Inline */
.vacancy-list-page .vacancy-card-title {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.vacancy-list-page .vacancy-card-title a {
  font-size: 14px;
  font-weight: 600;
  color: #3d3d3d;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vacancy-list-page .vacancy-card-title a:hover {
  color: #027dcf;
}

/* Info Grid - Horizontal Inline */
.vacancy-list-page .vacancy-info-grid {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
  padding-top: 0;
  border-top: none;
  flex-shrink: 0;
}

.vacancy-list-page .vacancy-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-direction: row;
}

.vacancy-list-page .vacancy-info-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
  white-space: nowrap;
}

.vacancy-list-page .vacancy-info-label i {
  font-size: 10px;
  color: #027dcf;
}

.vacancy-list-page .vacancy-info-value {
  font-size: 12px;
  color: #3d3d3d;
  font-weight: 600;
  white-space: nowrap;
}

/* Days Left Coloring */
.vacancy-list-page .vacancy-info-value.days-active {
  color: #28a745;
}

.vacancy-list-page .vacancy-info-value.days-completed {
  color: #e70000;
}

/* Card Footer - Inline */
.vacancy-list-page .vacancy-card-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 0;
  border-top: none;
  flex-shrink: 0;
  margin-left: auto;
}

/* Action Dropdown in Card */
.vacancy-list-page .vacancy-card .dropdown {
  position: relative;
}

.vacancy-list-page .vacancy-card .dropdown .dropbtn {
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 14px;
  border: none;
  cursor: pointer;
  color: #3d3d3d;
}

.vacancy-list-page .vacancy-card .dropdown .dropbtn:hover {
  background: #027dcf;
  color: #fff;
}

.vacancy-list-page .vacancy-card .dropdown .dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  left: auto;
  top: 100%;
  margin-top: 5px;
  margin-left: 0;
  margin-right: 0;
  min-width: 120px;
  background: #fff;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.12);
  padding: 10px 15px;
  border-radius: 6px;
  z-index: 9999;
}

.vacancy-list-page .vacancy-card .dropdown .dropdown-content.show {
  display: block !important;
}

.vacancy-list-page .vacancy-card .dropdown .dropdown-content a {
  display: block;
  color: #3d3d3d;
  padding: 6px 0;
  text-decoration: none;
  font-size: 13px;
  text-align: left;
  transition: color 0.2s ease;
}

.vacancy-list-page .vacancy-card .dropdown .dropdown-content a:hover {
  color: #027dcf;
}

.vacancy-list-page .vacancy-card .dropdown .dropdown-content button.text-button {
  padding: 6px 0 !important;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 13px;
}

/* Load More Container */
.load-more-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #027dcf, #38b1f8);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(2, 125, 207, 0.3);
}

.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 125, 207, 0.4);
}

.load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.load-more-btn i {
  font-size: 14px;
}

/* Loading Spinner */
.vacancy-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.vacancy-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f0f0f0;
  border-top: 4px solid #027dcf;
  border-radius: 50%;
  animation: vacancy-spin 1s linear infinite;
}

@keyframes vacancy-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Fade-in animation for newly loaded cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.vacancy-card.fade-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* Empty State */
.vacancy-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 8px;
  margin-top: 30px;
}

.vacancy-empty-state i {
  font-size: 64px;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.vacancy-empty-state h5 {
  color: #888888;
  font-weight: 400;
  margin-bottom: 10px;
}

.vacancy-empty-state p {
  color: #aaaaaa;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .vacancy-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .vacancy-cards-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .vacancy-list-page .vacancy-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 15px !important;
  }

  .vacancy-list-page .vacancy-card-title {
    width: 100% !important;
  }

  .vacancy-list-page .vacancy-card-title a {
    font-size: 16px !important;
    white-space: normal !important;
    /* Allow wrapping */
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .vacancy-list-page .vacancy-info-grid {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    padding-top: 10px !important;
    border-top: 1px solid #f0f0f0 !important;
  }

  .vacancy-list-page .vacancy-info-item {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .vacancy-list-page .vacancy-card-footer {
    width: 100% !important;
    margin-left: 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid #f0f0f0 !important;
    justify-content: flex-end !important;
  }

  .load-more-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ========================================
   MODERN VACANCY FORM STYLES
   ======================================== */

/* Main Form Container */
.modern-vacancy-form-container {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 30px;
}

/* Header Section with Gradient */
.modern-form-header {
  background: linear-gradient(135deg, #027dcf 0%, #0298f5 100%);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}

.modern-form-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.modern-form-header::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.header-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #ffffff;
  flex-shrink: 0;
}

.header-text h2 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.header-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

/* Form Sections */
.modern-form-section {
  padding: 30px;
  border-bottom: 1px solid #f0f0f0;
}

.modern-form-section:last-of-type {
  border-bottom: none;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.section-header i {
  font-size: 20px;
  color: #027dcf;
}

.section-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

/* Form Grid Layouts */
.form-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.form-grid:last-child {
  margin-bottom: 0;
}

.form-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.form-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.form-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Form Fields */
.modern-form-field {
  display: flex;
  flex-direction: column;
}

.modern-form-field label {
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.modern-form-field .required {
  color: #e70000;
  font-weight: 600;
}

/* Input Wrapper with Icons */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper .input-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  color: #94a3b8;
  pointer-events: none;
  z-index: 1;
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #1e293b;
  background: #ffffff;
  transition: all 0.3s ease;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
  outline: none;
  border-color: #027dcf;
  box-shadow: 0 0 0 3px rgba(2, 125, 207, 0.1);
}

.input-wrapper input::placeholder {
  color: #94a3b8;
}

.input-wrapper input[type="number"] {
  -moz-appearance: textfield;
  appearance: none;
  /* Added for cross-browser consistency */
  -moz-appearance: none;
  /* Added for cross-browser consistency */
}

.input-wrapper input[type="number"]::-webkit-outer-spin-button,
.input-wrapper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
  position: absolute;
}

/* Select Dropdowns */
.input-wrapper select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Field Hints */
.field-hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 6px;
  display: block;
}

/* Error Messages */
.modern-error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e70000;
  font-size: 13px;
  margin-top: 6px;
  animation: slideDown 0.3s ease;
}

.modern-error-message i {
  font-size: 14px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

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

/* Editor Wrapper */
.editor-wrapper {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.editor-wrapper:focus-within {
  border-color: #027dcf;
  box-shadow: 0 0 0 3px rgba(2, 125, 207, 0.1);
}

.modern-quill-editor {
  min-height: 200px;
  background: #ffffff;
}

.modern-quill-editor .ql-toolbar {
  background: #f8fafc;
  border: none;
  border-bottom: 1px solid #e2e8f0;
}

.modern-quill-editor .ql-container {
  border: none;
  font-size: 14px;
}

/* Checkbox Field */
.modern-checkbox-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  margin-top: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-checkbox-field:hover {
  background: #e0f2fe;
}

.modern-checkbox-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #027dcf;
}

.modern-checkbox-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  cursor: pointer;
  margin: 0;
}

.modern-checkbox-field label i {
  font-size: 18px;
  color: #027dcf;
}

/* Radio Group */
.modern-radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.modern-radio-field {
  position: relative;
}

.modern-radio-field input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.modern-radio-field label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-radio-field label i {
  font-size: 24px;
  color: #64748b;
  transition: all 0.3s ease;
}

.modern-radio-field label span {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

.modern-radio-field label small {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

.modern-radio-field input[type="radio"]:checked+label {
  background: #e0f2fe;
  border-color: #027dcf;
}

.modern-radio-field input[type="radio"]:checked+label i {
  color: #027dcf;
}

.modern-radio-field label:hover {
  border-color: #027dcf;
  background: #f0f9ff;
}

/* Radio content styles */
/* Radio content styles */
.modern-radio-card .radio-content {
  /* Radio content styles */
}

/* Form Actions */
.modern-form-actions {
  padding: 30px;
  background: #f8fafc;
}

.action-options {
  margin-bottom: 25px;
}

.submit-button-wrapper {
  display: flex;
  justify-content: center;
}

.modern-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 48px;
  background: linear-gradient(135deg, #027dcf 0%, #0298f5 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(2, 125, 207, 0.3);
}

.modern-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 125, 207, 0.4);
}

.modern-submit-btn:active {
  transform: translateY(0);
}

.modern-submit-btn i {
  font-size: 18px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .form-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .modern-form-header {
    padding: 30px 20px;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .header-text h2 {
    font-size: 24px;
  }

  .header-text p {
    font-size: 14px;
  }

  .modern-form-section {
    padding: 20px;
  }

  .section-header h3 {
    font-size: 18px;
  }

  .form-grid-2,
  .form-grid-3,
  .form-grid-4 {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .modern-radio-group {
    grid-template-columns: 1fr;
  }

  .modern-submit-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .modern-form-header {
    padding: 25px 15px;
  }

  .header-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .header-text h2 {
    font-size: 20px;
  }

  .modern-form-section {
    padding: 15px;
  }

  .input-wrapper input,
  .input-wrapper select {
    padding: 14px 14px 14px 42px;
    font-size: 16px;
    /* Prevents zoom on iOS */
  }

  .modern-submit-btn {
    padding: 14px 32px;
    font-size: 15px;
  }
}

/* ========================================
   TOGGLE SWITCH STYLES (FLAT GREEN)
   ======================================== */

.toggle-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 5px 0;
  min-height: 42px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked+.toggle-slider {
  background-color: #10b981;
  /* Emerald Green */
}

.toggle-switch input:checked+.toggle-slider:before {
  transform: translateX(22px);
}

.toggle-label {
  font-size: 15px;
  color: #334155;
  font-weight: 500;
  user-select: none;
  cursor: pointer;
  line-height: 1;
  margin-top: 1px;
}

/* Status Box Labels */
.status-box-label {
  display: block !important;
  padding: 15px !important;
  background: #ffffff !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 8px !important;
  margin-bottom: 0 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  height: 100%;
}

.status-box-label:hover {
  border-color: #027dcf !important;
  background: #f0f9ff !important;
}

/* Selected State */
.status-box-label:has(input[type="radio"]:checked) {
  border-color: #027dcf !important;
  background: #f0f9ff !important;
}

.status-box-label input[type="radio"] {
  margin-right: 8px;
  accent-color: #027dcf;
}

.status-box-label input[type="radio"]:checked+br+small {
  color: #027dcf;
}

.status-box-label small {
  display: block;
  margin-top: 8px;
  margin-left: 22px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

/* Custom Grid for Job Basic Grid (3/4 and 1/4) */
.vacancy-form-wrap-job-basic {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 15px;
  width: 100%;
}

@media (max-width: 768px) {
  .vacancy-form-wrap-job-basic {
    grid-template-columns: 1fr;
  }
}

/* Submit Button Styling - Aligned with Theme */
/* Removed aggressive overrides to match theme style */
.submit-vacancy-btn {
  /* Only add necessary layout adjustments if needed, relying on .primary-btn for style */
  font-size: 16px;
  padding: 12px 30px;
}

/* ========================================
   TAG PILLS STYLES
   ======================================== */

.tags-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  min-height: 32px;
  padding: 8px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #027dcf 0%, #0298f5 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  transition: all 0.2s ease;
  animation: tagFadeIn 0.3s ease;
}

@keyframes tagFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.tag-pill i {
  cursor: pointer;
  font-size: 11px;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.tag-pill i:hover {
  opacity: 1;
  transform: scale(1.2);
}

.tag-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(2, 125, 207, 0.3);
}

/* Empty state for tags container */
.tags-pills-container:empty::before {
  content: "No tags added yet";
  color: #94a3b8;
  font-size: 13px;
  font-style: italic;
}

/* ========================================
   QUILL EDITOR CONSISTENCY
   ======================================== */

.quill-editor-container {
  min-height: 200px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.quill-editor-container .ql-toolbar {
  background: #f8fafc;
  border: none;
  border-bottom: 1px solid #e2e8f0;
}

.quill-editor-container .ql-container {
  border: none;
  font-size: 14px;
  min-height: 150px;
}

/* ========================================
   MODERN FORM SECTION ADJUSTMENTS
   ======================================== */

.modern-form-section h6 {
  font-weight: 500;
  color: #027dcf;
  padding: 0 0 15px 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  font-size: 18px;
}

.modern-form-section small {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-top: 4px;
  margin-bottom: 8px;
}

/* Ensure consistent spacing */
.modern-form-section .vacancy-form-wrap {
  margin-bottom: 0;
}

.modern-form-section .vacancy-form-module {
  margin-bottom: 0;
}

/* Modern form actions alignment */
.modern-form-actions {
  padding: 30px;
  background: #f8fafc;
}

.modern-form-actions h6 {
  font-weight: 500;
  color: #027dcf;
  padding: 0 0 15px 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #e2e8f0;
  font-size: 18px;
}

.modern-form-actions .vacancy-form-module label {
  display: block;
  padding: 15px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-form-actions .vacancy-form-module label:hover {
  border-color: #027dcf;
  background: #f0f9ff;
}

.modern-form-actions .vacancy-form-module label input[type="radio"] {
  margin-right: 10px;
  accent-color: #027dcf;
}

.modern-form-actions .vacancy-form-module label small {
  display: block;
  margin-top: 8px;
  margin-left: 24px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

/* ========================================
   MODERN FLATPICKR CALENDAR STYLES (COMPACT)
   ======================================== */

/* Calendar Container - Compact */
.flatpickr-calendar {
  background: #ffffff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  padding: 0;
  font-family: inherit;
  animation: flatpickrFadeIn 0.15s ease;
  width: 280px !important;
}

@keyframes flatpickrFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

/* Month Navigation - Compact */
.flatpickr-months {
  background: linear-gradient(135deg, #027dcf 0%, #0298f5 100%);
  border-radius: 10px 10px 0 0;
  padding: 12px 15px;
}

.flatpickr-month {
  color: #ffffff;
  fill: #ffffff;
  height: auto;
}

.flatpickr-current-month {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  padding: 0;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 4px 8px;
  font-weight: 600;
  font-size: 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
  background: rgba(255, 255, 255, 0.25);
}

.flatpickr-current-month .numInputWrapper {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  padding: 1px;
}

.flatpickr-current-month input.cur-year {
  color: #ffffff;
  font-weight: 600;
  background: transparent;
  font-size: 14px;
}

/* Navigation Arrows - Compact */
.flatpickr-prev-month,
.flatpickr-next-month {
  fill: #ffffff;
  padding: 6px;
  border-radius: 5px;
  transition: all 0.2s ease;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  background: rgba(255, 255, 255, 0.2);
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  width: 10px;
  height: 10px;
}

/* Weekdays - Compact */
.flatpickr-weekdays {
  background: #f8fafc;
  padding: 8px 0 6px 0;
  border-bottom: 1px solid #e2e8f0;
}

.flatpickr-weekday {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Days Container - Compact */
.flatpickr-days {
  padding: 8px;
}

.flatpickr-day {
  color: #334155;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  margin: 1px;
  transition: all 0.15s ease;
  height: 32px;
  line-height: 32px;
  max-width: 32px;
}

.flatpickr-day:hover {
  background: #f0f9ff;
  border-color: #027dcf;
  color: #027dcf;
}

/* Today - Compact */
.flatpickr-day.today {
  border: 1.5px solid #027dcf;
  background: transparent;
  color: #027dcf;
  font-weight: 600;
}

.flatpickr-day.today:hover {
  background: #f0f9ff;
}

/* Selected Date - Compact */
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: linear-gradient(135deg, #027dcf 0%, #0298f5 100%);
  color: #ffffff;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(2, 125, 207, 0.25);
}

/* Disabled Days */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #cbd5e1;
  background: transparent;
  cursor: not-allowed;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #cbd5e1;
}

/* In Range */
.flatpickr-day.inRange {
  background: #e0f2fe;
  border-color: #bae6fd;
  box-shadow: none;
}

/* Start/End Range */
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: linear-gradient(135deg, #027dcf 0%, #0298f5 100%);
  color: #ffffff;
  border-radius: 6px;
}

/* Time Picker (if enabled) - Compact */
.flatpickr-time {
  border-top: 1px solid #e2e8f0;
  padding: 8px;
  background: #f8fafc;
  border-radius: 0 0 10px 10px;
}

.flatpickr-time input {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  color: #334155;
  font-weight: 500;
  padding: 4px;
  font-size: 13px;
}

.flatpickr-time input:hover {
  border-color: #027dcf;
}

.flatpickr-time .flatpickr-time-separator {
  color: #64748b;
  font-weight: 600;
}

/* Input Field Enhancement */
input.flatpickr-input {
  cursor: pointer;
}

input.flatpickr-input:focus {
  border-color: #027dcf;
  box-shadow: 0 0 0 3px rgba(2, 125, 207, 0.1);
}

/* Compact Mode Adjustments */
.flatpickr-calendar.inline {
  box-shadow: none;
  border: 1px solid #e2e8f0;
}

/* Animation for date selection - Subtle */
.flatpickr-day.selected {
  animation: dateSelect 0.2s ease;
}

@keyframes dateSelect {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

/* Mobile Responsive - Even More Compact */
@media (max-width: 480px) {
  .flatpickr-calendar {
    font-size: 13px;
    width: 260px !important;
  }

  .flatpickr-day {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    max-width: 30px;
  }

  .flatpickr-current-month {
    font-size: 14px;
  }

  .flatpickr-months {
    padding: 10px 12px;
  }
}

/* Modern Settings Card */
.settings-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.settings-card .card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.settings-card .card-header i {
  font-size: 24px;
  color: var(--primary-color);
  background: rgba(2, 125, 207, 0.1);
  padding: 10px;
  border-radius: 8px;
}

.settings-card .card-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

/* Modern Radio Group */
.radio-group-modern {
  display: flex;
  gap: 15px;
}

.radio-group-modern .radio-option {
  cursor: pointer;
  position: relative;
}

.radio-group-modern .radio-option input {
  display: none;
}

.radio-group-modern .radio-option .option-content {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  color: #64748b;
  font-weight: 500;
  transition: all 0.3s ease;
}

.radio-group-modern .radio-option input:checked+.option-content {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(2, 125, 207, 0.05);
}

.radio-group-modern .radio-option .option-content i {
  font-size: 18px;
}


/* Consistent Quill Editor Style */
.quill-editor-container {
  min-height: 200px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.ql-toolbar.ql-snow {
  border: 1px solid #e2e8f0;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.ql-container.ql-snow {
  border: 1px solid #e2e8f0;
  border-radius: 0 0 8px 8px;
}


/* Minimal & Compact Flatpickr Theme */
.flatpickr-calendar {
  font-family: inherit !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  width: 250px !important;
  /* Compact width */
  padding: 0 !important;
  border: 1px solid #f0f0f0 !important;
}

.flatpickr-months {
  background: #fff !important;
  border-radius: 8px 8px 0 0 !important;
  padding: 10px !important;
  border-bottom: 1px solid #f0f0f0;
}

.flatpickr-month {
  height: 30px !important;
  color: #1e293b !important;
  fill: #1e293b !important;
}

.flatpickr-current-month {
  padding-top: 0 !important;
  height: 28px !important;
  font-size: 110% !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  font-weight: 600 !important;
  color: #1e293b !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
  background: transparent !important;
  color: #000 !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
  fill: #64748b !important;
  /* Neutral arrow color */
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  fill: #1e293b !important;
  /* darker neutral on hover */
  color: #1e293b !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: inherit !important;
}

.flatpickr-weekday {
  font-weight: 500 !important;
  font-size: 12px !important;
  color: #94a3b8 !important;
  background: #fff !important;
}

.flatpickr-days {
  width: 250px !important;
  /* Match calendar width */
  border-top: none !important;
}

.dayContainer {
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
  padding: 5px !important;
}

.flatpickr-day {
  max-width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  font-size: 13px !important;
  margin: 1px !important;
  border-radius: 6px !important;
  border: 1px solid transparent !important;
  color: #334155 !important;
}

/* Selected State - making it dark grey/neutral based on "no blue" rule for header/bg context, but user said "just hover color... can be blue". 
   Usually selected is blue. I'll make selected blue but ensure it doesn't affect header. */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange {
  background: #334155 !important;
  /* Dark Grey for selected */
  border-color: #334155 !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Hover State - Blue as requested */
.flatpickr-day:hover,
.flatpickr-day:focus {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

.flatpickr-day.today {
  border-color: #e2e8f0 !important;
  background: transparent !important;
  color: var(--primary-color) !important;
  font-weight: bold !important;
}

.flatpickr-day.today:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #cbd5e1 !important;
}

/* Hide Arrow */
.flatpickr-calendar:before,
.flatpickr-calendar:after {
  display: none !important;
}

/* Sticky Vacancy Info Card */
.vacancy-sticky-card {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  z-index: 99;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Post Vacancy Custom Sttles */
.main-header-login .main-sidebar .sidebar ul li.post-vacancy-item {
  background: var(--red-color);
}

.main-header-login .main-sidebar .sidebar ul li.post-vacancy-item a {
  background: transparent !important;
  color: #fff !important;
}

.main-header-login .main-sidebar .sidebar ul li.post-vacancy-item a i,
.main-header-login .main-sidebar .sidebar ul li.post-vacancy-item a .links_name {
  color: #fff !important;
}

.main-header-login .main-sidebar .sidebar ul li.post-vacancy-item:hover {
  background: #c00000;
}

/* Interview Badge */
.interview-badge {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  min-width: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

/* Draft Badge */
.draft-badge {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: #64748b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  min-width: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(100, 116, 139, 0.3);
}

.main-header-login .main-sidebar .sidebar ul li a {
  position: relative;
}

/* =========================================
   MODERN SINGLE COLUMN VIEW VACANCY STYLES
   ========================================= */

.modern-vac-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  font-family: 'Inter', sans-serif;
  /* Ensure clean font */
}

/* Header Card */
.modern-vac-header-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: 40px;
  margin-bottom: 25px;
  text-align: center;
  border: 1px solid #f1f5f9;
}

.modern-vac-header-logo {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.modern-vac-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.modern-vac-company-name {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 25px;
  font-weight: 500;
}

/* Quick Stats Bar */
.modern-vac-stats-bar {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.modern-vac-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
}

.modern-vac-stat i {
  color: #027dcf;
  font-size: 16px;
  background: #f0f9ff;
  padding: 8px;
  border-radius: 50%;
}

/* Content Cards */
.modern-vac-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  padding: 35px;
  margin-bottom: 25px;
  border: 1px solid #f1f5f9;
}

.modern-vac-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  /* Highlight on hover */
}

.modern-vac-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f8fafc;
}

.modern-vac-section-title i {
  color: #027dcf;
}

/* Buttons */
.modern-vac-btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #027dcf;
  border: 2px solid #027dcf;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.modern-vac-btn-download:hover {
  background: #027dcf;
  color: #fff;
}

/* Pills & Badges - Keeping existing but refining spacing */
.modern-vac-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 0;
}

.modern-vac-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.modern-vac-pill i {
  font-size: 14px;
}

/* Specific Pill Colors */
.modern-vac-pill-blue {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #bae6fd;
}

.modern-vac-pill-green {
  background: #dcfce7;
  color: #16a34a;
  border-color: #bbf7d0;
}

.modern-vac-pill-purple {
  background: #f3e8ff;
  color: #9333ea;
  border-color: #e9d5ff;
}

.modern-vac-pill-orange {
  background: #ffedd5;
  color: #ea580c;
  border-color: #fed7aa;
}

.modern-vac-content {
  color: #475569;
  line-height: 1.8;
  font-size: 15px;
}

.modern-vac-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.modern-vac-info-item {
  background: #f8fafc;
  padding: 15px;
  border-radius: 12px;
}

.modern-vac-info-label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-vac-info-value {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
}

/* Company Section */
.modern-vac-company {
  display: flex;
  align-items: center;
  gap: 20px;
}

.modern-vac-company-logo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  padding: 5px;
  background: white;
}

.modern-vac-company-details h4 {
  margin: 0 0 8px 0;
  color: #1e293b;
  font-size: 20px;
}

.modern-vac-company-meta {
  display: flex;
  gap: 15px;
  color: #64748b;
  font-size: 14px;
  flex-wrap: wrap;
}

.modern-vac-company-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Offer & Status Section */
.modern-vac-status-bg {
  padding: 20px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: center;
  margin-bottom: 20px;
}

.modern-vac-status-badge {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-vac-status-pending {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
}

.modern-vac-status-accepted {
  background: #ecfdf5;
  color: #16a34a;
  border: 1px solid #d1fae5;
}

.modern-vac-status-rejected {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
}

/* Timeline */
.modern-vac-timeline {
  position: relative;
  padding-left: 20px;
}

.modern-vac-timeline-item {
  position: relative;
  padding-bottom: 25px;
  padding-left: 20px;
  border-left: 2px solid #e2e8f0;
}

.modern-vac-timeline-item:last-child {
  border-left: 2px solid transparent;
}

.modern-vac-timeline-icon {
  position: absolute;
  left: -11px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #027dcf;
  border: 3px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modern-vac-timeline-content {
  background: #f8fafc;
  /* Lighter background for interview cards */
  padding: 15px;
  border-radius: 10px;
  margin-top: -5px;
}

.modern-vac-btn-full {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.modern-vac-btn-primary {
  background: var(--primary-color);
  color: white;
}

.modern-vac-btn-primary:hover {
  background: #026aa8;
  color: white;
}

.modern-vac-btn-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
}

.modern-vac-btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

/* Global Dashboard Style Fixes */
.vacancy-sidebar-header {
  display: none;
}

.cv-button-container {
  display: flex;
  justify-content: center;
  margin: 15px 0;
  width: 100%;
}

.cv-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white !important;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
  letter-spacing: 0.3px;
}

.cv-pill-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
  color: white !important;
}

.cv-pill-btn i {
  font-size: 16px;
}

/* Interview Widget Modern */
.interview-widget-modern {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid #bfdbfe;
  border-left: 5px solid #3b82f6;
  border-radius: 12px;
  padding: 24px;
  margin-top: 25px;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.interview-info-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.interview-icon-box {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}

.interview-title {
  margin: 0;
  color: #1e40af;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.interview-time-row {
  color: #475569;
  font-size: 15px;
  margin-top: 6px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.interview-time {
  color: #3b82f6;
  font-weight: 700;
}

.interview-divider {
  color: #cbd5e1;
}

.interview-relative {
  font-size: 12px;
  color: #ef4444;
  background: #fee2e2;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.interview-actions-modern {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-interview-join,
.btn-interview-edit {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-interview-join {
  background: #ffffff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-interview-join:hover {
  background: #f0f7ff;
  border-color: #bfdbfe;
  transform: translateY(-1px);
}

.btn-interview-edit {
  background: #3b82f6;
  color: white;
  border: none;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.btn-interview-edit:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

/* =========================================
   Global Mobile Responsiveness 
   ========================================= */

@media (max-width: 1024px) {
  .gird-1-5 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .main-header-login {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .main-section.section_top_margin {
    margin-top: 20px !important;
  }

  /* Fixed sticky sidebar issues on mobile */
  .main-header-login .main-sidebar {
    position: relative !important;
    top: 0 !important;
  }
}

@media (max-width: 768px) {

  /* Applicant Detail Consistency */
  .applicant-detail-card {
    padding: 15px !important;
  }

  .applicant-header-modern {
    flex-direction: column !important;
    text-align: center !important;
    gap: 15px !important;
  }

  .applicant-avatar-large {
    margin: 0 auto !important;
  }

  .applicant-header-info h2 {
    font-size: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .applicant-contact-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* Status Pills Wrapper */
  .status-pills-container {
    justify-content: center !important;
    gap: 10px !important;
  }

  .status-pill-label {
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    flex: 1 1 calc(50% - 12px);
    justify-content: center;
    min-width: 150px;
    border-width: 2px !important;
  }

  /* Preview Company Header */
  .preview-company-header {
    flex-direction: column !important;
    text-align: center !important;
    padding: 20px !important;
    gap: 15px !important;
  }

  .preview-company-logo-wrapper {
    margin: 0 auto !important;
  }

  .preview-vacancy-meta {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: center !important;
  }

  .preview-meta-divider {
    display: none !important;
  }

  /* Details Grid Stacking */
  .preview-details-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  /* Modals */
  .custom-modal-content {
    max-width: 95% !important;
    width: 95% !important;
    padding: 20px !important;
    margin: 10% auto !important;
  }

  #offerModal div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
  }

  /* Timeline Responsive */
  .experience-timeline {
    padding-left: 10px !important;
    margin-left: 5px !important;
  }

  .timeline-dot {
    left: -18px !important;
  }

  /* General Content Alignment */
  .preview-section-card {
    padding: 15px !important;
  }

  .preview-section-title {
    font-size: 16px !important;
    justify-content: center !important;
  }

  /* CV & Interview Refinements */
  .cv-pill-btn {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    margin-top: 15px !important;
  }

  .interview-widget-modern {
    padding: 20px !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .interview-info-row {
    flex-direction: column !important;
    width: 100%;
    gap: 15px !important;
  }

  .interview-icon-box {
    margin: 0 auto !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 28px !important;
  }

  .interview-time-row {
    justify-content: center !important;
    font-size: 14px !important;
  }

  .interview-actions-modern {
    width: 100% !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .interview-actions-modern>* {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px !important;
  }

  .preview-actions {
    flex-direction: column !important;
  }

  .preview-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Sidebar Vertical Accordion on Mobile */
  .preview-sidebar-modern {
    padding: 0 !important;
    /* Remove padding to make header full width */
    position: relative !important;
    top: 0 !important;
    margin-bottom: 20px !important;
    border: 1px solid #e2e8f0;
    overflow: hidden;
  }

  .vacancy-sidebar-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #fff;
    cursor: pointer;
  }

  .preview-sidebar-title {
    font-size: 16px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    text-align: left !important;
    border-bottom: none !important;
  }

  .vacancy-menu-burger {
    font-size: 18px;
    color: #ef4444 !important;
  }

  .preview-sidebar-modern .preview-sidebar-menu {
    display: none !important;
    /* Forces hidden status on mobile load */
    flex-direction: column !important;
    gap: 0 !important;
    padding: 15px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
  }

  .preview-sidebar-modern .preview-sidebar-menu.active {
    display: flex !important;
  }

  .preview-sidebar-menu li {
    width: 100%;
    margin-bottom: 8px;
  }

  .preview-sidebar-menu li:last-child {
    margin-bottom: 0;
  }

  .preview-sidebar-menu li a {
    display: flex !important;
    width: 100% !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    align-items: center;
    gap: 12px;
    white-space: normal !important;
  }

  .preview-sidebar-menu li.active a {
    background: linear-gradient(135deg, #027dcf 0%, #0396e8 100%);
    color: white !important;
    border-color: #027dcf;
  }

  .preview-sidebar-menu li.active a i {
    color: white !important;
  }

  /* Unstick the vacancy info card on mobile */
  .vacancy-sticky-card {
    position: static !important;
    top: auto !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0;
  }

  .load-more-btn {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    justify-content: center !important;
  }

}

/* Ensure the previous media query or block is properly closed */

/* --- Super-Slim Work Experience UI (Unique Classes) --- */
.experience-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  animation: weFadeIn 0.3s ease;
}

.experience-modal {
  background: #ffffff;
  width: 90%;
  max-width: 600px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: weSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s;
  z-index: 20;
}

.modal-close:hover {
  background: #ff4d4d;
  color: #fff;
  border-color: #ff4d4d;
  transform: rotate(90deg);
}

.slim-doc-container,
.slim-we-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.slim-doc-card,
.slim-we-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.slim-doc-card:hover,
.slim-we-card:hover {
  border-color: #3182ce;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.08);
  transform: translateX(4px);
}

.slim-doc-add-card,
.slim-we-add-card {
  border-style: dashed !important;
  background: #f8fafc !important;
  cursor: pointer;
  border-color: #cbd5e1 !important;
  transition: all 0.3s ease;
}

.slim-doc-add-card:hover,
.slim-we-add-card:hover {
  background: #f1f5f9 !important;
  border-color: #3182ce !important;
  transform: scale(1.01);
}

.slim-doc-add-card .add-icon,
.slim-we-add-card .add-icon {
  background: #ebf8ff;
  color: #3182ce;
  border-color: #bee3f8;
}

.slim-doc-add-card .slim-doc-title,
.slim-we-add-card .slim-we-title {
  color: #3182ce;
}

.slim-doc-icon,
.slim-we-icon {
  width: 36px;
  height: 36px;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.slim-doc-info,
.slim-we-info {
  flex: 1;
  min-width: 0;
}

.slim-doc-title,
.slim-we-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}

.slim-doc-meta,
.slim-we-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
}

.slim-doc-meta-item,
.slim-we-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Modern Upload & Progress Styles */
.upload-modal-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.modern-upload-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.modern-upload-zone:hover {
  border-color: #3182ce;
  background: #ebf8ff;
}

.modern-upload-zone i {
  font-size: 40px;
  color: #3182ce;
}

.modern-upload-zone .upload-text {
  font-weight: 600;
  color: #1e293b;
}

.modern-upload-zone .upload-hint {
  font-size: 12px;
  color: #64748b;
}

.file-preview-card {
  display: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-top: 16px;
  align-items: center;
  gap: 12px;
  animation: weFadeIn 0.3s ease;
}

.preview-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.preview-info {
  flex: 1;
  min-width: 0;
}

.preview-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-size {
  font-size: 11px;
  color: #64748b;
}

.preview-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fee2e2;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
}

.preview-remove:hover {
  background: #fecaca;
  transform: scale(1.1);
}

.progress-container {
  display: none;
  margin-top: 16px;
  background: #f1f5f9;
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3182ce, #63b3ed);
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  display: none;
  font-size: 11px;
  font-weight: 600;
  color: #3182ce;
  margin-top: 4px;
  text-align: right;
}

.slim-doc-actions,
.slim-we-actions {
  display: flex;
  gap: 8px;
}

.slim-doc-btn,
.slim-we-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  background: transparent;
  color: #64748b;
}

.slim-we-btn:hover {
  background: #edf2f7;
  color: #4a5568;
}

.slim-we-btn-edit:hover {
  background: #ebf8ff;
  color: #3182ce;
  border-color: #bee3f8;
}

.slim-we-btn-delete:hover {
  background: #fff5f5;
  color: #e53e3e;
  border-color: #fed7d7;
}

.slim-we-btn-drag {
  cursor: move;
  border: none;
  background: transparent;
  color: #cbd5e0;
}

/* Form Card Styling */
.experience-form-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  /* High-contrast border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

@keyframes weFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes weSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

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

@media (max-width: 640px) {
  .slim-we-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .slim-we-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: 10px;
    border-top: 1px solid #edf2f7;
    padding-top: 10px;
  }
}

/* Form Utilities */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
}

.btn-download-style {
  background: #027dcf;
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-size: 13px;
}

/* Modal Form Header & Inner Styles */
.form-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 25px;
  border-bottom: 1px solid #f1f5f9;
}

.form-card-header i {
  font-size: 24px;
  color: #3182ce;
  background: #ebf8ff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.secondary-btn {
  background: #f8fafc;
  color: #64748b;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.secondary-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.primary-btn {
  background: #3182ce;
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.primary-btn:hover {
  background: #2b6cb0;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.2);
}

.experience-modal .edit-form-container {
  padding: 30px;
  min-height: 400px;
  /* Ensure content area has space */
  display: block !important;
  visibility: visible !important;
}

#edit-form {
  display: block !important;
  width: 100% !important;
}

#edit-form .form-grid {
  display: grid !important;
  visibility: visible !important;
}

/* Ensure Quill displays correctly in modal */
.ql-container {
  min-height: 150px;
  background: #fff;
  border-radius: 0 0 8px 8px;
}

.ql-toolbar {
  border-radius: 8px 8px 0 0;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc;
}

.form-actions {
  display: flex !important;
  gap: 12px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

/* Fix Flatpickr in Modal */
.flatpickr-calendar {
  z-index: 10000 !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(10px);
    opacity: 0;
  }

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