body {
	font-family: Arial, sans-serif;
	margin: 0;
	background-color: #f7f7f7;
	color: #333;
	display: flex;
}

/* Sidebar styles */
.sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: 180px;
	height: 100vh;
	background-color: rgb(115, 178, 232);
	color: white;
	padding: 20px;
	box-sizing: border-box;
	transition: width 0.3s ease;
	overflow: hidden;
	z-index: 1000;
}


.auto-sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: 180px;
	height: 100vh;
	background-color: rgb(115, 178, 232);
	color: white;
	padding: 20px;
	box-sizing: border-box;
	transition: width 0.3s ease;
	overflow: hidden;
	z-index: 1000;
}


.sidebar.collapsed {
	width: 70px;
}

.sidebar.collapsed ~ .main {
	margin-left: 70px;
}

.sidebar .toggle-btn {
	font-size: 20px;
	cursor: pointer;
	margin-bottom: 30px;
	display: flex;
	align-items: center;
}

.sidebar h1 {
	font-size: 24px;
	margin-bottom: 40px;
	transition: opacity 0.3s ease;
}

.sidebar.collapsed h1,
.sidebar.collapsed .label {
	opacity: 0;
	pointer-events: none;

}

.nav-link {
	display: flex;
	align-items: center;
	color: white;
	text-decoration: none;
	margin-bottom: 20px;
	font-weight: bold;
	transition: opacity 0.2s ease;
}

.nav-link:hover {
	opacity: 0.8;
}

.nav-link i {
	font-size: 18px;
	width: 24px;
	text-align: center;
}

.tab-nav {
	display: flex; 
	border-bottom: 2px solid #ddd; 
	margin-bottom: 20px;  
	max-width: 1040px;
	margin: auto;
}

.main {
	flex: 1;
	padding: 40px;
	margin-left: 180px; /* same as sidebar width */
	transition: margin-left 0.3s ease;
}

.main-index {
	flex: 1;
	padding: 40px;
	transition: margin-left 0.3s ease;
}

.container-half {
	max-width: 500px;
	background: white;
	padding: 20px;
	margin: auto;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	flex: 1 1 48%; /* a little less than 50% to accommodate gap */

}

.container-top {
	max-width: 1040px;
	padding: 0px;
	border-radius: 8px;
	margin: auto;
}

.container-top-row {
	display: flex;
	gap: 15px;
	align-items: stretch;
	flex-wrap: wrap;
  }

.container {
	max-width: 1000px;
	background: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	margin: auto;
}

.job-board-container {
	max-width: 1200px;
	background: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	margin: auto;
}

@media (max-width: 768px) {
	.container-half {
	  flex: 1 1 100%; /* full width on narrow screens */
	}
  }

h3 {
	margin-top: 0;
	border-bottom: 2px solid #ddd;
	padding-bottom: 5px;
	font-size: 16px;
}

h2 {
	margin-top: 0;
	border-bottom: 2px solid #ddd;
	padding-bottom: 5px;
}

.section {
	font-size: 14px;

}

.info-grid {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 10px;
}

.visit {
	border-bottom: 1px solid #ddd;
	padding: 10px 0;
}

.visit:last-child {
	border-bottom: none;
}

.visit-entry {
	margin-bottom: 20px;
}

.visit-entry .meta {
	display: flex;
	gap: 40px;
}

/* Modal overlay */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

/* Modal box */
.modal-content {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	width: 500px;
	max-width: 90%;
	position: relative;
}

.modal-content h3 {
	margin-top: 0;
}

.modal-content label {
	display: block;
	margin-top: 10px;
	font-weight: bold;
	font-size: 14px
}

.modal-content input,
.modal-content select,
.modal-content textarea {
	width: 100%;
	padding: 8px;
	margin-top: 5px;
	margin-bottom: 10px;
	border-radius: 4px;
	border: 1px solid #ccc;
	font-size: 14px;
	box-sizing: border-box;
}

.modal-content textarea {
	resize: vertical;
	height: 80px;
}

.modal-content button {
	background-color: rgb(115, 178, 232);
	color: white;
	border: none;
	padding: 10px 16px;
	border-radius: 4px;
	cursor: pointer;
	margin-top: 10px;
}


.close-btn {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 20px;
	cursor: pointer;
	color: #888;
}


.tab-button.active {
	background-color: rgb(115, 178, 232);
	color:  rgb(115, 178, 232);
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px; /* same font size for both */
}

table th, table td {
	padding: 10px;
	border-bottom: 1px solid #ddd;
	text-align: left;
}

table thead tr {
	background-color: #f0f0f0;
}

table th {
	border-bottom: 2px solid #ddd;
}


.sidebar-logo {
	width: 100%;
	max-width: 140px;
	margin: auto;
  }
  

  .lightbox {
	display: none; /* Hidden by default */
	position: fixed;
	z-index: 1000;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.8);
	justify-content: center;
	align-items: center;
  }

  .lightbox-content {
	position: relative;
	width: 90%;
	max-width: 1000px;
	background: #fff;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  }

  .lightbox iframe {
	width: 100%;
	height: 70vh;
	border: none;
  }

  .close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 28px;
	font-weight: bold;
	color: #333;
	cursor: pointer;
  }

  .close:hover {
	color: #000;
  }




.board {
	display: flex;
	gap: 20px;
}

.column {
	flex: 1;
	background: #ebecf0;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	display: flex;
	flex-direction: column;
	height:75vh;
}

.column h3 {
	margin-top: 0;
	margin-bottom: 15px;
}

 .card {
    background: #fff;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    line-height: 1.6;
  }

.card:last-child {
	margin-bottom: 0;
}

  .card b {
    display: block;
    margin-bottom: 5px;
  }

  .card span {
    display: block;
    margin-bottom: 3px;
  }


  .sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-bottom {
  margin-top: auto; /* ensures it sits at the bottom */
}