body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
  background: linear-gradient(180deg, #f8f9fa, #eef1f4);
  min-height: 100vh;
}

a {
  color: #2487ce;
  text-decoration: none;
}

a:hover {
  color: #469fdf;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 12px 0;
}

#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.5px;
  font-family: "Poppins", sans-serif;
}

#header .logo a {
  color: inherit;
}

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

.card {
  border: 0;
}

/* Custom button colour */
.btn-primary {
  background-color: #2563eb;
  border-color: #2563eb;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.projects-scroll-window {
  max-height: 50px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Dashboard layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 4fr 3fr;
  gap: 1rem;
  align-items: stretch;
}

.dashboard-grid > .card {
  width: 100%;
  height: 100%;
}

.tasks-card {
  min-height: 100%;
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Sessions table */
.sessions-table {
  width: 100%;
  border-collapse: collapse;
}

.sessions-table th,
.sessions-table td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
}

.sessions-table th {
  font-weight: 600;
}

.sessions-table th:nth-child(1),
.sessions-table td:nth-child(1) {
  width: 10%;
}

.sessions-table th:nth-child(2),
.sessions-table td:nth-child(2) {
  width: 35%;
}

.sessions-table th:nth-child(3),
.sessions-table td:nth-child(3) {
  width: 35%;
}

.sessions-table th:nth-child(4),
.sessions-table td:nth-child(4) {
  width: 20%;
}

.sessions-scroll-window {
  max-height: 260px;
  overflow-y: auto;
}

.sessions-project-cell {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}