/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
  background: #f8fafc;
  color: #111;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
}

.logo {
  font-size: 22px;
  font-weight: 600;
  color: #4f46e5;
}

.nav-links a {
  margin-left: 25px;
  text-decoration: none;
  color: #444;
  font-size: 14px;
}

.nav-links a:hover {
  color: #000;
}

/* BUTTON */
.btn {
  padding: 10px 18px;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  gap: 40px;
}

.hero-text h1 {
  font-size: 44px;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 15px;
  color: #555;
  margin-bottom: 25px;
  max-width: 400px;
}

.hero-img img {
  width: 420px;
}

/* ABOUT SECTION */
.about {
  padding: 80px 10%;
  background: #f9fafc;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #111;
}

.about-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
}

/* FEATURES SECTION */
.features {
  margin-top: 80px;
  text-align: center;
}

.features h2 {
  font-size: 24px;
  margin-bottom: 40px;
}

.feature-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.feature-card {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  width: 220px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.feature-card p {
  font-size: 13px;
  color: #666;
}


/* AUTH PAGE */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

/* CARD */
.auth-card {
  background: #fff;
  padding: 35px;
  border: 1px solid #eee;
  border-radius: 16px;
  width: 350px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* TITLE */
.auth-card h2 {
  margin-bottom: 20px;
  font-size: 22px;
}

/* INPUT */
.input-group {
  margin-bottom: 15px;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
  transition: 0.3s;
}

.input-group input:focus {
  border-color: #4f46e5;
}

/* BUTTON FULL */
.btn-full {
  width: 100%;
  text-align: center;
  display: block;
}

/* SMALL TEXT */
.auth-footer {
  margin-top: 15px;
  font-size: 13px;
  text-align: center;
}

.auth-footer a {
  color: #4f46e5;
  text-decoration: none;
}



/* DASHBOARD */
.dashboard {
  padding: 40px 0;
}

/* TOP BAR */
.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.dashboard-top h2 {
  font-size: 22px;
}

/* INPUT SECTION */
.task-input {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.task-input input {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.task-input button {
  padding: 12px 18px;
}

/* TASK LIST */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* TASK CARD */
.task-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.04);
}

.task-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.task-left input {
  cursor: pointer;
}

.completed {
  text-decoration: line-through;
  color: #888;
}

/* DELETE BTN */
.delete-btn {
  border: none;
  background: none;
  color: #e11d48;
  cursor: pointer;
}

/* PROGRESS */
.progress-container {
  margin-top: 25px;
}

.progress-bar {
  height: 8px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: #4f46e5;
  width: 0%;
}

/* DASHBOARD CONTAINER */
.dashboard-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
}

/* HEADER */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

/* TASK INPUT BOX */
.task-box {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.task-box input {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* TASK LIST */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* TASK CARD */
.task-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* LEFT SIDE */
.task-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.completed {
  text-decoration: line-through;
  color: #999;
}

/* DELETE BUTTON */
.delete-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
}

/* PROGRESS */
.progress-section {
  margin-top: 30px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar div {
  height: 100%;
  width: 0%;
  background: #4f46e5;
}

/* NAVBAR */
.navbar {
  width: 100%;
  background: #fff;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.logo {
  font-size: 20px;
  font-weight: 600;
  color: #4f46e5;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

#userEmail {
  font-size: 14px;
  color: #555;
}

html {
  scroll-behavior: smooth;
}