/* theme.css */

/* Base Theme Variables */
:root {
  --bg-color: #f9f9f9;
  --text-color: #1a1a1a;
  --primary-color: #3f51b5;
  --secondary-color: #ff4081;
  --card-bg: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Dark Mode */
body.dark-mode {
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --primary-color: #7986cb;
  --secondary-color: #f48fb1;
  --card-bg: #1e1e1e;
  --shadow: rgba(0, 0, 0, 0.5);
}

/* Global Styles */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  transition: background 0.3s, color 0.3s;
}

/* Header */
header {
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 2px 10px var(--shadow);
}

/* Card UI */
.card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
  padding: 1.5rem;
  margin: 1rem auto;
  max-width: 800px;
  transition: transform 0.2s, background 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}

/* Buttons */
button {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}
button:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}
