/* Global Styles */
:root {
  --primary-color: #2474dd; 
  --primary-light: #1c88ed;
  --primary-dark: #1a25a5;
  --secondary-color: #ff5722;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #f5f5f5;
  --white: #fff;
  --danger: #f44336;
  --success: #4caf50;
  --warning: #ff9800;
  --info: #2196f3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}


body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--primary-light);
  border-top: 5px solid var(--primary-dark);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.login-background {
  background: linear-gradient(135deg, #1c88ed, #2474dd, #1a25a5);
  padding: 40px 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-background .container {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(8.5px);
  -webkit-backdrop-filter: blur(8.5px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}


/* Form Container */
.form-container {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 400px;
  max-width: 100%;
}

.logo {
  text-align: center;
  margin-bottom: 20px;
}

.logo i {
  font-size: 48px;
  color: var(--primary-color);
}

.logo h1 {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 10px;
}

form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-color);
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group i {
  position: absolute;
  left: 15px;
  top: 15px;
  color: var(--text-light);
}

.input-group input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.input-group input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-danger {
  background-color: var(--danger); /* Danger red */
  color: var(--white);
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-danger i {
  font-size: 16px;
}

.btn-danger:hover {
  background-color: #c62828; /* Darker red */
  transform: translateY(-2px);
}

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

.form-link {
  text-align: center;
  margin-top: 20px;
}

.form-link a {
  color: var(--primary-color);
  text-decoration: none;
}

.form-link a:hover {
  text-decoration: underline;
}

/* Alert */
.alert-container {
  margin-bottom: 20px;
}

.alert {
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 10px;
  position: relative;
}

.alert-info {
  background-color: #e3f2fd;
  color: #0d47a1;
}

.alert-success {
  background-color: #e8f5e9;
  color: #1b5e20;
}

.alert-warning {
  background-color: #fff3e0;
  color: #e65100;
}

.alert-danger {
  background-color: #ffebee;
  color: #b71c1c;
}

.alert .close {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}

/* Alert styles */
.alert-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.alert {
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 14px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.alert-info {
  background-color: #17a2b8;
}

.alert-success {
  background-color: #28a745;
}

.alert-danger {
  background-color: #dc3545;
}

.alert-warning {
  background-color: #ffc107;
  color: #212529;
}

.close-btn {
  font-weight: bold;
  cursor: pointer;
  margin-left: 10px;
}

.alert {
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  position: relative;
  font-size: 14px;
  font-weight: bold;
}

.alert-info {
  background-color: #d9edf7;
  color: #31708f;
}

.alert-success {
  background-color: #dff0d8;
  color: #3c763d;
}

.alert-danger {
  background-color: #f2dede;
  color: #a94442;
}

.alert .close-btn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 16px;
  cursor: pointer;
}

/* Custom alert styles */
.custom-alert {
  animation: fadeIn 0.5s, fadeOut 0.5s 4.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Dashboard */
.dashboard-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 250px;
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 20px 0;
  transition: all 0.3s;
  height: 100vh;  /* New  changes */
  overflow-y: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
/* new changes */
.main-content {
  flex: 1;
  background-color: var(--bg-color);
  margin-left: 250px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: auto;
  transition: margin-left 0.3s ease;
}

.main-content.sidebar-closed {
  margin-left: 0;
}

.sidebar.active {
  margin-left: -250px;
}

.sidebar .logo {
  padding: 0 20px;
  margin-bottom: 30px;
}

.sidebar .logo h2 {
  font-size: 20px;
  margin-top: 10px;
}

.nav-links {
  list-style: none;
}

.nav-links li {
  padding: 10px 20px;
  margin-bottom: 5px;
}

.nav-links li.active {
  background-color: var(--primary-color);
}

.nav-links li a {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-links li a i {
  margin-right: 10px;
  font-size: 18px;
}

.nav-links li.logout {
  margin-top: 50px;
}

.sidebar .dropdown-menu li {
  padding: 5px 20px;
}

.sidebar .dropdown-menu li a {
  color: var(--white);
  text-decoration: none;
  display: block;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.sidebar .dropdown-menu li a:hover {
  background-color: var(--primary-color);
}

.main-content {
  flex: 1;
  background-color: var(--bg-color);
}

.top-nav {
  background-color: var(--white);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-toggle i {
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color);
}

.notifications i {
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color);
}

.user-info {
  display: flex;
  align-items: center;
}

.user-info span {
  margin-right: 10px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
}

.content-area {
  padding: 20px;
}

.dashboard-header {
  margin-bottom: 30px;
}

.dashboard-header h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #4b8fcf, #367cd7, #1a25a5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(87, 87, 87, 0.4);
}

.dashboard-stats {
  margin-bottom: 30px;
}

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

.stat-card {
  background: linear-gradient(135deg, #4aa3f66a, #2474dd, #1a25a5);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  color: white;
}

.stat-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.stat-icon i {
  font-size: 24px;
  color: var(--white);
}

.stat-info h3 {
  font-size: 16px;
  color: var(--text-white);
  margin-bottom: 5px;
}

.stat-info p {
  font-size: 24px;
  font-weight: bold;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

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

.view-all {
  color: var(--primary-color);
  text-decoration: none;
}

.view-all:hover {
  text-decoration: underline;
}

.batches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.batch-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.batch-card-header {
  padding: 15px;
  background-color: var(--primary-light);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.badge-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.badge-success {
  background-color: var(--success);
  color: var(--white);
}

.badge-warning {
  background-color: var(--warning);
  color: var(--white);
}

.badge-danger {
  background-color: var(--danger);
  color: var(--white);
}

.badge-info {
  background-color: var(--info);
  color: var(--white);
}

.batch-card-body {
  padding: 15px;
}

.batch-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.batch-info .info-card {
  flex: 1 1 calc(25% - 15px); /* Four cards per row */
  background: linear-gradient(165deg, #5597d6a9, #5088d2, #1a25a5);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: white;
}

.batch-info .info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.batch-info .info-icon {
  font-size: 24px;
  color: #007bff;
  margin-bottom: 10px;
}

.batch-info .info-details h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--text-white);
}

.batch-info .info-details p {
  font-size: 14px;
  color: #fffefe;
}

.batch-card-body p {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 15px;
}

.batch-actions {
  display: flex;
  justify-content: flex-end;
  /* align-items: center; */
  gap: 5px;
  margin-top: 10px;
}

.batch-actions button {
  font-size: 17px;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.batch-actions button i {
  margin-right: 5px;
}

.batch-actions button:hover {
  transform: translateY(-2px);
}

.batch-actions button:active {
  transform: translateY(0);
}

.table-responsive {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.table th,
.table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.table th {
  background-color: var(--primary-light);
  color: var(--white);
  font-weight: 600;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover {
  background-color: #f9f9f9;
}

/* Compact Table */
.compact-table th, .compact-table td {
  /* padding: 5px 10px; */
  font-size: 14px;
}
.compact-table th {
  background-color: #f8f9fa;
}
.compact-table {
  border-collapse: collapse;
}
.compact-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Side-by-side tables container */
.tables-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.tables-container .table-wrapper {
  flex: 1;
  max-width: 48%; /* Adjust width to fit side by side */
}

.table-wrapper h2 {
  margin-bottom: 10px;
  font-size: 18px;
  text-align: center;
}

/* Profiles Tables Container */
.profiles-tables-container {
  display: flex;
  gap: 20px; /* Space between the tables */
  flex-wrap: wrap; /* Ensure responsiveness */
}

.table-wrapper {
  flex: 1; /* Allow tables to take equal space */
  min-width: 300px; /* Minimum width for each table */
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); Optional: Add shadow for better visuals */
  padding: 1px;
  /* background-color: #ffffff; Optional: Background color for the table wrapper */
  border-radius: 8px; /* Optional: Rounded corners */
}

.table-wrapper h2 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

.table-responsive {
  overflow-x: auto; /* Ensure horizontal scrolling for smaller screens */
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 5px 6px;
  text-align: left;
  /* border: 1px solid #ddd; */
}

.table th {
  background-color: var(--primary-light);
  font-weight: bold;
}

.table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.table tr:hover {
  background-color: #f1f1f1;
}

/* Batches Page */
.batches-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.batches-header h1 {
  font-size: 28px;
  font-weight: bold;
  font-weight: 700;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #4b8fcf, #367cd7, #1a25a5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(87, 87, 87, 0.4);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.modal-header h2 {
  margin: 0;
}

.modal-body {
  padding: 15px 0;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-footer .btn-secondary {
  background-color: #6c757d;
  color: #fff;
}

.modal-footer .btn-primary {
  background-color: #007bff;
  color: #fff;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: var(--white);
  margin: 10% auto;
  padding: 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 500px;
  max-width: 90%;
  animation: modalopen 0.3s;
}

@keyframes modalopen {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 15px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

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

.close {
  color: var(--white);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  padding: 15px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-secondary {
  background-color: #ea8111;
  color: var(--white);
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-secondary:hover {
  background-color: #a25d0d;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

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

.form-group small {
  display: block;
  margin-top: 5px;
  color: var(--text-light);
  font-size: 12px;
}

/* Modal styles */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.info-icon i {
  font-size: 20px;
  color: var(--white);
}

.info-details h3 {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 5px;
}

.info-details p {
  font-size: 18px;
  font-weight: bold;
}

.profiles-table-container {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 30px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

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

.table-actions {
  display: flex;
  gap: 10px;
}

.search-container {
  position: relative;
}

.search-container input {
  padding: 10px 15px 10px 35px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  width: 200px;
}

.search-container i {
  position: absolute;
  left: 10px;
  top: 12px;
  color: var(--text-light);
}

/* Filter Container */
.filter-container {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  
}

.filter-container .form-control {
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 14px;
  background-color: var(--light-color);
  color: var(--text-color);
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 200px;
}

.filter-container .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(74, 108, 247, 0.5);
  outline: none;
}

.action-buttons {
  display: flex;
  gap: 5px;
}

.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.update-profile {
  background-color: var(--info);
  color: var(--white);
}

.update-profile:hover {
  background-color: #0d47a1;
}

.delete-profile {
  background-color: var(--danger);
  color: var(--white);
}

.delete-profile:hover {
  background-color: #b71c1c;
}

.edit-profile {
  background-color: var(--warning);
  color: var(--white);
}

.edit-profile:hover {
  background-color: #c45316;
}

.link-profile {
  background-color: var(--primary-dark);
  color: var(--white);
}

.link-profile:hover {
  background-color: #0056b3;
}

/* Import Tabs */
.import-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.tab-btn {
  padding: 10px 20px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-content {
  margin-bottom: 20px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.form-info {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.form-info p {
  margin-bottom: 10px;
  font-size: 14px;
}

/* Filter Section */
.job-filters {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.job-filters .form-control {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  width: 200px;
}

.job-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 16px;
    margin-bottom: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.job-card .job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.job-card .job-header h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin: 0;
}

.job-card .job-header p {
    font-size: 14px;
    color: #666666;
    margin: 0;
}

.job-card .job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.job-card .job-footer span {
    font-size: 14px;
    color: #999999;
}

.job-card .btn-primary {
    background-color: #007bff;
    color: #ffffff;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s ease;
    cursor: pointer;
    /* Remove width to allow button to size naturally */
    width: auto;
    min-width: 100px;
    display: inline-block;
    text-align: center;
}

.job-card .btn-primary:hover {
    background-color: #0056b3;
    cursor: pointer;
}

/* Placement Status Dropdown */
.placement-status-dropdown {
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 14px;
  background-color: var(--light-color);
  color: var(--info);
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}

.placement-status-dropdown:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(74, 108, 247, 0.5);
  outline: none;
}

.placement-status-dropdown option[value="Ongoing"] {
  background-color: var(--info-color);
  color: rgb(67, 152, 250);
}

.placement-status-dropdown option[value="Placed"] {
  background-color: var(--success-color);
  color: rgb(15, 208, 15);
}

.placement-status-dropdown option[value="Not Placed"] {
  background-color: var(--danger-color);
  color: rgb(255, 44, 44);
}

/* Extract to Excel Button */
#extractToExcelBtn {
  background-color: #28a745; /* Success green */
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items:center;
  justify-content:right;
  gap: 5px;
  width: 150px;
}

#extractToExcelBtn i {
  font-size: 16px;
}

#extractToExcelBtn:hover {
  background-color: #218838; /* Darker green */
  transform: translateY(-2px);
}

#extractToExcelBtn:active {
  transform: translateY(0);
}

/* Position Add New Student button on the right */
#addStudentBtn {
  margin-bottom: 20px;
  background-color: #007bff; /* Blue color */
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: 160px;
}

#addStudentBtn i {
  font-size: 16px;
}

#addStudentBtn:hover {
  background-color: #0056b3; /* Darker blue */
  transform: translateY(-2px);
}

#addStudentBtn:active {
  transform: translateY(0);
}

/* Add New Student Modal */
#addStudentModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

#addStudentModal .modal-content {
  background-color: var(--white);
  margin: 10% auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 400px;
  max-width: 90%;
}

#addStudentModal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

#addStudentModal .modal-header h2 {
  font-size: 20px;
  color: var(--text-color);
}

#addStudentModal .modal-header .close {
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
}

#addStudentModal .modal-body {
  margin-bottom: 20px;
}

#addStudentModal .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

#addStudentModal .form-group input {
  font-size: 14px;
}

#addStudentModal .form-group label {
  font-weight: bold;
  color: var(--text-color);
}

/* Update All Profiles Button */
#updateAllProfilesBtn {
  background-color: #ff8800; /* Blue color */
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

#updateAllProfilesBtn i {
  font-size: 16px;
}

