.dashboard-info h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
}

.stat-box {
  background-color: var(--white);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  text-align: center;
  box-shadow: 0 2px 6px var(--shadow);
}

.stat-value {
  font-size: 2rem;
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 1rem;
  color: var(--accent);
}

.progress-bar {
  margin-top: 10px;
  width: 100%;
  height: 12px;
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background-color: var(--primary);
  width: 0;
  transition: width 0.4s ease-in-out;
  border-radius: 10px;
}

.dashboard-links {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.dashboard-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  padding: 18px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 8px var(--shadow);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.dashboard-links a:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.dashboard-links a::before {
  content: '📘';
  margin-right: 10px;
  font-size: 1.4rem;
}

.dashboard-links a:nth-child(2)::before {
  content: '✏️';
}

.dashboard-links a:nth-child(3)::before {
  content: '🗓️';
}

.dashboard-links a:nth-child(4)::before {
  content: '👤';
}

.logout-btn {
  text-align: center;
  margin-top: 80px;
}

.logout-btn a {
  background-color: #C0392B;
  color: var(--white);
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.logout-btn a:hover {
  background-color: #a3574e;
  transform: scale(1.05);
}
