@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url(pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: IranSANS; src: local("IranSANS"), url("IRANSansWeb.ttf") format("truetype"), url("IRANSansWeb.woff") format("woff"), url("IRANSansWeb.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  display: flex;
  padding: 0 10px;
  min-height: 100vh;
  align-items: center;
  background: #3498DB;
  justify-content: center;
}
.cate{
	color:black;
	font-weight:bold;
}
.wrapper{
  height: auto;
  max-width: 415px;
  background: #fff;
  border-radius: 7px;
  padding: 20px 25px 20px;
  transition: height 0.2s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.wrapper.active{
  height: auto;
}
header h1{
  font-size: 30px;
  font-weight: 500;
}
header p{
  margin-top: 5px;
  color: #575757;
  font-size: 16px;
}
.wrapper .form{
  margin: 20px 0 25px;
}
.form :where(input, button){
  width: 100%;
  height: 55px;
  border: none;
  outline: none;
  border-radius: 5px;
  transition: 0.1s ease;
}
.form input{
  font-size: 18px;
  padding: 0 17px;
  border: 1px solid #999;
  margin-bottom: 5px;
}
.form input:focus{
  box-shadow: 0 3px 6px rgba(0,0,0,0.13);
}
.form input::placeholder{
  color: #999;
}
.form button{
  color: #fff;
  cursor: pointer;
  margin-top: 20px;
  font-size: 17px;
  background: #3498DB;
}
.qr-code{
  opacity: 0;
  display: flex;
  padding: 10px 33px;
  border-radius: 5px;
  align-items: center;
  pointer-events: none;
  justify-content: center;
  border: 1px solid #ccc;
  margin-bottom: 5px;
}
.wrapper.active .qr-code{
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s 0.05s ease;
}
.qr-code img{
  width: 170px;
}
.btn {
  color: #fff;
  cursor: pointer;
  margin-top: 0;
  font-size: 17px;
  background: #3498DB;
  width: 100%;
  border: none;
  border-radius: 5px;
  height: 55px;
  display:none;
}
.btn-copy {
  color: #fff;
  cursor: pointer;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 17px;
  background: #8A8A8A;
  width: 100%;
  border: none;
  border-radius: 5px;
  height: 55px;
  position: relative;
  padding: 0.8em 1.8em;
  user-select:none;
  text-align: center;
  text-decoration: none;
  transition-duration: 0.4s;
  -webkit-transition-duration: 0.4s; /* Safari */
}

.btn-copy:hover {
  transition-duration: 0.1s;
  background-color: #3A3A3A;
}

.btn-copy:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 5px;
  left: 0;
  top:0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s;
  box-shadow: 0 0 15px 15px black;
}

.btn-copy:active:after {
  box-shadow: 0 0 0 0 white;
  position: absolute;
  border-radius: 5px;
  left: 0;
  top:0;
  opacity: 1;
  transition: 0s;
}

.btn-copy:active {
  top: 1px;
}

.delbtn {
  color: #fff;
  cursor: pointer;
  margin-top: 10px;
  font-size: 17px;
  background: #F44;
  width: 100%;
  border: none;
  border-radius: 5px;
  height: 55px;
  display:none;
}

.upload {
  color: rgb(42, 161, 255);
  background-color: rgb(182, 232, 255);
  background-image: none;
  border-color: rgb(0, 83, 135);
}
.download {
  color: rgb(70, 198, 7);
  background-color: rgb(211, 255, 137);
  background-image: none;
  border-color: rgb(64, 120, 21);
}
.badge-success {
  color: rgb(255, 255, 255);
  background-color: rgb(89, 227, 120);
}
.badge-danger {
  color: rgb(255, 255, 255);
  background-color: rgb(255, 31, 31);
}
.badge {
  display: inline-block;
  padding: .25em .4em;
  font-size: 75%;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

@media (max-width: 430px){
  .wrapper{
    height: auto;
    padding: 16px 25px 20px;
  }
  .wrapper.active{
    height: auto;
  }
  header p{
    color: #696969;
  }
  .form :where(input, button){
    height: 52px;
  }
  .qr-code img{
    width: 160px;
  }  
}