#updateAllProfilesBtn:hover {
  background-color: #0056b3; /* Darker blue */
  transform: translateY(-2px);
}

#updateAllProfilesBtn:active {
  transform: translateY(0);
}

/* Available Profiles Section */
.available-profiles-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px; /* Add spacing between elements */
}

/* Beautify Apply and Save Jobs Buttons */
#applyJobsBtn, #saveJobsBtn {
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(36, 116, 221, 0.4);
  min-width: 140px;
  text-align: center;
  display: inline-block;
}

#applyJobsBtn {
  background: linear-gradient(45deg, #2474dd, #1c88ed);
  color: white;
}

#applyJobsBtn:disabled {
  background: #a0c4ff;
  cursor: not-allowed;
  box-shadow: none;
}

#applyJobsBtn:hover:not(:disabled) {
  background: linear-gradient(45deg, #1a25a5, #1c88ed);
  box-shadow: 0 6px 20px rgba(28, 136, 237, 0.6);
}

#saveJobsBtn {
  background: linear-gradient(45deg, #ff5722, #ff7043);
  color: white;
  margin-left: 10px;
  width: 100%;
}

#saveJobsBtn:hover {
  background: linear-gradient(45deg, #e64a19, #ff5722);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
}

.available-profiles-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #4b8fcf, #367cd7, #1a25a5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(87, 87, 87, 0.4);
}

