/* ========== NAVBAR ========== */

/* ========== BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #000;
}

/* Optional if you meant `.body` as a class (which is uncommon) */
.body {
  margin: 0px;
  padding: 0px;
}

.navbar {
  background: #003366;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.4rem;
  font-weight: bold;

}

.navbar .hamburger {
  font-size: 1.6rem;
  cursor: pointer;
  display: none;
}

.navbar .nav-links {
  display: flex;
}

.navbar .nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
}

/* ========== LAYOUT ========== */
.layout {
  display: flex;
  margin-left: 200px; /* match sidebar width */
  transition: margin-left 0.3s ease;
}

/* Adjust when sidebar collapsed */
.sidebar.collapsed + .layout {
  margin-left: 60px;
}

/* ========== SIDEBAR (LEFT) ========== */
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  height: calc(100vh - 60px);
  width: 200px;
  background: #e1e1e1;
  padding: 15px;
  overflow-y: auto;
  transition: all 0.3s ease;
  z-index: 999;
}
.sidebar.active {
  left: 0;
}

.sidebar.collapsed {
  width: 60px;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000;
  text-decoration: none;
  margin: 30px 0;
   position: relative;
}

.sidebar .label {
  transition: opacity 0.3s ease;
}


.sidebar.collapsed .label {
  display: none;
}

/* ========== MAIN CONTENT ========== */
.content {
  flex: 0 0 68%; /* Take 65% of inner container width */
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ========== RIGHT SIDEBAR ========== */
.right-widget {
  flex: 0 0 27%; /* Take 30% of inner container width */
  background: #fff;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


.right-widget h3 {
  margin-bottom: 10px;
}

.right-widget ul {
  list-style: disc;        /* use bullet dots */
  padding-left: 20px;      /* indent bullets properly */
  margin: 0;
  max-height: 400px;       /* optional scroll limit */
  overflow-y: auto;
}

.right-widget ul li {
  margin-bottom: 10px;
}

.right-widget ul li a {
  color: #021c90;
  text-decoration: none;
}

/* ========== LIVE BADGE ========== */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: bold;
  color: black;
  background-color: white;
  width: 100px;
  height: 35px;
  border: 2px solid black;
  border-radius: 8px;
  padding: 2px 6px;
  margin-right: 10px;
  animation: pulse-border 2s infinite;
}

.live-dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 14px;
  background-color: red;
  border-radius: 50%;
  animation: blink-red 1s infinite;
}

@keyframes blink-red {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes blink-red {
  0%, 100% { background-color: red; }
  50% { background-color: white; }
}


/* ========== HEADING CENTER ========== */
.heading-center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 30px 0;
}

.heading-center h2 {
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ========== ADMIT CARD TABLE ========== */
.admit-card-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px;
  border: 1px solid #ccc;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
  background: white;
}

.table-title-row {
  background-color: #3106d6;
  color: white;
  padding: 14px 0;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  border-bottom: 2px solid black;
}

table {
  width: 100%;
  border-collapse: collapse;
}

tr {
  border-bottom: 1px solid #ccc;
}

td {
  padding: 12px 14px;
  font-size: 16px;
  height: 55px;
}

.left-col {
  width: 80%;
  text-align: left;
}

.right-col {
  width: 20%;
  text-align: right;
}

.save-btn {
  background-color: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #000;
}

.save-btn:hover {
  opacity: 0.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .navbar .nav-links {
    display: none;
  }

  .navbar .hamburger {
    display: block;
  }

  .sidebar {
    display: none;
    position: fixed;
    top: 50px;
    left: 0;
    height: 100%;
    width: 200px; /* Ensure expanded width */
    background: #e1e1e1;
    z-index: 999;
    transition: all 0.3s ease;
  }

  .sidebar.active {
    display: block;
    width: 200px; /* Ensure full width when opened */
  }

  .layout {
    flex-direction: column;
    margin-left: 0;
  }

  .right-widget {
    width: 100%;
    
    margin-top: 20px;
    margin: 0px !important;
  }

 

  .sidebar.collapsed .label {
    display: inline;
  }
.navbar {
  background: #003366;
  color: white;
  display: flex;
  align-items: center;
  padding: 15px;
  gap: 0;                 /* ✅ Remove any gap between children */
  column-gap: 0;          /* Optional, more specific */
  height: 50px;
  row-gap: 0;
}
.navbar .hamburger {
  font-size: 1.6rem;
  cursor: pointer;
  margin-right: 0;       /* ✅ Ensure no margin-right */
  padding-right: 0;
}

.navbar .logo {
  font-size: 1.4rem;
  font-weight: bold;
 

}

}

