body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg-color);
  color: var(--text-color);
}

body.dark {
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --card-bg: #1e1e1e;
  --input-bg: #2c2c2c;
  --input-border: #444;
  --primary-color: #007bff;
  --primary-hover-color: #0056b3;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

header {
  text-align: center;
  padding: 20px 0;
  background-color: var(--card-bg);
  box-shadow: var(--box-shadow);
}

header h1 {
  color: var(--primary-color);
  font-size: 2rem;
  margin: 0;
}

main {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

section {
  margin-bottom: 30px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--box-shadow);
}

section h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

#goal-form input,
#goal-form button {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--input-border);
  background-color: var(--input-bg);
  color: var(--text-color);
  font-size: 16px;
}

#goal-form input::placeholder {
  color: #bbbbbb;
}

#goal-form button {
  background-color: var(--primary-color);
  color: rgb(0, 0, 0);
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

#goal-form button:hover {
  background-color: var(--primary-hover-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
}

#goal-list {
  margin-top: 20px;
  list-style-type: none;
  padding: 0;
}

#goal-list li {
  background: var(--card-bg);
  color: var(--text-color);
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#goal-list li span {
  font-size: 1rem;
}

#goal-list li button {
  background-color: #dc3545;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#goal-list li button:hover {
  background-color: #c82333;
}

.skill-card {
  background: var(--card-bg);
  color: var(--text-color);
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

.skill-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.skill-card p {
  margin: 5px 0;
}

.skill-card button {
  background-color: #28a745;
  border: none;
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.skill-card button:hover {
  background-color: #218838;
}

.progress-container {
  background: #444;
  height: 8px;
  border-radius: 4px;
  margin: 10px 0;
}

.progress-bar {
  background: #00cc66;
  height: 8px;
  border-radius: 4px;
  transition: width 0.4s ease-in-out;
}

.toast {
  visibility: hidden;
  background-color: #222;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 12px;
  position: fixed;
  z-index: 1;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  box-shadow: 0 0 10px #000;
}

.toast.show {
  visibility: visible;
  opacity: 1;
}

.badge-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #111;
  color: #0ff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 16px;
  box-shadow: 0 0 15px #0ff;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease;
}

.badge-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.badge-count {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #ff5722;
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}