:root {
  --primary-color: #8cbe29;
  --primary-hover: #75a022;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #f4f6f8;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --user-details-bg: #f9fbfd;
  --radius: 8px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  background-color: var(--card-bg);
  width: 100%;
  max-width: 800px;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
}

h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

h2 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-light);
}

.hidden {
  display: none !important;
}

.spinner {
  text-align: center;
  padding: 40px 0;
  color: var(--primary-color);
}

.user-details {
  background-color: var(--user-details-bg);
  border: 1px solid var(--border-color);
  padding: 15px 20px;
  border-radius: var(--radius);
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.user-details p {
  margin: 0;
  font-size: 0.95rem;
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.2s ease;
  text-align: center;
}

.tile:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 8px rgba(140, 190, 41, 0.15);
  transform: translateY(-2px);
}

.tile i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.tile span {
  font-weight: 500;
  font-size: 1.1rem;
}

.tile.action-tile i {
  color: var(--text-light);
}

.tile.action-tile:hover i {
  color: var(--primary-color);
}

@media (max-width: 600px) {
  .container {
    padding: 20px;
  }

  .dashboard {
    grid-template-columns: 1fr;
  }

  .user-details {
    flex-direction: column;
  }
}
