* {
  box-sizing: border-box;
}

/* BODY */
body{
  margin:0;
  background:#0a0a0a;
  color:#fff;
  font-family:Arial, sans-serif;
}

/* MAIN */
.main{
  height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:20px;
}

/* TEXT */
.label{
  color:#777;
  letter-spacing:4px;
  font-size:12px;
}

h1{
  font-size:42px;
  margin:10px 0;
}

.subtitle{
  color:#aaa;
  max-width:500px;
  margin-bottom:25px;
}

/* INPUT BOX */
.inputBox{
  display:flex;
  width:100%;
  max-width:700px;
  background:#111;
  border-radius:50px;
  border:1px solid #222;
  overflow:hidden;
  align-items:center;
  margin-bottom:10px;
}

/* FORMAT (SADA KAO BUTTON) */
#format{

  border-left:none;

  margin-left:10px;
}

/* INPUT */
.inputBox input{
  flex:1;
  height:48px;
  background:transparent;
  border:none;
  color:white;
  padding:15px;
  outline:none;
}

/* SELECTS (desno) */
.inputBox select{
  height:48px;
  background:#111;
  color:white;
  border:none;
  padding:0 35px 0 15px; /* prostor za strelicu */
  border-left:1px solid #222;
  cursor:pointer;

  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  background-image:url("data:image/svg+xml;utf8,<svg fill='white' height='12' viewBox='0 0 20 20' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
  background-repeat:no-repeat;
  background-position:right 10px center;
}

#quality{
  margin-right:10px;

}

/* GO BUTTON */
.inputBox button{
  background:#7c3aed;
  border:none;
  color:white;
  padding:0 25px;
  height:48px;
  cursor:pointer;
  border-radius:0 50px 50px 0;
}

/* DOWNLOAD BUTTON */
.downloadBtn{
  margin-top:20px;
  padding:15px 30px;
  background:#7c3aed;
  color:white;
  border:none;
  border-radius:50px;
  font-weight:bold;
  cursor:pointer;
  transition:0.2s;
}

.downloadBtn:hover{
  background:#6d28d9;
}
.sidebar{
  width:200px;
  height:100vh;
  background:#151515;
  position:fixed;
  padding:20px;
}

.sidebar a{
  display:block;
  color:white;
  padding:10px;
  margin-bottom:10px;
  background:#222;
  border-radius:5px;
  text-decoration:none;
}

.logo{
  position:absolute;
  top:50px;
  left:50%;
  transform:translateX(-50%);
}

.logo img{
  height:80px;
  object-fit:contain;
}


#format {
  border-right:1px solid #222;
}
.status{
  margin-top:15px;
  text-align:center;
  color:#aaa;
}
.status{
  margin-top:30px;
  text-align:center;
  color:#aaa;
  font-size:14px;
  min-height:20px;
}

/* SPINNER */
.loader{
  display:inline-block;
  width:16px;
  height:16px;
  border:2px solid #333;
  border-top:2px solid #7c3aed;
  border-radius:50%;
  animation:spin 0.8s linear infinite;
  margin-right:8px;
}

@keyframes spin{
  0%{ transform:rotate(0deg); }
  100%{ transform:rotate(360deg); }
}

/* SUCCESS */
.success{
  color:#22c55e;
}

/* PROCESSING */
.processing{
  color:#a78bfa;
}