@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f7f6;
  color: #333;
}

header {
  background-color: #ffffff;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-img {
  height: 60px;
  width: auto;
}

.slogan {
  font-style: italic;
  color: #555;
  font-weight: 300;
  border-left: 2px solid #2d5a27;
  padding-left: 15px;
  font-size: 0.95rem;
}

.user-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 0.9rem;
}

.user-info {
  color: #2d5a27;
  font-weight: 600;
}

.logout-btn {
  text-decoration: none;
  color: #d9534f;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid #d9534f;
  border-radius: 6px;
  transition: all 0.3s;
}

.logout-btn:hover {
  background-color: #d9534f;
  color: white;
}

main {
  min-height: calc(100vh - 95px);
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.menu-container {
  background: white;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 980px;
  text-align: center;
}

.menu-container h2 {
  margin: 0 0 10px;
  color: #2d5a27;
  font-size: 30px;
  font-weight: 700;
}

.menu-container p {
  margin: 0 auto 35px;
  max-width: 560px;
  color: #5f6670;
  font-size: 17px;
  line-height: 1.4;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.dashboard-card {
  background: #ffffff;
  border: 1px solid #d9e8dc;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  text-align: left;
}

.dashboard-card h3 {
  margin: 0 0 18px;
  color: #0f5c49;
  font-size: 20px;
  font-weight: 700;
}

.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #1a3c18;
  background-color: #f9fdf9;
  padding: 15px 18px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid #e0eae0;
  transition: all 0.2s ease-in-out;
  margin-bottom: 12px;
}

.menu-link::after {
  content: "›";
  font-size: 24px;
  color: #0f5c49;
}

.menu-link:hover {
  background-color: #2d5a27;
  color: white;
  transform: translateY(-2px);
}

.menu-link:hover::after {
  color: white;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  margin-bottom: 15px;
}

@media (max-width: 800px) {
  header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .logo-area {
    flex-direction: column;
    gap: 10px;
  }

  .slogan {
    border-left: none;
    padding-left: 0;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .menu-container {
    padding: 28px 20px;
  }
}