@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Calibri:wght@400;700&display=swap');

/* ---------- Base Styles ---------- */
body {
  font-family: 'Calibri', sans-serif;
  background-color: #fdfdfd;
  color: #ffffff;
  margin: 0;
  transition: background 0.3s, color 0.3s;
}

body.dark {
  background-color: #111;
  color: #fffeab;
}

/* ---------- Header ---------- */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: #f5f5f5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

body.dark .app-header {
  background: #222;
}

.logo-text {
  font-family: 'Lobster', cursive;
  font-size: 28px;
  color: #ffb400;
  margin-right: 10px;
}

.subtitle {
  font-size: 12px;
  color: #555;
}

body.dark .subtitle {
  color: #ddd;
}

/* ---------- Layout ---------- */
.layout {
  display: flex;
  min-height: calc(100vh - 60px);
}

.sidebar {
  width: 220px;
  background: #eee;
  padding: 20px 15px;
  transition: background 0.3s;
}

body.dark .sidebar {
  background: #222;
}

.sidebar nav a {
  display: block;
  padding: 8px 0;
  color: inherit;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.2s;
}

.sidebar nav a:hover {
  background: rgba(0,0,0,0.05);
}

body.dark .sidebar nav a:hover {
  background: rgba(255,255,255,0.1);
}

.content {
  flex: 1;
  padding: 25px;
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background 0.3s, box-shadow 0.3s;
}

body.dark .card {
  background: #333;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* ---------- Inputs & Buttons ---------- */
.input {
  padding: 7px 10px;
  margin-right: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}

.input:focus {
  border-color: #ffb400;
}

.btn {
  padding: 7px 14px;
  margin-left: 5px;
  cursor: pointer;
  background: #ffb400;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  background: #e6a000;
  transform: scale(1.05);
}

.icon {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 20px;
  margin-left: 5px;
  transition: transform 0.1s;
}

.icon:hover {
  transform: scale(1.2);
}

/* ---------- Footer ---------- */
.app-footer {
  text-align: center;
  padding: 15px 0;
  background: #f5f5f5;
  font-size: 12px;
  color: #555;
  transition: background 0.3s, color 0.3s;
}

body.dark .app-footer {
  background: #222;
  color: #ddd;
}

/* ---------- Misc ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Lobster', cursive;
  margin-bottom: 10px;
  color: #ffb400;
}

body.dark h1, body.dark h2, body.dark h3, body.dark h4 {
  color: #ffd966;
}

a {
  color: inherit;
}

a:hover {
  text-decoration: underline;
}
