
.audio-info,.top-row{
  display: flex;
  align-items: center;
}

.top-row{
  border-radius: 4px;
    margin: 1px 20px;
    padding: 8px;
    justify-content: space-between;
    background: #f1f3ff;
    min-width: 50%;
}
.file-name{
  font-size: 15px;
  opacity: .8;
}
.remove-btn{
  border: none;
  color: red;
  background: white;
  font-size: 22px;
  border-radius: 8px;
  cursor: pointer;
}
#xselxx{
 display: flex;
 justify-content: center;
 gap: 10px;
 margin: 20px 1px;
  align-items: flex-end;
}
#xselxx select{
      padding: 4px 10px;
    outline: none;
    border: 1px solid #c9c9c9;
    background: white;
    border-radius: 2px;
}
#file{
    display: none;
}
#audiocardx{
    display: flex;
    justify-content: center;
}
.selxwrap label{
  font-size: 13px;
  opacity: .7;
}
.selxwrap{
  display: flex;
  gap: 3px;
  flex-direction: column;
}
#cmprsbtnx{
  background: var(--pcolor);
    color: white;
    border-radius: 2px;
    border: none;
    padding: 8px 16px;
}
.fnamesize{
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.audio-icon{
  font-size:28px;
  margin-right:10px;
}

.file-size{
  font-size:14px;
  opacity: .8;
  font-weight: bold;
  color: #ff5722;
}
#resultcrd{
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.result-card{
    background: #fff;
    border-radius: 7px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 9px;
}

/* TOP STATUS */
.status-top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.success-icon{
  width:42px;
  height:42px;
  background:#4449a6;
  color:#fff;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:bold;
}

.status-text{
  font-size:18px;
  font-weight:700;
  color:#222;
}

/* SIZE GRID */
.size-grid{
      display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f6f7ff;
    padding: 7px 20px;
    border-radius: 6px;
    gap: 14px;
}

.size-box{
  text-align:center;
  flex:1;
}

.label{
  font-size:13px;
  color:#666;
  margin-bottom:4px;
}

.value{
  font-size:18px;
  font-weight:700;
  color:#222;
}

.highlight .value{
  color:#4449a6;
}

.arrow{
  font-size:22px;
  padding:0 10px;
  color:#999;
}

.download-btn{
    display: block;
    text-align: center;
    background: #4449a6;
    color: #fff;
    padding: 6px 9px;
    border-radius: 3px;
    font-size: 14px;

}

.download-btn:hover{
  background:#373c8f;
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(68,73,166,0.3);
}

@media screen and (max-width: 600px) {
    .result-card{
      flex-direction: column;
      width: 100%;
    }
    audio{
      width: 100%;
    }
    .innerdownwrap{width: 100%;}
}
@media screen and (max-width: 500px) {
  .selxwrap{
    width: 100%;
  }
  #xselxx{
    align-items: center;
    flex-direction: column;
  }
  #cmprsbtnx{
    padding: 10px 22px;
    margin-top: 13px;
  }
  .top-row{
    min-width: 94%;
  }
}


.processing {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top: 30px;
  color: var(--pcolor);
  opacity: .9;
  font-size: 15px;
}

.spinner {
  width:18px;
  height:18px;
  border:3px solid var(--pcolor);
  border-top:3px solid rgba(255,255,255,0.3);
  border-radius:50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

button:disabled {
  opacity:0.6;
  cursor:not-allowed;
}