.right-widget {
  flex: 0 0 27%;
  background: #fff;
  padding: 15px 20px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  margin-left: 20px;
}

.right-widget h3 {
  font-size: 18px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 12px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.right-widget ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.right-widget ul li {
  margin-bottom: 10px;
}

.right-widget ul li a {
  color: #0a3991;
  text-decoration: none;
  font-size: 15px;
  display: block;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.right-widget ul li a:hover {
 
  text-decoration: underline;
  color: #171a9b;
}
/* Common Logo Style */
.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
}

/* Show on desktop, hide on mobile */
.desktop-logo {
  display: block;
}

.mobile-logo {
  display: none;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .desktop-logo {
    display: none;         /* hide desktop logo */
  }

  .mobile-logo {
    display: block;        /* show mobile logo */
    margin-left: -80px;      /* adjust left spacing if needed */
  }
 
}
/* ========== FOOTER RESPONSIVE DISPLAY ========== */
.desktop-footer {
  display: block;
}

.mobile-footer {
  display: none;
}

@media (max-width: 768px) {
  .desktop-footer {
    display: none;
  }

  .mobile-footer {
    display: block;
    background-color: #111;
    padding: 20px;
    margin-top: 30px;
  }

  .mobile-footer .footer-section h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .mobile-footer .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-footer .footer-section ul li {
    margin-bottom: 8px;
  }

  .mobile-footer .footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
  }

  .mobile-footer .footer-section ul li a:hover {
    color: #fff;
    text-decoration: underline;
  }
}
/* ========== FOOTER ========== */
.site-footer {
  background-color: #111;        /* dark black background */
  color: #f0f0f0;                /* light text */
  padding: 40px 20px 20px;       /* spacing around */
  font-family: 'Arial', sans-serif;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;              /* wrap on smaller screens */
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-section {
  flex: 1 1 250px;              /* responsive sizing */
  min-width: 220px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 18px;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
}

.footer-section a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding: 15px 0 0;
  border-top: 1px solid #444;
  margin-top: 30px;
  font-size: 13px;
  color: #aaa;
}

/* ========== HIDE FOOTER ON MOBILE ========== */
.desktop-footer {
  display: block;
}

@media (max-width: 768px) {
  .desktop-footer {
    display: none; /* hidden on mobile */
  }
  .admit-card-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px;
  border: 1px solid #ccc;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
  background: white;
}
.content {
  flex: 0 0 68%; /* Take 65% of inner container width */
  background: #fff;
  padding: 0 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.heading-center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: px 0 !important;
}
.table-title-row {
  background-color: #3106d6;
  color: white;
  padding: 14px 0;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  border-bottom: 2px solid black;
  height: 42px;
}
td {
  padding: 12px 14px;
  font-size: 14px;
  
}

}
.admit-card-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #000000; /* Deep blue full table border */
}

.admit-card-table table tr {
  border-bottom: 1px solid #000000; /* Row bottom line */
}

.admit-card-table table tr:last-child {
  border-bottom: none; /* Optional: no line after last row */
}



#jobSearchInput {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  z-index: 999;
  display: none;
  max-height: 250px;
  overflow-y: auto;
  border-radius: 0 0 8px 8px;
}

.suggestion-item {
  padding: 10px;
  cursor: pointer;
  font-size: 15px;
  border-bottom: 1px solid #eee;
}

.suggestion-item:hover {
  background: #f1f1f1;
}
.search-container {
  position: relative;
  width: 100%;
  padding: 0 10px;
  margin: 15px 0;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 40px; /* Left padding for icon */
  font-size: 16px;
  border: 2px solid #000000;
  border-radius: 3px;
  outline: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease;
}

.search-input:focus {
  border-color: #5b77f0;
}