.available-profiles-header .header-actions {
  display: flex;
  gap: 10px;
}

.available-profiles-header .btn-primary {
  padding: 10px 15px;
  font-size: 14px;
  border: none;
  border-radius: 5px;
  background-color: --primary-color;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.header-actions {
  display: flex;
  gap: 10px;
  padding-bottom: 10px;
  padding: 10px;
}

#saveLogoBtn {
  background-color: #28a745; /* Success green */
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 21px 1px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  width: 150px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.available-profiles-header .btn-primary:hover {
  background-color: #0056b3;
}

/* Exchange Logo Button */
.exchange-logo-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.exchange-logo-container .btn-icon {
  background-color: #f8f9fa;
  border: 2px solid #007bff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.exchange-logo-container .btn-icon i {
  font-size: 24px;
  color: #007bff;
}

.exchange-logo-container .btn-icon:hover {
  background-color: #007bff;
  transform: scale(1.1);
}

.exchange-logo-container .btn-icon:hover i {
  color: #fff;
}

.scroll-box {
  max-height: 80px;           /* Adjust height as needed */
  max-width: 300px;           /* Optional: control width */
  overflow-y: auto;           /* Enables vertical scroll */
  overflow-x: hidden;
  white-space: pre-wrap;      /* Preserves line breaks */
 
  border: 1px solid #ddd;     /* Optional: for visual separation */
  padding: 5px;
  background-color: #f9f9f9;  /* Optional: improves readability */
}
.scroll-box {
  overflow-y: hidden;
}
.scroll-box:hover {
  overflow-y: auto;
}

.main-footer {
  background-color: #f1f5f9; /* A light background color */
  color: #64748b;          /* A muted text color */
  padding: 1rem 1.5rem;     /* Add some padding */
  margin-top: 2rem;         /* Add space above the footer */
  text-align: center;       /* Center the text */
  border-top: 1px solid #e2e8f0; /* A subtle top border */
  font-size: 0.875rem;      /* Slightly smaller font size */
  width: 100%;              /* Ensure it takes full width within its container */
  box-sizing: border-box;   /* Include padding/border in width calculation */
}

.main-footer p {
  margin: 0; /* Remove default paragraph margin */
}

.dashboard-container {
  display: flex;
  min-height: 100vh;
}

.main-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: auto; /* Allow scrolling for content */
}

