/* styles.css */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #333;
  color: #fff;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #555;
  color: #fff;
  cursor: pointer;
}

.tab:hover {
  background-color: #777;
}

.tab.active {
  background-color: #777;
}

.chore-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: #555;
  border-radius: 5px;
  font-size: 14px;
}

.chore-info {
  flex-grow: 1;
}

.extra {
    background-color: #aa4a44;
    border-radius: 10px;
}

.dollar-value {
  font-weight: bold;
  margin-left: 10px;
}

.chore-actions button,a {
  padding: 2px;
  border: none;
  background-color: transparent;
  color: #ccc;
  cursor: pointer;
}

.chore-actions button:hover,a:hover {
  color: #fff;
}

.earnings {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 5px 10px;
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  color: #ccc;
}

.earnings-value {
  font-weight: bold;
  color: #fff;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.popup {
  position: fixed;
  top: 5%;
  left: 10%;
  right: 15%;
  z-index: 3;
}

.popup-content {
  position: relative;
  z-index: 1;
  padding: 10px;
  background-color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
}


.date-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.nav-arrow {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  font-size: 24px;
  margin: 0 10px;
}

.current-date {
  font-size: 18px;
}

.add-chore {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.add-chore i {
  vertical-align: middle;
  margin-right: 5px;
}
