/* Balanced two-column layout, compact */
.pdf-converter-form {
    max-width: 560px;
    margin: 18px auto;
    background: #001f3f !important; /* chống theme đè */
    color: #fff !important;
    padding: 16px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-family: Arial, sans-serif;
}

.pdf-converter-form h2 {
    text-align: center;
    margin: 4px 0 10px 0;
    font-size: 20px;
    color: #ffc107 !important; /* vàng đậm */
}

.pdf-quota,
#quota-line { /* để plugin cũ vẫn “ăn” style quota */
    text-align: center;
    margin: 0 0 8px 0;
    font-weight: bold;
}

.pdf-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 520px) {
  .pdf-grid { grid-template-columns: 1fr 1fr; }
}

.pdf-col label {
    display:block;
    margin-bottom:6px;
}

.pdf-converter-form input[type="file"],
.pdf-converter-form button {
    width: 100%;
    padding: 9px;
    font-size: 15px;
}

.pdf-converter-form button {
    margin-top: 6px;
    background: #ffc107;
    color: #000;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.pdf-converter-note {
    font-size: 13px;
    text-align: center;
    margin-top: 8px;
    color: #ffc;
}

/* Tiến trình */
#progress {
    position: relative;
    margin-top: 8px;
    height: 10px;
    background: #444;
    border-radius: 5px;
    overflow: hidden;
    display: none;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background: #ffc107; /* vàng */
    transition: width 0.3s;
}

/* % chuyển đổi màu trắng đậm */
#progress-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    color: #fff;
    font-weight: bold;
    pointer-events: none;
}

/* Kết quả */
.result-message {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}

/* Link tải DOCX màu đỏ sáng, hover vàng sáng */
.result-message a,
.download-link {
    color: #ff4444;
    font-weight: bold;
    text-decoration: none;
}

.result-message a:hover,
.download-link:hover {
    color: #ffc107;
    text-decoration: underline;
}

/* ==== Tinh chỉnh khoảng cách & kiểu chữ ==== */

/* 1) Giảm khoảng cách giữa tiêu đề và dòng "Còn 14/20..." */
.pdf-converter-form h2 {
  margin: 0 0 6px 0 !important;   /* bớt khoảng trống dưới tiêu đề */
}

/* 2) "Còn 14/20..." không đậm và kéo lên gần tiêu đề */
.pdf-quota,
#quota-line {
  font-weight: 400 !important;    /* bỏ đậm */
  margin: -2px 0 10px 0 !important; /* kéo lên nhẹ (âm = dịch lên) */
}

/* 3) Nút vàng dịch xuống một chút để cân bố cục */
.pdf-converter-form .btn-submit {
  margin-top: 14px !important;    /* tăng/giảm tùy ý: 12–18px */
}
.pdf-converter-form .pdf-col label {
    margin-top: 10px !important;   /* lùi label xuống */
    display: block;
}

.pdf-converter-form {
    margin-top: 40px !important;   /* khoảng cách phía trên */
    margin-bottom: 40px !important;/* khoảng cách phía dưới */
}

