body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f7f6; /* A slightly softer background */
    color: #495057; /* Slightly lighter text */
    line-height: 1.6;
}

h1 {
    font-weight: 700;
}

/* General container padding */
.container-slim {
    max-width: 900px; /* Slightly narrower max width */
    margin: 0 auto;
}

/* Card styling for a cleaner look */
.card {
    border: 1px solid #e9ecef; /* Subtle border */
    border-radius: 0.75rem; /* More rounded corners */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); /* Slightly more prominent, softer shadow */
    margin-bottom: 2.5rem; /* Space between cards */
}

.card-body {
    padding: 2.5rem; /* Increased card padding */
}

.card-title {
    margin-bottom: 2rem; /* More space below card title */
    font-size: 1.4rem; /* Slightly larger card title */
    font-weight: 600;
    color: #5a6268; /* Slightly muted title color */
    padding-bottom: 0.75rem; /* Padding below title */
    border-bottom: 1px solid #e9ecef; /* Subtle line below title */
}

/* Form input styling */
.form-label {
    font-weight: 500;
    margin-bottom: 0.6rem; /* Increased space below label */
    color: #495057;
    font-size: 0.95rem;
}

.form-control {
    border-radius: 0.5rem; /* More rounded input borders */
    border: 1px solid #ced4da; /* Explicit border */
    padding: 0.85rem 1.2rem; /* Increased padding */
    font-size: 1rem;
    line-height: 1.5;
}

.form-control:focus {
    border-color: #80bdff; /* Default Bootstrap focus color */
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); /* Default Bootstrap focus shadow */
}

/* Specific styles for form text */
.form-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.4rem; /* Increased space above text */
}

/* Button styling - keep border-radius 0 from inline style but improve padding and hover */
.btn {
    font-weight: 500;
    padding: 0.85rem 1.8rem; /* Increased button padding */
    transition: all 0.2s ease-in-out;
    border-radius: 0 !important; /* Keep original inline style */
    cursor: pointer;
    font-size: 1rem;
}

.btn-dark {
    background-color: #1f1f1f;
    border-color: #1f1f1f;
    color: #ffffff;
}

.btn-dark:hover {
    background-color: #343a40; /* Slightly lighter on hover */
    border-color: #343a40;
    color: #ffffff;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

/* Horizontal rule for separation */
hr.my-4 {
    margin-top: 2.5rem !important; /* Increased space around HR */
    margin-bottom: 2.5rem !important;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08); /* Softer HR line */
}

/* Table styling */
.table {
    margin-bottom: 0;
}

.table th,
.table td {
    padding: 1.2rem 1rem; /* Increased table cell padding */
    vertical-align: middle;
    border-top: 1px solid #e9ecef; /* Subtle table row border */
}

.table-bordered th,
.table-bordered td {
    border-color: #dee2e6;
}

.table-light th {
    background-color: #f8f9fa; /* Light header background */
    color: #495057; /* Header text color */
    font-weight: 600;
}

.sticky {
    position: sticky;
    top: 0;
    background-color: #f4f7f6; /* Match body background for sticky header */
    z-index: 1;
}

/* Toast styling */
.toast-container {
    top: 1rem;
    right: 1rem;
    z-index: 1055;
}

.toast {
    border-radius: 0.25rem;
}

.toast-body {
    padding: 1rem;
}

/* Specific styles from the original page that might be useful */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff; /* Overridden by new body style */
}
.btn, button {
  border-radius: 0 !important; /* Kept as requested */
}
.main {
  margin-left: 240px;
  padding: 2.5rem 2rem; /* Increased padding */
}
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1055;
}
th.sticky {
  position: sticky;
  top: 0;
  background: #ffffff; /* Keeping original sticky header background */
}
table .dept-name {
  min-width: 250px;
  white-space: normal;
}

h4.mb-4.text-center { /* Target the main page heading */
    font-size: 2rem; /* Larger heading */
    font-weight: 600; /* Semi-bold */
    color: #343a40; /* Darker color for heading */
    margin-bottom: 3rem !important; /* More space below heading */
    padding-bottom: 1rem; /* Add padding below heading */
    border-bottom: 1px solid #e9ecef; /* Subtle line below heading */
}