.content-area {
  flex-grow: 1; /* Make the content area take up available space */
}

/* Add this to your main CSS file */
.status-indicator {
  display: none; /* Hidden by default */
  width: 10px;
  height: 10px;
  background-color: green;
  border-radius: 50%;
  margin-left: 8px; /* Adjust spacing as needed */
  vertical-align: middle; /* Align with text */
}

.status-indicator.success {
  display: inline-block; /* Make it visible when automation is successful */
}

/* Optional: Style for the table cell containing the indicator */
.table td .name-indicator-wrapper {
    display: flex;
    align-items: center;
}

/* Added CSS for automation green dot indicator */
.automation-indicator {
  color: green;
  font-size: 18px;
  margin-left: 5px;
  vertical-align: middle;
}

.name-indicator-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    margin-left: -250px;
  }

  .sidebar.active {
    margin-left: 0;
  }

  .main-content {
    width: 100%;
  }

  .batch-detail-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .batch-actions {
    flex-direction: column;
    align-items: flex-end;
  }

  .batch-actions button {
    width: 100%;
  }

  .table th,
  .table td {
    font-size: 14px;
    padding: 10px;
  }

  .filter-container {
    flex-direction: column;
  }

  .table-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .batch-info .info-card {
    flex: 1 1 calc(50% - 15px); /* Two cards per row */
  }

  .available-profiles-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .exchange-logo-container {
    margin: 15px 0;
  }

  .table th,
  .table td {
    font-size: 14px;
    padding: 10px;
  }
}

