/* YTB-0086 PDF to Word Converter — scoped styles */
.ytb-p2w-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 16px 60px; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #1f2937; }

.ytb-p2w-breadcrumb { font-size: 13px; color: #6b7280; margin-bottom: 18px; }
.ytb-p2w-breadcrumb a { color: #1976D2; text-decoration: none; }
.ytb-p2w-breadcrumb a:hover { text-decoration: underline; }

.ytb-p2w-header { text-align: center; margin-bottom: 28px; }
.ytb-p2w-header h1 { font-size: 30px; margin: 0 0 8px; color: #111827; }
.ytb-p2w-header p { font-size: 16px; color: #4b5563; max-width: 640px; margin: 0 auto; }

.ytb-p2w-layout { display: grid; grid-template-columns: 1fr 220px; gap: 28px; align-items: start; }
@media (max-width: 860px) { .ytb-p2w-layout { grid-template-columns: 1fr; } }

.ytb-p2w-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); margin-bottom: 24px; }
.ytb-p2w-card-header { background: #1976D2; color: #fff; padding: 16px 22px; font-size: 17px; font-weight: 600; }
.ytb-p2w-card-body { padding: 24px; }

.ytb-p2w-dropzone { border: 2px dashed #93c5fd; border-radius: 12px; padding: 40px 20px; text-align: center; background: #f0f7ff; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.ytb-p2w-dropzone.ytb-p2w-drag { background: #dbeafe; border-color: #1976D2; }
.ytb-p2w-dropzone-icon { font-size: 40px; margin-bottom: 10px; }
.ytb-p2w-dropzone p { margin: 4px 0; }
.ytb-p2w-dropzone .ytb-p2w-browse { color: #1976D2; font-weight: 600; text-decoration: underline; cursor: pointer; }
.ytb-p2w-dropzone small { color: #6b7280; }
.ytb-p2w-file-input { display: none; }

.ytb-p2w-filebar { display: flex; align-items: center; justify-content: space-between; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 16px; margin-top: 16px; }
.ytb-p2w-filebar .ytb-p2w-fname { font-weight: 600; word-break: break-all; }
.ytb-p2w-filebar .ytb-p2w-fmeta { color: #6b7280; font-size: 13px; }
.ytb-p2w-remove { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 13px; font-weight: 600; }

.ytb-p2w-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
@media (max-width: 620px) { .ytb-p2w-options { grid-template-columns: 1fr; } }
.ytb-p2w-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #374151; }
.ytb-p2w-field input[type=text] { width: 100%; padding: 9px 10px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; }
.ytb-p2w-field small { color: #9ca3af; display:block; margin-top: 4px; }

.ytb-p2w-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.ytb-p2w-btn { border: none; border-radius: 10px; padding: 13px 26px; font-size: 15px; font-weight: 700; cursor: pointer; }
.ytb-p2w-btn-primary { background: #16a34a; color: #fff; }
.ytb-p2w-btn-primary:hover { background: #15803d; }
.ytb-p2w-btn-primary:disabled { background: #9ca3af; cursor: not-allowed; }

.ytb-p2w-progress { margin-top: 16px; height: 8px; background: #e5e7eb; border-radius: 6px; overflow: hidden; display: none; }
.ytb-p2w-progress-bar { height: 100%; width: 0%; background: #1976D2; transition: width 0.2s; }

.ytb-p2w-status { margin-top: 14px; font-size: 14px; }
.ytb-p2w-status.ok { color: #15803d; }
.ytb-p2w-status.err { color: #b91c1c; }
.ytb-p2w-privacy-note { margin-top: 18px; font-size: 13px; color: #6b7280; background: #f9fafb; border-radius: 8px; padding: 10px 14px; }

.ytb-p2w-content h2 { font-size: 22px; color: #111827; margin: 34px 0 12px; }
.ytb-p2w-content h3 { font-size: 17px; color: #1976D2; margin: 20px 0 8px; }
.ytb-p2w-content p { line-height: 1.75; margin-bottom: 14px; color: #374151; }
.ytb-p2w-content ul, .ytb-p2w-content ol { line-height: 1.75; margin: 0 0 16px 22px; color: #374151; }
.ytb-p2w-content li { margin-bottom: 6px; }
.ytb-p2w-note { background: #fffbeb; border-left: 4px solid #f59e0b; padding: 12px 16px; border-radius: 6px; margin: 16px 0; font-size: 14px; }

.ytb-p2w-faq-item { border-bottom: 1px solid #e5e7eb; }
.ytb-p2w-faq-q { width: 100%; text-align: left; background: none; border: none; padding: 16px 4px; font-size: 15.5px; font-weight: 600; color: #111827; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.ytb-p2w-faq-q .ytb-p2w-plus { font-size: 20px; color: #1976D2; transition: transform 0.15s; }
.ytb-p2w-faq-item.open .ytb-p2w-plus { transform: rotate(45deg); }
.ytb-p2w-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.2s ease; font-size: 14.5px; color: #4b5563; line-height: 1.7; }
.ytb-p2w-faq-a p { padding: 0 4px 16px; }

.ytb-p2w-sidebar-box { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px; }
.ytb-p2w-sidebar-box h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: #6b7280; margin: 0 0 12px; }
.ytb-p2w-sidebar-box a { display: block; padding: 9px 0; font-size: 14px; color: #1f2937; text-decoration: none; border-bottom: 1px solid #f3f4f6; }
.ytb-p2w-sidebar-box a:last-child { border-bottom: none; }
.ytb-p2w-sidebar-box a:hover { color: #1976D2; }
