body {
  background: #111;
  color: #eee;
  font-family: sans-serif;
}
/* LOGIN PAGE */
.login-body {
  background: #1e1e1e;
  font-family: Arial, sans-serif;
}

.login-card {
  width: 280px;
  margin: 25px auto;
  padding: 24px;

  background: linear-gradient(180deg, #4b0082, #2a003f);
  border-radius: 16px;

  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  color: #fff;
}
.login-card h1 {
  text-align: center;
  margin-bottom: 24px;
  color: #c084ff;
}
.login-card label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  opacity: 0.9;
}

.login-card input {
  width: 90%;
  height: 38px;
  margin-bottom: 16px;
  padding: 6px 10px;

  border-radius: 6px;
  border: 1px solid #aaa;

  font-size: 14px;
}

.login-card button {
  width: 100%;
  height: 40px;

  background: #7c3aed;
  color: #fff;

  border: none;
  border-radius: 8px;

  font-size: 16px;
  cursor: pointer;
}

.login-card button:active {
  background: #5b21b6;
}
/* TASK PAGE */
.tasks-section {
  background: #4b0d73;
  border-radius: 20px;
  padding: 16px;
  margin: 20px 12px;
  color: #e6d9ff;
}

.tasks-section h2 {
  margin: 0 0 12px 4px;
  font-size: 22px;
  font-weight: bold;
}

.tasks-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.task-item {
  margin-bottom: 0px;
  list-style: none;
  font-size: 22px;
  padding: 3px;
}

.task-card {
  display: flex;
  align-items: center;
  background: #2a0a4e;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.task-text {
  font-size: 14px;
  line-height: 1.3;
  color: #f0e9ff;
}
.task-count {
  text-align: right;
  font-size: 12px;
  opacity: 0.8;
  margin-top: 6px;
}

.task-card input[type="checkbox"] {
  display: none;
}
.obsidian-checkbox {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 2px solid #bfa6ff;
  display: inline-block;
  margin-right: 10px;
  background: transparent;
  box-sizing: border-box;
}
.task-card input[type="checkbox"]:checked + .obsidian-checkbox {
  background: #8b5cf6;
  border-color: #8b5cf6;
  position: relative;
}
.task-card input[type="checkbox"]:checked + .obsidian-checkbox:after {
  content: "✔";
  font-size: 24px;
  font-family: sans-serif;
  font-weight: bold;

  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -12px;
  margin-top: -16px;
  color: #fff;
}

/* FILE PAGE */
.file-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}
.files-list {
  padding: 8px;
}

/* card */
.file-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #1e1e1e;
  border-radius: 8px;
  padding: 10px 12px;

  margin-bottom: 8px; /* no lugar de gap */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
/* ações */
.file-actions {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.btn {
  color: rgba(179, 179, 179, 0.26);
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}
.btn:hover {
  background-color: rgb(8, 211, 1);
  color: #eee;
}
.download-icon {
  width: 24px;
  height: 24px;
  background-image: url("/assets/download-icon.png");
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: center;
  filter: invert(1);

  display: inline-block;
}
.edit-icon {
  width: 24px;
  height: 24px;
  background-image: url("/assets/edit-icon.png");
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: center;
  filter: invert(1);

  display: inline-block;
}