/* Highlight row for automated profile */
.automation-highlight {
  background-color: #d4edda; /* Light green background */
  border-left: 5px solid #28a745; /* Green left border */
}

.job-header {
  text-align: center;
  }

.donutChart {
  width: 300px !important;
  height: 300px !important;
  margin: 0 auto;
  display: block;
}
.charts-section {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 10px;
}

.chart-container {
  flex: 1 1 33.33%;
  max-width: 33.33%;
  box-sizing: border-box;
}

/* Responsive adjustments for charts on smaller screens */
@media (max-width: 768px) {
  .charts-section {
    flex-wrap: wrap;
  }

  .chart-container {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .donutChart,
  .lineChart {
    width: 100% !important;
    max-width: 300px;
    height: 250px !important;
    margin: 0 auto;
    display: block;
  }
}

/* Additional responsiveness for smaller mobile widths */
@media (max-width: 425px) {
  .donutChart,
  .lineChart {
    max-width: 250px;
    height: 220px !important;
  }
}

@media (max-width: 375px) {
  .donutChart,
  .lineChart {
    max-width: 220px;
    height: 200px !important;
  }
}

@media (max-width: 320px) {
  .donutChart,
  .lineChart {
    max-width: 180px;
    height: 180px !important;
  }
}

.placed-students-header h1 {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #4b8fcf, #367cd7, #1a25a5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(87, 87, 87, 0.4);
}

.all-profiles-header h1 {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #4b8fcf, #367cd7, #1a25a5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(87, 87, 87, 0.4);
}

#careerLink {
  display: none;
}
/* Mobile view styles for all-profiles-header */
@media (max-width: 600px) {
  .all-profiles-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .all-profiles-header h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .all-profiles-header > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .all-profiles-header label {
    margin-right: 5px;
  }

  #searchProfilesInput {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  #searchProfilesBtn,
  #extractExcelBtn,
  #downloadResumeBtn {
    padding: 8px 12px;
    font-size: 0.9rem;
    flex: 1 1 auto;
    min-width: 120px;
  }

  #totalProfilesCount {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 8px;
    width: 100%;
  }
}

/* Search bar with icon on right, styled like the provided image */
#searchProfilesInput {
  width: 250px;
  padding: 10px 40px 10px 10px; /* padding right for icon space */
  border: 2px solid #00bcd4; /* teal border */
  border-radius: 5px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

#searchProfilesInput:focus {
  border-color: #00acc1; /* darker teal on focus */
}

#searchProfilesBtn {
  position: relative;
  background-color: #048cdb;
  border: none;
  border-radius: 0 5px 5px 0;
  padding: 10px 15px;
  cursor: pointer;
  width: 40px;
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -40px; /* overlap input's right padding */
  height: 40px;
  box-shadow: 0 2px 5px rgba(0, 92, 212, 0.5);
  transition: background-color 0.3s ease;
}

#searchProfilesBtn i {
  font-size: 18px;
}

#searchProfilesBtn:hover {
  background-color: #006dc1;
}

