body {
  background: #313433;
  font-family: "Arial", sans-serif;
  transition: background 0.5s ease;
}

.container {
  display: flex;
  background-color: #fdfdfd;
  flex-direction: column;
  text-align: center;
  width: 30%;
  border-radius: 15px;
  margin: 5rem auto;
  padding: 2rem;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.5s ease-in-out;
}
.delete-button {
  margin-left: 10px;
  color: white;
  background-color: red;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

@keyframes slideUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

#password-name {
  font-size: 1rem;
  width: 70%;
  padding: 10px;
  border-radius: 15px;
  border: none;
  margin: 0.5rem auto;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: #f7be04;
  border-radius: 5px;
  opacity: 1;
  outline: none;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
  margin: 10px 0;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #000000;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.slider::-webkit-slider-thumb:hover {
  background: #f7be04;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #000000;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.slider::-moz-range-thumb:hover {
  background: #f7be04;
}

.action-btn {
  background-color: #000000;
  border: none;
  color: #f7be04;
  font-size: 1rem;
  cursor: pointer;
  padding: 10px 20px;
  margin: 10px 0;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.action-btn:hover {
  background-color: #222222;
  transform: scale(1.02);
}

input[type="checkbox"] {
  accent-color: #f7be04;
}

.output {
  display: flex;
  padding: 10px;
  justify-content: center;
  gap: 20px;
}
#password-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto;
  width: 70%;
  padding: 20px;
  border-radius: 15px;
  border: none;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  list-style-type: none;
}

.clipboard {
  cursor: pointer;
  border: 0;
  background-color: #ffffff;
  color: #000000;
  border-radius: 50px;
  font-size: 23px;
  transition: all 0.3s ease-in-out;
}

.clipboard:hover {
  background-color: transparent;
  transform: rotate(20deg);
}

#pwd-text {
  min-width: 8rem;
  min-height: 1rem;
  width: fit-content;
  background: #f7be04;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #000000;
  color: #313131;
}

#pwd-text span {
  color: rgb(97, 97, 97);
}

#copy_text {
  color: #434242;
  transition: color 0.3s ease-in-out;
}

#copy_text:active {
  color: #f7be04;
}
#file-upload {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  cursor: pointer;
}

.upload-label {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f7be04;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.upload-label:hover {
  background-color: #e6a604;
}

@media (max-width: 800px) and (min-width: 500px) {
  .container {
    width: 50%;
  }
}

@media (max-width: 499px) {
  .container {
    padding: 1rem;
    width: 90%;
  }
}
