body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
  background-color: #333;
  color: #fff;
}

.container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 600px;
  transition: background-color 0.3s, color 0.3s;
}

.container.dark-mode {
  background-color: #444;
  color: #eee;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

h1 {
  text-align: center;
  color: #333;
  transition: color 0.3s;
}

h1.dark-mode {
  color: #fff;
}

.input-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  transition: color 0.3s;
}

label.dark-mode {
  color: #ddd;
}

.input-with-checkbox {
  display: flex;
  align-items: center;
  width: 100%;
}

.input-with-checkbox input[type="text"] {
  flex: 1;
  margin-right: 10px;
}

.checkbox-label {
  white-space: nowrap;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 5px;
}

input[type="text"],
select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

input[type="text"].dark-mode,
select.dark-mode {
  background-color: #555;
  color: #fff;
  border-color: #777;
}

input[type="checkbox"] {
  margin-left: 5px;
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  transition: background-color 0.3s, color 0.3s;
}

button:hover {
  background-color: #3e8e41;
}

button.dark-mode {
  background-color: #3e8e41;
  color: #fff;
}

button.dark-mode:hover {
  background-color: #333;
}

#logoContainer {
  margin-top: 20px;
  text-align: center;
  position: relative;
}

.spinner-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 60px;
  height: 60px;
  position: relative;
}

.dot {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.dot::before {
  content: '';
  display: block;
  width: 20%;
  height: 20%;
  background-color: #4CAF50;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  animation: loading-animation 2s infinite;
}

.dot-2 {
  transform: rotate(120deg);
}

.dot-3 {
  transform: rotate(240deg);
}

.dot-2::before {
  animation-delay: 0.2s;
}

.dot-3::before {
  animation-delay: 0.4s;
}

@keyframes loading-animation {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

.logo-wrapper {
  margin-bottom: 10px;
}

.logo-wrapper button {
  margin: 5px;
  padding: 5px 10px;
  font-size: 14px;
}

.logos-grid img {
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s;
}

.dark-mode .logos-grid img {
  border-color: #555;
}

.dark-mode-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

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

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

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

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

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.watermark {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 24px;
  font-weight: bold;
  opacity: 0.5;
  z-index: 1000;
  color: #333;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

body.dark-mode .watermark {
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}