/* Circular badge style for total profiles count */
#totalProfilesCount {
display: flex; 
align-items: center;
background-color: var(--bg-color); 
color: var(--primary-color); 
font-weight: bold;
padding: 10px; 
border-radius: 50%; 
min-width: 40px; 
height: 40px; 
line-height: 20px; 
text-align: center; 
font-size: 16px; 
box-shadow: 0 2px 6px rgba(36, 116, 221, 0.5);
user-select: none;
vertical-align: middle; 
transition: background-color 0.3s, color 0.3s; 
position: relative; 
}



/* Style for the count number */
#totalProfilesCount span {
background-color: var(--highlight-color, #ff4081);
color: white; 
padding: 5px; 
border-radius: 50%; 
min-width: 30px;
height: 30px; 
display: flex; 
align-items: center;
justify-content: center;
box-shadow: 0 2px 4px rgba(51, 146, 255, 0.3); 
}

/* Hover effect for the count */
#totalProfilesCount:hover {
background-color: var(--hover-bg-color, #9afdfa); 
}

/* Usage of span in HTML */
#totalProfilesCount span:hover {
transform: scale(1.1); 
}

.custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  padding: 10px 25px;
  font-family:  "Roboto", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
   box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  outline: none;
}


/* 3 */
.btn-3 {
  background: rgb(0,172,238);
background: linear-gradient(0deg, rgba(0,172,238,1) 0%, rgba(2,126,251,1) 100%);
  width: 130px;
  height: 40px;
  line-height: 42px;
  padding: 0;
  border: none;
  
}
.btn-3 span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.btn-3:before,
.btn-3:after {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
   background: rgba(2,126,251,1);
  transition: all 0.3s ease;
}
.btn-3:before {
  height: 0%;
  width: 2px;
}
.btn-3:after {
  width: 0%;
  height: 2px;
}
.btn-3:hover{
   background: transparent;
  box-shadow: none;
}
.btn-3:hover:before {
  height: 100%;
}
.btn-3:hover:after {
  width: 100%;
}
.btn-3 span:hover{
   color: rgba(2,126,251,1);
}
.btn-3 span:before,
.btn-3 span:after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
   background: rgba(2,126,251,1);
  transition: all 0.3s ease;
}
.btn-3 span:before {
  width: 2px;
  height: 0%;
}
.btn-3 span:after {
  width: 0%;
  height: 2px;
}
.btn-3 span:hover:before {
  height: 100%;
}
.btn-3 span:hover:after {
  width: 100%;
}

/* Styles for tag-pill to appear as box-like pills */
.tag-pill {
  display: inline-flex;
  align-items: center;
  background-color: #e0e7ff;
  color: #1e40af;
  border: 1px solid #3b82f6;
  border-radius: 20px;
  padding: 5px 12px;
  margin: 3px 5px 3px 0;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tag-pill:hover {
  background-color: #3b82f6; /* Blue background on hover */
  color: white;
  border-color: #2563eb;
}

.tag-close {
  display: inline-block;
  margin-left: 8px;
  color: #666;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  user-select: none;
  transition: color 0.2s ease;
}

.tag-close:hover {
  color: #ff0000;
}

#batchSelect.form-control {
width: 100%;
padding: 8px 12px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #fff;
color: #333;
box-sizing: border-box;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#batchSelect.form-control:focus {
border-color: #007bff;
outline: none;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
background-color: #fff;
color: #333;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Styles for profilesList container */
#profilesList {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  background-color: #fff;
  font-family: "Roboto", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

#profilesList:hover {
  box-shadow: 0 0 8px rgba(36, 116, 221, 0.5);
  border-color: #2474dd;
}

/* Styles for create batch modal form dropdowns and time inputs */
#createBatchForm select,
#createBatchForm input[type="time"] {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

#createBatchForm select:focus,
#createBatchForm input[type="time"]:focus {
  border-color: #007bff;
  outline: none;
}

/* Optional: add some spacing between input groups */
#createBatchForm .input-group {
  margin-bottom: 15px;
}

#sheetSelectContainer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#sheetSelectContainer label {
  font-weight: bold;
  color: #333;
}
#sheetSelectContainer select {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}
#sheetSelectContainer select:focus {
  border-color: #007bff;
  outline: none;
}
#sheetSelectContainer .form-text {
  font-size: 12px;
  color: #666666;
  margin-top: -5px;
}

.trainer-filter, .course-filter {
  margin-bottom: 20px;
  display: inline-block;
  margin-right: 20px;
  vertical-align: middle;
}
