/* === Оформление конвертера === */
.custom-converter {
  font-family: 'Inter', Arial, sans-serif;
  background: #fff;
  max-width: 480px;
  margin: 48px auto;
  padding: 32px 24px 24px 24px;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(101,116,236,0.07);
}
.nice-btn {
    background: #f5f8ff;
    color: #6574EC;
    border: 1px solid #e1e5fa;
    padding: 10px 21px;
    border-radius: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    display: inline-block;
    display: block;
    margin: 20px auto 0;
}
.nice-btn input[type=file]{display:none}
.nice-btn:hover {background:#eef3fd;}
.convert-btn {
  background: #6574EC;
  color: #fff;
  border-radius: 8px;
  padding: 20px 68px;
  font-size: 18px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(101, 116, 236, .13);
  transition: .19s;
  display: block;
  margin: 20px auto 0;  /* auto по бокам = по центру */
}
.convert-btn:disabled{background:#bbb;}
.nice-file {margin-bottom:18px;}
#file-count {font-size:15px;color:#888;margin-left:10px}
#format-dropdown {margin:7px 0 16px 0;}
#progress-wrap {
  width:100%;
  background:#f4f8ff;
  border-radius:7px;
  height:13px;
  overflow:hidden;
}
#progress-bar {
  height:13px;
  border-radius:7px;
  width:0%;
  background:linear-gradient(90deg,#6574EC,#53fad8);
  transition:width .37s;
}
#result a {
  color:#5465e7;
  font-weight:600;
  display:inline-block;
  margin-top:10px;
}

/* === Custom dropdown === */
.cf-select {
  width:100%;
  position:relative;
  user-select:none;
}
.cf-select-selected {
  padding:13px 16px;
  font-size:17px;
  border-radius:9px;
  border:1.7px solid #dde3f6;
  cursor:pointer;
  background:#f6f8fe;
  color:#2b315c;
  font-weight:500;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.cf-select-selected:after {
  content:'';
  display:inline-block;
  margin-left:18px;
  border:6px solid transparent;
  border-top:7px solid #6574EC;
  transition:.20s;
}
.cf-select.open .cf-select-selected:after {
  border-top:0;
  border-bottom:7px solid #5460e7;
}
.cf-select-dropdown {
  display:none;
  position:absolute;
  z-index:99;
  width:100%;
  left:0;
  top:100%;
  background:#fff;
  border-radius:10px;
  box-shadow:0 7px 35px rgba(84,96,231,0.12);
  max-height:270px;
  overflow:auto;
}
.cf-select.open .cf-select-dropdown {display:block;}
.cf-group-label {
  color:#7c8fc9;
  font-size:13px;
  font-weight:700;
  padding:8px 16px 2px 15px;
  background:#f6f7fc;
}
.cf-option {
  padding:12px 18px 12px 41px;
  font-size:16px;
  cursor:pointer;
  transition:.15s;
  border-bottom:1px solid #f2f4fa;
  position:relative;
  display:flex;
  align-items:center;
}
.cf-option:last-child{border-bottom:none;}
.cf-option:hover, .cf-option.active {background:#e8efff;}
.cf-option .file-icon {
  position:absolute;
  left:16px;
  font-size:17px;
  opacity:0.74;
}
.search-input {
  width:100%;
  border:0;
  border-bottom:1.2px solid #e1e7f9;
  font-size:16px;
  outline:0;
  padding:13px 14px;
  background:#f7fafe;
  border-radius:7px 7px 0 0;
  margin-bottom:3px;
}

/* == Единая красивая зона == */
.drop-zone {
  border: 2px dashed #cdd1fa;
  border-radius: 12px;
  background: #f9f9ff;
  padding: 40px 25px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  margin-bottom: 25px;
  cursor: pointer;
}

.drop-zone:hover {
  border-color: #7c87ff;
  background: #f4f5ff;
  box-shadow: 0 0 12px rgba(101,116,236,0.10);
}

.drop-zone.dragover {
  background: #eef0ff;
  border-color: #6574ec;
  box-shadow: 0 0 18px rgba(101,116,236,0.25);
}

.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.drop-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.drop-icon {
  font-size: 42px;
  color: #6574ec;
  user-select: none;
}

.drop-text strong {
  color: #333;
  font-size: 16px;
  display: block;
}

.drop-text span {
  font-size: 14px;
  color: #777;
}

.drop-text a {
  color: #6574ec;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.drop-text a:hover {
  color: #4655dc;
  text-decoration: underline;
}

#file-count {
  margin-top: 10px;
  font-size: 13px;
  color: #666;
}

/* подпись под кнопкой */
.upload-limit {
  margin-top: 18px;
  text-align: center;
  font-size: 13.5px;
  color: #666;
  line-height: 1.6;
}
.upload-limit a {
  color: #6574ec;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.upload-limit a:hover {
  color: #4655dc;
  text-decoration: underline;
}
.upload-limit span {
  color: #777;
  font-size: 13px;
}


