body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f6fa;
    margin: 0;
}

.sidebar {
  width: 240px;
  height: 100vh;
 
  background-color:var(--primary-color-light);
  padding-top: 0; /* <-- FIXED */
  z-index: 1000;
}

.logo-wrapper {
  background-color: #010080;
  height: 60px; /* same as .topbar */
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar h5 {
  font-size: 1.25rem;
  margin: 0;
  color: #1c1f2e;
}

.topbar, 
.topbar .h5,
.topbar .dropdown-toggle,
.topbar .dropdown-menu a {
  background-color: #010080 !important;
  color: #ffffffcc;
}

.sidebar-logo {
  height: 40px;
  width: auto;       /* maintain aspect ratio */
  display: block;
  margin: 0 auto;
}
.sidebar .nav-link {
  color: var(--primary-color);
  padding: 12px 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}
.nav-link.active{
  background-color: #ffcc00;
}
.topbar h5 {
  color: #1c1f2e; /* or #000 */
}
.menu-toggle{
  position: relative;
  top:-3px;
}

aside.nav-active{
  left: 0;
}

/*=============Menu toggle animation===*/
/* mobile menu toggle button */
.menu-toggle {
  position: relative;
  display:  inline-block;
  width: 40px;
  height: 30px;
  margin: 0 5px 0 0;
}
.menu-toggle span {
  margin: 0 auto;
  position: relative;
  top: 12px;
  transition-duration: 0s;
  transition-delay: .2s;
  transition: background-color 0.3s;
}
.menu-toggle span:before, .menu-toggle span:after {
  position: absolute;
  content: '';
}
.menu-toggle span, .menu-toggle span:before, .menu-toggle span:after {
  width: 40px;
  height: 4px;
  border-radius: 100px;
  background-color:var(--light-color);
  display: block;
  opacity: 1;
}
.menu-toggle span:before {
  margin-top: -12px;
  transition-property: margin, transform;
  transition-duration: .2s;
  transition-delay: .2s, 0;
  border-radius: 100px; 
}
.menu-toggle span:after {
  margin-top: 12px;
  transition-property: margin, transform;
  transition-duration: .2s;
  transition-delay: .2s, 0;
  border-radius: 100px;  
}

.menu-toggle-active span {
  background-color: rgba(0,0,0,0);
  transition: 0.3s background-color;
}
.menu-toggle-active span:before {
  margin-top: 0;
  transform: rotate(45deg);
  transition-delay: 0, .2s;
}
.menu-toggle-active span:after {
  margin-top: 0;
  transform: rotate(-45deg);
  transition-delay: 0, .2s;
}

/*===== Account section styles ====*/

.account-setion .profile-header{
  background-color: var(--primary-color);
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background-color:var(--primary-color);
  color: #ffffff;
  text-indent: 2px;
}

.main-content {
  margin-left: 240px;
  padding: 30px;
}

.topbar {
  height: 60px; /* increased from 60px */
  background-color: #ffffff;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 240px;
  right: 0;
  z-index: 999;
}

.user-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffcc00;
  color: #1A1A2E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-transform: uppercase;
}
/*==== Jobs Table styles==*/
.recruiter-table{
  border-radius: 8px;
  border:1px solid var(--primary-color);
}
.recruiter-table table tr th{
  background-color: var(--primary-color);
  color: #ffffff;
}
.recruiter-table table{
  border:1px solid var(--primary-color);
  border-radius: 8px;
}
.recruiter-table table td{
  border:1px solid var(--primary-color);
}
/*====== Btn styles=====*/
.btn-primary.btn-danger{
  background-color: #dc3545;
  border:1px solid #dc3545;
}
.btn-primary.btn-warning{
  background-color: #ffcc00;
  border:1px solid #ffcc00;
  color: #ffffff;
}
.btn-primary.btn-warning:hover{
  background-color: #ffffff;
  color: #ffcc00;
}
.btn-primary.btn-danger:hover{
  background-color: #ffffff;
  color:#dc3545;
}
/*=======Job Advert Form styles in Portal====*/
/* Focus ring for accessibility */
.candidate-card-footer .btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
.fieldset-flex{
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* Optional spacing between fields */
}
.candidate-form-holder:hover{
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.fieldset-flex div.mb-2,
.fieldset-flex div.mb-3 {
  flex: 0 0 32%; /* 3 items per row */
  box-sizing: border-box;
  margin-bottom: 0 !important;
}
