.toggle {
  position: relative;
  width: 210px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  margin-bottom: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
}

.slider {
  position: absolute;
  height: 40px;
  width: 50%;
  border-radius: 9999px;
  background: linear-gradient(to right, #facc15, #ec4899);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.slider.expense {
  transform: translateX(96px);
}

.toggleLabel {
  flex: 1;
  text-align: center;
  color: white;
  font-weight: 600;
  position: relative;
  z-index: 10;
}

.select {
  background: transparent;
  border: none;
  border-bottom: 1px solid #6b7280;
  color: white;
  outline: none;
  margin-bottom: 16px;
  width: 192px;
  text-align: center;
  font-size: 14px;
}
.select option {
  background: #6828cf; /* açılan pencere */
  color: white; /* yazı rengi */
}

.form {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.row {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-bottom: 16px;
}

.input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #6b7280;
  color: white;
  outline: none;
  font-size: 16px;
}

.dateWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #6b7280;
  padding: 0 8px;
}

.calendar {
  background: white !important;
  color: black !important;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  padding: 8px;
}

.calendarIcon {
  color: white;
}

.comment {
  background: transparent;
  border: none;
  border-bottom: 1px solid #6b7280;
  color: white;
  outline: none;
  width: 394px;
  display: block;
  margin: 0 auto;
  font-size: 14px;
}

.buttons {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.addBtn {
  background: linear-gradient(to right, #facc15, #ec4899);
  color: white;
  font-weight: 400;
  padding: 8px 0;
  border-radius: 9999px;
  width: 256px;
  margin: 0 auto;
  border: none;
  cursor: pointer;
}

.cancelBtn {
  background: white;
  color: #1f2937;
  font-weight: 400;
  padding: 8px 0;
  border-radius: 9999px;
  width: 256px;
  margin: 0 auto;
  border: none;
  cursor: pointer;
}

:global(.react-calendar) {
  background: #6727cd;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px;
}

.formMobile {
  gap: 16px;
}

.selectMobile {
  width: 100%;
}

.rowMobile {
  flex-direction: column;
  gap: 16px;
}

.inputMobile {
  width: 100%;
}

.commentMobile {
  width: 100%;
}
