/* ---------Global Styles--------- */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9fb;
}


/* ---------Navbar--------- */
.navbar-brand {
  font-weight: 700;
  color: #0d6efd !important;
}

.nav-link.active {
  font-weight: 600;
  color: #0d6efd !important;
}


/* ---------User avatar--------- */
.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}


/* ---------Buttons--------- */
.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
}


/* ---------Footer (optional)--------- */
footer {
  padding: 20px 0;
  background-color: #f1f1f1;
  text-align: center;
  color: #888;
  font-size: 14px;
}

/* ---------Dashboard Title Section--------- */
.dashboard-title-section {
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.dashboard-title-section {
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  color: #fff;
  border-radius: 1rem;
  padding: .5rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.white-circle {
  background: #fff;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 7rem;
}

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

@media (max-width: 992px) {
  .white-circle {
    margin-right: 3rem;
  }
}

@media (max-width: 768px) {
  .dashboard-title-section {
    text-align: center;
    padding: 1rem;
  }
  .white-circle {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .white-circle{
        margin-right: 0rem;
    }
}


/* ---------Bookmark Icon--------- */
.bookmark-icon {
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  color: #6c757d;
}

.bookmark-icon:hover {
  transform: scale(1.2);
  color: #0d6efd; 
}

/* ---------Floating Right Corner Button (card)--------- */
.floating-btn {
  top: 1rem;
  right: 1rem;
}

@media (max-width: 576px) {
    .floating-btn button{
        font-size: .6rem;
    }
}





/* ---------Related Job--------- */
.related-job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.related-job-grid a{
  text-decoration: none;
}

.card-job {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px;
  transition: border-color 0.2s ease;
  background-color: #fff;
  position: relative;
}

.card-job:hover {
  border: 2px solid #0d6efd;
}

.bookmark-i {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.2rem;
  color: #999;
  display: block !important;
}

.title-job{
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  gap: 10px;
  color: black;
  margin-bottom: 5px;
}

.company-img{
  margin-right: 10px;
  flex-shrink: 0;
  width: 60px; 
  height: 60px;
}

.company-name{
  font-size: 1rem;
  color: black;
  margin-bottom: 4px;
}

.job-los{
  display: flex;
  flex-direction: column;
  font-size: 1rem;
}

.job-description {
  font-size: 0.95rem;
  color: #444;
  margin-top: 8px;
}

@media (max-width: 991px) {
  .related-job-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
}


/* Recently Posted Job */
.company-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    background: #f1f3f5;
}

.status-badge {
    font-size: 0.75rem;
    background-color: #d1f5d3;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.meta-info {
    font-size: 0.9rem;
    color: #6c757d;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.action-buttons .btn {
    font-size: 0.85rem;
    border-radius: 12px;
    padding: 6px 14px;
    color: #343a40;
    background-color: #f1f3f5;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}

.action-buttons .btn:hover {
    background-color: #ffffff;
    border-color: #28a745;
    color: #000;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
}

.stat-number {
    font-size: 1.05rem;
    font-weight: 600;
    color: #212529;
}

.applicant-stats-clean {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    text-align: right;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: end;
}

@media (max-width: 576px) {
    .job-info,
    .action-buttons {
      flex-direction: column !important;
      align-items: stretch !important;
    }
    
    .action-buttons .btn {
      width: 100%;
    }
    
    .applicant-stats-clean {
      width: 100%;
      flex-direction: row;
      justify-content: space-between;
      margin-top: 1rem;
      text-align: center;
    }
    
    .applicant-stats-clean .stat-item {
      align-items: center;
    }
}

/* Admin Side Bar */
.sb a {
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    transition: background 0.2s ease;
}

.sb a i {
    color: #888;
    font-size: 1rem;
}

.sb a:hover {
    background-color: #f5f5f5;
    color: #000;
}

.sb a.active {
    color: #70ad38;
    background-color: #EAF6FF;
    font-weight: 500;
}

.sb a.active i {
    color: #70ad38;
}

#sidebar {
    transition: width 0.3s ease;
    overflow: hidden;
    position: relative;
}

#sidebar.collapsed {
    width: 80px !important;
}

#sidebar.collapsed .sb a span {
    display: none;
}

#sidebar.collapsed .sb a {
    justify-content: center;
    padding: 8px 0;
    position: relative;
}

.floating-label {
    position: fixed;
    left: 80px;
    transform: translateY(-50%);
    background: #f5f5f5;
    color: #000;
    padding: 8px 20px;
    white-space: nowrap;
    z-index: 1000;
    min-width: 140px;
}

.floating-label-active {
    background-color: #EAF6FF;
    color: #70ad38;
    font-weight: 500;
    min-width: 140px;
}