/* image-convert.php 이미지 확장자 변경 */
.menu7-tool { max-width: 1000px; }
.menu7-tool .tool-title-icon { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 32px; font-weight: 900; letter-spacing: 0; }
.menu7-tool .title-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius:14px; background: #eafaf1; font-size: 24px; }
.menu7-tool .tool-desc { max-width: none; font-size: 16px; }
.converter-panel { margin-top: 28px; }
.converter-upload { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 250px; padding: 34px 24px; border: 2px dashed #bfe8d0; border-radius:14px; background: linear-gradient(180deg, #f7fffb 0%, #ffffff 100%); cursor: pointer; text-align: center; transition: border 0.2s, background 0.2s, transform 0.2s; }
.converter-upload:hover, .converter-upload.is-dragover { border-color: #03c75a; background: #effcf5; transform: translateY(-1px); }
.converter-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.converter-upload strong { color: #111827; font-size: 20px; font-weight: 900; }
.converter-upload span { margin-top: 8px; color: #475569; font-size: 14px; font-weight: 800; }
.converter-upload em { margin-top: 8px; color: #64748b; font-size: 13px; font-style: normal; }
.converter-workspace { display: none; margin-top: 22px; }
.converter-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #e6ebf2; border-radius:14px; background: #fff; padding: 22px; }
.converter-summary strong { display: block; color: #111827; font-size: 18px; font-weight: 900; }
.converter-summary span { display: block; margin-top: 6px; color: #64748b; font-size: 13px; font-weight: 700; }
.converter-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: flex-end; gap: 10px; }
.format-select-label { display: flex; flex-direction: column; gap: 7px; color: #475569; font-size: 13px; font-weight: 900; }
.format-select-label select { min-width: 110px; padding: 12px 14px; border: 1px solid #dbe4ef; border-radius:14px; background: #fff; color: #111827; font-size: 15px; font-weight: 900; outline: none; }
.convert-btn, .download-converted-btn, .reset-converter-btn { border: none; border-radius:14px; padding: 13px 16px; color: #fff; font-size: 15px; font-weight: 900; cursor: pointer; transition: transform 0.2s, background 0.2s; }
.convert-btn { background: #03c75a; }
.download-converted-btn { display: none; background: #111827; }
.reset-converter-btn { background: #2563eb; }
.convert-btn:hover, .download-converted-btn:hover, .reset-converter-btn:hover { transform: translateY(-1px); }
.convert-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.convert-card { display: grid; grid-template-columns: 96px minmax(0, 1fr) 82px; align-items: center; gap: 14px; border: 1px solid #e6ebf2; border-radius:14px; background: #fff; padding: 14px; }
.convert-preview { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius:14px; background: #f8fafc; overflow: hidden; }
.convert-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
.convert-placeholder { color: #94a3b8; font-size: 13px; font-weight: 900; }
.convert-info { min-width: 0; }
.convert-info strong { display: block; overflow: hidden; color: #111827; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.convert-info span { display: block; margin-top: 7px; color: #64748b; font-size: 13px; font-weight: 800; }
.convert-format { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 68px; height: 68px; border: 6px solid #dbeafe; border-top-color: #4f8df7; border-right-color: #4f8df7; border-radius: 50%; color: #111827; }
.convert-format b { font-size: 16px; font-weight: 900; line-height: 1; }
.convert-format span { margin-top: 4px; color: #64748b; font-size: 11px; font-weight: 800; }

@media (max-width: 800px) {
    .menu7-tool .tool-title-icon { gap: 8px; font-size: 24px; }
    .menu7-tool .title-icon { width: 36px; height: 36px; border-radius:14px; font-size: 20px; }
    .menu7-tool .tool-desc { font-size: 15px; }
    .converter-upload { min-height: 220px; padding: 28px 18px; }
    .converter-upload strong { font-size: 17px; }
    .converter-summary { flex-direction: column; align-items: stretch; }
    .converter-actions { justify-content: stretch; }
    .format-select-label, .format-select-label select, .convert-btn, .download-converted-btn, .reset-converter-btn { width: 100%; }
    .convert-list { grid-template-columns: 1fr; }
    .convert-card { grid-template-columns: 78px minmax(0, 1fr) 68px; gap: 10px; padding: 12px; }
    .convert-preview { width: 78px; height: 78px; }
    .convert-format { width: 58px; height: 58px; border-width: 5px; }
    .convert-format b { font-size: 14px; }
}
