/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #1e3a8a, #2563eb, #3b82f6);
  padding: 15px 30px;
  color: white;
  flex-wrap: wrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-button {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.nav-button.active {
  background-color: rgba(255,255,255,0.3);
}

/* Search bar */
.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.nav-search input {
  padding: 8px 14px;
  border-radius: 20px;
  border: none;
  font-size: 0.9rem;
  outline: none;
  background-color: rgba(255,255,255,0.9);
  color: #1e3a8a;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.nav-search input:focus {
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
  transform: scale(1.02);
}

.nav-search button {
  padding: 8px 12px;
  background-color: #ffffff;
  color: #2563eb;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-search button:hover {
  background-color: #e2e8f0;
  transform: scale(1.1);
}

/* Header */
.dashboard-header {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: white;
  box-shadow: inset 0 -4px 10px rgba(0,0,0,0.1);
}

.dashboard-header h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.dashboard-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Sections */
.dashboard-section {
  background-color: white;
  margin: 30px auto;
  padding: 30px 25px;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.dashboard-section:hover {
  transform: translateY(-3px);
}

.dashboard-section h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #2563eb;
}

.dashboard-section p {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* Buttons */
.start-button,
.dashboard-section button {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background-color: #2563eb;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.start-button:hover,
.dashboard-section button:hover {
  background-color: #1e40af;
}

/* Planner */
#taskInput {
  padding: 10px;
  width: 100%;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

#taskList {
  list-style: none;
  padding: 0;
}

#taskList li {
  background-color: #e2e8f0;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Pomodoro */
#timerDisplay {
  font-size: 2.2rem;
  font-weight: bold;
  margin: 10px 0;
}

#sessionLabel {
  font-size: 0.95rem;
  color: #666;
}

/* Motivation */
#quote {
  font-style: italic;
  font-weight: bolder;
  font-size: 25px;
  color: #444;
}

/* Footer */
footer {
  text-align: center;
  padding: 25px;
  background: linear-gradient(90deg, #2563eb, #1e40af);
  color: white;
  font-size: 0.9rem;
  margin-top: 40px;
}
