.main {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a4d2e 0%, #2c5530 50%, #1a4d2e 100%);
  color: #ffffff;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 20px 40px;
  position: relative;
  z-index: 1;
}

.header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 700;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  user-select: text;
}

.subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  user-select: text;
}

.loading {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.settingsSection {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 40px;
}

.sectionHeader {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sectionHeader h2 {
  font-size: 2rem;
  margin: 0 0 10px 0;
  color: #ffffff;
  font-weight: 600;
}

.sectionDescription {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

.notificationsList {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.notificationItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.notificationItem:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.notificationInfo {
  flex: 1;
  margin-right: 20px;
}

.notificationInfo h3 {
  font-size: 1.1rem;
  margin: 0 0 5px 0;
  color: #ffffff;
  font-weight: 600;
}

.notificationInfo p {
  font-size: 0.9rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.3);
  transition: 0.3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle input:checked + .slider {
  background-color: #66bb6a;
}

.toggle input:checked + .slider:before {
  transform: translateX(26px);
}

.toggle input:focus + .slider {
  box-shadow: 0 0 1px #66bb6a;
}

.message {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
}

.message.success {
  background: rgba(102, 187, 106, 0.2);
  border: 1px solid #66bb6a;
  color: #c8e6c9;
}

.message.error {
  background: rgba(255, 107, 107, 0.2);
  border: 1px solid #ff6b6b;
  color: #ffcccc;
}

.actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.saveButton,
.resetButton {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: inherit;
}

.saveButton {
  background: linear-gradient(135deg, #2c5530 0%, #1a3a1e 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex: 1;
}

.saveButton:hover:not(:disabled) {
  background: linear-gradient(135deg, #1a3a1e 0%, #2c5530 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.saveButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.resetButton {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.resetButton:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .container {
    padding: 90px 15px 20px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .settingsSection {
    padding: 25px 20px;
  }

  .sectionHeader h2 {
    font-size: 1.5rem;
  }

  .notificationItem {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .notificationInfo {
    margin-right: 0;
    width: 100%;
  }

  .toggle {
    align-self: flex-end;
  }

  .actions {
    flex-direction: column;
  }

  .saveButton,
  .resetButton {
    width: 100%;
  }
}

