
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(145deg, #7f7df0, #c4a09a);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: white;
  overflow: hidden;
}

/* Контейнер */
.main-container {
  width: 100%;
  max-width: 600px;
  background: linear-gradient(145deg, #bbb1bd, #696269);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Заголовок */
.header h1 {
  font-size: 38px;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #fffdfe, #ffffff);
  -webkit-background-clip: text;
  color: transparent;
}

.header p {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 20px;
}


.tabs {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.tab-button {
  background-color: #ffffff;
  color: #0072ff;
  border: none;
  border-radius: 30px;
  padding: 12px 25px;
  margin: 0 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button.active {
  background: #0072ff;
  color: white;
}

.tab-button:hover {
  background: #f0f4f8;
}


.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


.password-box {
  margin-top: 20px;
}

.password-output {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  width: 80%;
  margin: 0 auto;
  text-align: center;
  word-wrap: break-word;
}

.generate-btn {
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #00c6ff;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.generate-btn:hover {
  background-color: #0072ff;
}


.settings {
  margin-top: 20px;
  font-size: 14px;
  color: #ffffff;
}

.settings input[type="number"],
.settings input[type="checkbox"] {
  margin-left: 10px;
}


.footer {
  margin-top: 40px;
  font-size: 14px;
  color: #ffffff;
}

.footer a {
  color: #0072ff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Респонсивность */
@media (max-width: 768px) {
  .main-container {
      padding: 20px;
  }

  .tab-button {
      margin: 10px;
      padding: 10px 20px;
  }

  .password-output {
      width: 90%;
  }
}
