/* editpdf.io site styles. Base design system shared with the converter.app family (v2 look),
   fonts self-hosted. Site-specific additions are at the end (ep-*). */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/montserrat-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/montserrat-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/montserrat-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/montserrat-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/montserrat-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/montserrat-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/montserrat-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/montserrat-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
    /* v2 design for unzip.online / 7z.unzip.online / bz2.unzip.online (look follows converter.app). */
:root {
  --blue: #0078d7;
  --blue-2: #0062bd;
  --navy: #07316f;
  --ink: #1d2733;
  --muted: #5f6b78;
  --line: #e3e9f0;
  --bg-alt: #f4f7fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(7, 49, 111, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 16px/1.6 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
img, svg { vertical-align: middle; }
a { color: var(--blue-2); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
[hidden] { display: none !important; }
.v2-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.v2-narrow { max-width: 860px; }
/* Header */
.v2-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.v2-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.v2-logo img { height: 43px; width: auto; display: block; }
.v2-nav { display: flex; align-items: center; gap: 12px; }
.v2-search { position: relative; }
.v2-search input {
  width: 240px; height: 40px; border: 1px solid #cfd8e3; border-radius: 999px; padding: 0 40px 0 16px;
  font: inherit; font-size: 14px; color: var(--ink); background: #fff; outline: none; -webkit-appearance: none;
}
.v2-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 120, 215, .12); }
.v2-search button {
  position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none;
  color: var(--blue-2); cursor: pointer; padding: 6px; line-height: 0;
}
.v2-more, .v2-langs { position: relative; }
.v2-more summary, .v2-langs summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; user-select: none;
}
.v2-more summary::-webkit-details-marker, .v2-langs summary::-webkit-details-marker { display: none; }
.v2-more summary {
  height: 40px; padding: 0 14px 0 18px; border-radius: 999px; background: var(--bg-alt); color: var(--ink);
  font-weight: 600; font-size: 14px;
}
.v2-more summary:hover { background: #e8eef6; }
.v2-more__menu, .v2-langs__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 18px 40px rgba(7, 49, 111, .16); padding: 8px; min-width: 220px; z-index: 30;
}
.v2-more__grid { display: none; }
.v2-more__menu a, .v2-langs__menu a {
  display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px;
}
.v2-more__menu a:hover, .v2-langs__menu a:hover { background: var(--bg-alt); color: var(--blue-2); }
/* Hero */
.v2-hero {
  color: #fff; padding: 40px 0 48px;
  background:
    radial-gradient(circle at 86% 0%, rgba(91, 214, 255, .28) 0, transparent 34%),
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, .16) 0, transparent 30%),
    radial-gradient(circle at 50% 115%, rgba(91, 214, 255, .16) 0, transparent 34%),
    linear-gradient(225deg, var(--blue) 0%, var(--blue-2) 44%, var(--navy) 100%);
}
/* Bootstrap-3 container widths, as on converter.app */
.v2-container { width: 100%; margin: 0 auto; padding: 0 15px; }
@media (min-width: 768px) { .v2-container { width: 750px; } }
@media (min-width: 992px) { .v2-container { width: 970px; } }
@media (min-width: 1200px) { .v2-container { width: 1170px; } }
/* col-md-4 | col-md-4 (upload) | col-md-4 (ad): 380px columns, 15px gutters -> 350px box */
.v2-hero__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.v2-hero__grid > * { padding: 0 15px; min-width: 0; }
.v2-intro h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; margin-bottom: 12px; }
.v2-lead { margin: 0 0 22px; color: rgba(255, 255, 255, .88); font-size: 15.5px; }
.v2-lead--tagline { margin: -8px 0 16px; }
.v2-hero-title { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.3; font-weight: 700; margin: 0 0 12px; text-align: center; }
.v2-headline h1 { font-size: clamp(26px, 3.2vw, 38px); color: #0b2b59; margin-bottom: 14px; }
.v2-headline { padding-bottom: 8px; text-align: center; }
.v2-headline__lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin: 0 auto; max-width: 780px; }
.v2-headline__lead b { color: var(--ink); }
.v2-note { margin: 18px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.v2-extra h2 { font-size: 22px; }
.v2-extra p { margin: 0; color: var(--muted); }
.v2-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.v2-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: rgba(255, 255, 255, .92); }
.v2-steps__n {
  flex: 0 0 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
/* Upload box: same geometry/style as converter.app's .box (350x380, dashed outline inset 10px) */
.v2-drop {
  position: relative; height: 380px; padding: 40px 20px; border-radius: 20px; background: transparent;
  outline: 2px dashed #fff; outline-offset: -10px; color: #fff; font-size: 20px; line-height: 32px;
  display: flex; align-items: flex-start; justify-content: center; text-align: center;
  transition: outline-offset .15s ease-in-out, background-color .15s linear;
}
@media (hover: hover) and (pointer: fine) { .v2-drop:hover { background: rgba(255, 255, 255, .10); } }
.v2-drop.is-dragover { outline-offset: -20px; outline-color: #c8dadf; background-color: #0084d7; }
.v2-drop.is-dragover * { pointer-events: none; }
.v2-drop__file { position: absolute; width: .1px; height: .1px; opacity: 0; overflow: hidden; z-index: -1; }
.v2-drop__idle { display: flex; flex-direction: column; align-items: center; width: 100%; }
.v2-drop__label { display: block; font-size: 20px; line-height: 32px; font-weight: 700; margin-bottom: 22px; }
.v2-drop__icon { display: block; width: 100%; height: 80px; fill: #fff; margin-bottom: 40px; }
.v2-drop__cta { display: inline-block; max-width: 80%; cursor: pointer; font-size: 20px; line-height: 32px; color: #fff; }
.v2-drop__cta::after { content: ""; position: absolute; inset: 0; border-radius: 20px; } /* whole box is clickable */
.v2-drop__cta strong { font-weight: 700; }
.v2-drop__mobile { display: none; }
.v2-drop__file:focus-visible + .v2-drop__idle .v2-drop__cta { outline: 2px solid #fff; outline-offset: 4px; }
/* Google Drive import button (converter.app .gdrive-inline-btn) */
.gdrive-inline-row { display: flex; justify-content: center; margin: 10px 0 0; position: relative; z-index: 2; }
.gdrive-inline-btn {
  -webkit-appearance: none; appearance: none; position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; margin: 0; border: 1px solid rgba(255, 255, 255, .5); border-radius: 20px;
  background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: 12px; font-weight: 600; line-height: 1;
  cursor: pointer; transition: background .15s ease, border-color .15s ease; color-scheme: light;
}
.gdrive-inline-btn:hover { background: rgba(255, 255, 255, .24); border-color: #fff; }
.gdrive-inline-btn svg { display: block; flex-shrink: 0; pointer-events: none; }
.gdrive-inline-btn:disabled { opacity: .7; cursor: default; }
.picker-dialog-bg { z-index: 2147483645 !important; }
.picker-dialog { border-radius: 12px !important; overflow: hidden !important; z-index: 2147483646 !important; }
.picker-dialog iframe { max-width: 100% !important; max-height: calc(100vh - 24px) !important; }
html.gdrive-picker-open { scroll-behavior: auto !important; }
.v2-drop__busy, .v2-drop__error { display: none; width: 100%; max-width: 340px; flex-direction: column; align-items: center; gap: 14px; }
.v2-drop.is-busy .v2-drop__idle, .v2-drop.is-error .v2-drop__idle { display: none; }
.v2-drop.is-busy .v2-drop__busy, .v2-drop.is-error .v2-drop__error { display: flex; }
.v2-drop.is-busy, .v2-drop.is-error { align-items: center; }
.v2-drop__fname { font-weight: 700; word-break: break-all; font-size: 15px; }
.v2-progress { width: 100%; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.v2-progress__bar { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #5bd6ff, #fff); transition: width .4s ease; }
.v2-drop__state { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.v2-spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: v2spin .8s linear infinite;
}
@keyframes v2spin { to { transform: rotate(360deg); } }
.v2-link { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; opacity: .85; }
.v2-trust { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 20px; margin: 15px 0; color: #fff; font-size: 13px; line-height: 20.8px; font-weight: 600; }
.v2-trust span { display: inline-flex; align-items: center; white-space: nowrap; }
.v2-trust svg { width: 16px; height: 16px; margin-inline-end: 6px; fill: #fff; }
.v2-hero__ad { min-height: 600px; text-align: center; } /* 300x600 tower, like converter.app's right column */
@media (min-width: 992px) { .v2-hero__ad { margin-top: -40px; } } /* flush with the top edge of the hero (= its padding-top) */
.v2-hero__ad-mobile { display: none; }
/* Buttons */
.v2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; font: inherit; font-weight: 700; font-size: 15px;
  color: #fff; background: linear-gradient(180deg, #007bff 0%, #0062cc 100%); box-shadow: 0 8px 18px rgba(0, 98, 204, .24);
  transition: transform .1s, box-shadow .15s;
}
.v2-btn:hover { box-shadow: 0 10px 24px rgba(0, 98, 204, .32); color: #fff; }
.v2-btn:active { transform: scale(.98); }
.v2-btn--ghost { background: var(--bg-alt); color: #425466; box-shadow: none; }
.v2-btn--ghost:hover { background: #e6edf5; color: var(--ink); box-shadow: none; }
.v2-btn--light { background: #fff; color: var(--blue-2); }
.v2-btn--light:hover { color: var(--blue-2); }
.v2-btn--danger { background: #fff; color: #c62828; border: 1px solid #f1c4c4; box-shadow: none; }
.v2-btn--danger:hover { background: #fdf2f2; color: #b71c1c; box-shadow: none; }
/* Ads */
.ad { text-align: center; overflow: hidden; }
.v2-ad-band { padding-top: 24px; }
.v2-ad-band--mid { padding-bottom: 24px; }
.v2-ad-band--end { padding-bottom: 32px; }
.ad--wide { min-height: 100px; }
/* Content sections */
.v2-section { padding: 56px 0; }
.v2-section--alt { background: var(--bg-alt); }
.v2-h2 { font-size: clamp(22px, 2.4vw, 30px); text-align: center; margin-bottom: 32px; }
.v2-h2::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--blue-2); margin: 14px auto 0; }
.v2-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.v2-card--accent { border-top: 4px solid var(--blue-2); }
.v2-card h2 { font-size: 22px; }
.v2-card p { margin: 0; color: var(--muted); }
.v2-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.v2-feature h3 { font-size: 18px; margin-top: 14px; }
.v2-feature__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--blue-2);
  background: linear-gradient(180deg, #e8f3ff, #d6e9ff);
}
.v2-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.v2-split--single { grid-template-columns: 1fr; max-width: 860px; }
.v2-card--lock h2 { margin-top: 14px; }
.v2-card code { background: var(--bg-alt); padding: 1px 6px; border-radius: 5px; font-size: .92em; }
.v2-faq { display: grid; gap: 12px; }
.v2-faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.v2-faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 700; position: relative;
}
[dir="rtl"] .v2-faq summary { padding: 18px 22px 18px 52px; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--blue-2);
}
.v2-faq details[open] summary::after { content: "–"; }
.v2-faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
/* Footer - converter.app structure: section.tagline (CTA) + .contact-us + .social-media */
.v2-tagline {
  min-height: 265px; background-color: #febd01;
  background-image: url(/assets/img/cta-bg.jpg);
  background-repeat: no-repeat; background-size: cover; background-position: center center;
}
.v2-tagline__row { display: grid; grid-template-columns: 1fr 1fr; min-height: 265px; }
.v2-tagline__row > * { padding: 0 15px; }
.h2bottom { color: #fff; font-size: 30px; line-height: 48px; font-weight: 700; margin: 20px 0; }
.v2-tagline p { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 16px 30px; }
.v2-tagline__cta { display: flex; align-items: center; justify-content: center; padding-top: 50px; }
.btnbtm {
  display: inline-flex; align-items: center; justify-content: center; width: 230px; height: 55px; padding: 6px 12px;
  background: #0078d7; color: #fff; border: 1px solid transparent; border-radius: 1rem; font-size: 1rem; line-height: 1.5;
  font-weight: 400; letter-spacing: .5px; text-align: center; text-decoration: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.btnbtm:hover { background: #0062bd; color: #fff; }
.v2-contact { background: #071828; min-height: 380px; color: #fff; padding-bottom: 40px; }
.v2-contact__row { display: grid; grid-template-columns: 5fr 3.5fr 3.5fr; }
.v2-contact__row > * { padding: 0 15px; }
.v2-contact__brand img { display: block; width: 215px; height: auto; margin: 145px 30px 0; }
.v2-contact__brand p { padding: 0 30px; font-size: 1rem; color: #fff; margin: 10px 0; }
.v2-contact h5 { color: #fff; font-size: 1.2rem; line-height: 1.6; font-weight: 700; margin: 105px 0 20px; min-height: 45px; }
.v2-contact__col p { font-size: 1rem; color: #fff; margin: 10px 0; }
.v2-contact a { color: #4da3ff; }
.v2-social { background: #010409; min-height: 75px; }
.v2-social p { margin: 0; padding: 25px 30px 0; color: #b8b9bb; font-size: 1rem; text-align: end; }
.v2-social a { color: #b8b9bb; text-decoration: none; }
.v2-social a:hover { color: #fff; }
.v2-langs summary {
  margin-top: 22px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; color: #fff; font-size: 15px;
}
.v2-langs__menu {
  top: auto; bottom: calc(100% + 8px); inset-inline-end: auto; inset-inline-start: 0;
  display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); width: max-content; max-width: calc(100vw - 40px);
}
.v2-langs__menu a[aria-current] { background: var(--bg-alt); font-weight: 700; }
.v2-contact__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
/* Legal pages (privacy / terms) */
.v2-legal-page { background: var(--bg-alt); padding: 40px 0 56px; }
.v2-legal {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue-2); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px 48px; color: var(--ink); font-size: 15.5px; line-height: 1.7;
}
.v2-legal h1 { font-size: clamp(26px, 3vw, 34px); color: #0b2b59; margin-bottom: 4px; }
.v2-legal__date { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.v2-legal h2 { font-size: 20px; color: #0b2b59; margin: 34px 0 10px; padding-top: 4px; }
.v2-legal p, .v2-legal ul, .v2-legal address { margin: 0 0 14px; }
.v2-legal ul { padding-inline-start: 22px; }
.v2-legal li { margin-bottom: 6px; }
.v2-legal address { font-style: normal; background: var(--bg-alt); border-radius: 12px; padding: 16px 20px; }
.v2-legal__highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.v2-legal__hl { background: linear-gradient(180deg, #e8f3ff, #f5faff); border: 1px solid #d6e9ff; border-radius: 14px; padding: 16px 18px; }
.v2-legal__hl h3 { font-size: 16px; color: var(--blue-2); margin: 0 0 4px; }
.v2-legal__hl p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.v2-legal__ad { margin: 8px 0 10px; }
.v2-legal__table { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; }
.v2-legal table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.v2-legal th, .v2-legal td { text-align: start; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.v2-legal th { background: var(--bg-alt); color: #0b2b59; }
.v2-legal tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .v2-legal { padding: 26px 20px; }
  .v2-legal__highlights { grid-template-columns: 1fr; }
}
/* Modals */
.v2-modal {
  position: fixed; inset: 0; z-index: 2147483645; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(7, 20, 38, .58); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.v2-modal__box {
  position: relative; width: min(100%, 420px); background: #fff; color: var(--ink); border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32); padding: 28px; animation: v2pop .18s ease-out;
}
@keyframes v2pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.v2-modal__x {
  position: absolute; top: 10px; inset-inline-end: 12px; border: 0; background: none; font-size: 26px; line-height: 1;
  color: var(--muted); cursor: pointer; padding: 6px;
}
.v2-modal__q { font-size: 20px; line-height: 1.35; color: #0b2b59; margin: 4px 30px 4px 0; }
.v2-modal__links { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 6px; }
.v2-modal__links .v2-btn { width: 100%; }
.v2-modal__more { font-size: 14px; color: var(--muted); margin-bottom: 0; }
.v2-modal__actions { display: flex; gap: 10px; margin-top: 20px; }
.v2-modal__actions .v2-btn { flex: 1; padding: 6px 14px; line-height: 1.25; }
.v2-pw h2 { font-size: 22px; color: #0b2b59; margin-bottom: 8px; }
.v2-pw label { display: block; margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.v2-pw label.is-wrong { color: #c62828; font-weight: 600; }
.v2-pw__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
  color: var(--blue-2); background: linear-gradient(180deg, #e8f3ff, #d6e9ff);
}
.v2-pw__field { position: relative; }
.v2-pw__field input {
  width: 100%; height: 48px; border: 1px solid #cfd8e3; border-radius: 12px; padding: 0 48px 0 14px;
  font: inherit; font-size: 17px; outline: none;
}
[dir="rtl"] .v2-pw__field input { padding: 0 14px 0 48px; }
.v2-pw__field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 120, 215, .14); }
.v2-pw__eye {
  position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none;
  color: var(--muted); cursor: pointer; padding: 8px; line-height: 0;
}
.v2-pw__eye[aria-pressed="true"] { color: var(--blue-2); }
/* Result page */
.v2-result-hero { padding: 28px 0 40px; }
.v2-result {
  background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 24px 60px rgba(3, 20, 50, .28); overflow: hidden;
}
.v2-result__head { padding: 26px 28px 20px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.v2-result__title { display: flex; gap: 16px; align-items: center; min-width: 0; }
.v2-result__badge {
  flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 8px 18px rgba(21, 128, 61, .25);
}
.v2-result h1 { font-size: 22px; margin: 0 0 4px; }
.v2-result__meta { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.v2-result__meta b { color: var(--ink); word-break: break-all; }
.v2-result__counts { display: inline-flex; gap: 14px; }
.v2-result__counts > span { display: inline-flex; align-items: center; gap: 4px; }
.v2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v2-result__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.v2-result__hint { padding: 12px 28px; font-size: 13px; color: var(--muted); background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.v2-tree { list-style: none; margin: 0; padding: 8px 12px 14px; }
.v2-tree ul { list-style: none; margin: 0; padding-inline-start: 22px; border-inline-start: 1px dashed var(--line); margin-inline-start: 18px; }
.v2-tree li { margin: 0; }
.v2-row {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--ink);
  text-decoration: none; width: 100%; background: none; border: 0; font: inherit; text-align: start; cursor: pointer;
}
.v2-row:hover { background: #f1f6fd; }
.v2-row__icon { flex: 0 0 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: .02em; color: #fff; text-transform: uppercase; }
.v2-row__icon--dir { background: #ffd56b; color: #8a5a00; }
.v2-row__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.v2-row__name { unicode-bidi: plaintext; }
.v2-row__size, .v2-result__counts, .v2-result__meta b { unicode-bidi: isolate; direction: ltr; }
.v2-row__size { color: var(--muted); font-size: 13px; white-space: nowrap; }
.v2-row__dl {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue-2);
  padding: 6px 12px; border-radius: 999px; background: #e8f3ff; white-space: nowrap;
}
.v2-row:hover .v2-row__dl { background: var(--blue-2); color: #fff; }
.v2-row__chev { transition: transform .15s; color: var(--muted); }
.v2-dir[aria-expanded="true"] .v2-row__chev { transform: rotate(90deg); }
[dir="rtl"] .v2-row__chev { transform: scaleX(-1); }
[dir="rtl"] .v2-dir[aria-expanded="true"] .v2-row__chev { transform: rotate(90deg); }
.v2-result__msg { padding: 44px 28px; text-align: center; }
.v2-result__msg p { color: var(--muted); max-width: 520px; margin: 10px auto 22px; }
.v2-result__msg .v2-spinner { width: 42px; height: 42px; border-width: 3px; border-color: #d6e9ff; border-top-color: var(--blue-2); display: inline-block; }
.v2-result__foot { padding: 16px 28px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.v2-result-ad { margin-bottom: 22px; }
.v2-file { display: flex; align-items: center; gap: 4px; }
.v2-file > .v2-row { flex: 1; min-width: 0; }
.v2-row__drive {
  flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; transition: background .15s, border-color .15s;
}
.v2-row__drive:hover { background: #f1f6fd; border-color: #c9dcf3; }
.v2-btn--drive svg { flex-shrink: 0; }
.gdrive-status { font-size: 14px; min-height: 20px; color: var(--muted); margin-top: 6px; }
.gdrive-status.is-error { color: #c62828; font-weight: 600; }
/* Responsive */
@media (max-width: 1199.98px) {
  .v2-search input { width: 200px; }
}
/* Below 992px converter.app stacks: upload box first (full width), then intro, ad below */
@media (max-width: 991.98px) {
  .v2-hero { padding: 20px 0 40px; }
  .v2-hero__grid { grid-template-columns: 1fr; }
  .v2-upload-col { order: -1; margin-bottom: 35px; }
  .v2-hero__ad { display: none; }
  .v2-hero__ad-mobile { display: block; margin-top: 24px; }
  .v2-intro h1, .v2-hero-title { text-align: center; }
  .v2-lead { text-align: center; }
  .v2-drop { align-items: center; }
  .v2-drop__desktop { display: none; }
  .v2-drop__label { margin-bottom: 14px; }
  .v2-drop__idle { width: auto; }
  .v2-drop__icon { width: 60px; height: 50px; margin: 0 auto 15px; }
  .v2-drop__cta {
    display: block; width: 100%; max-width: 320px; margin: 0 auto; padding: 16px 28px; color: #fff;
    background: linear-gradient(180deg, #007bff 0%, #0062cc 100%); border: 1px solid #005cbf; border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25); text-transform: uppercase; font-weight: 700; letter-spacing: .5px;
    transition: transform .1s ease-in-out;
  }
  .v2-drop__cta:active { transform: scale(.98); }
  .v2-drop__mobile { display: inline-block; font-size: 18px; }
  .v2-features, .v2-split { grid-template-columns: 1fr; }
  .v2-tagline__row, .v2-contact__row { grid-template-columns: 1fr; }
  .v2-tagline__cta { padding: 10px 0 40px; }
  .v2-contact__brand img { margin-top: 50px; }
  .v2-contact h5 { margin-top: 40px; min-height: 0; }
}
@media (max-width: 640px) {
  .v2-wrap { padding: 0 16px; }
  .v2-header__inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .v2-logo img { height: 36px; }
  .v2-nav { width: 100%; }
  .v2-search { flex: 1; }
  .v2-search input { width: 100%; }
  .v2-more summary { padding: 0 12px; }
  .v2-more__txt { display: none; }
  .v2-more__grid { display: inline; }
  .v2-section { padding: 40px 0; }
  .v2-result__head, .v2-result__msg { padding-left: 18px; padding-right: 18px; }
  .v2-result__actions { width: 100%; }
  .v2-result__actions .v2-btn { flex: 1 1 auto; }
  .v2-row__size { display: none; }
  .v2-row__dl span { display: none; }
  .v2-langs__menu { grid-template-columns: repeat(2, minmax(110px, 1fr)); }
  .h2bottom { font-size: 24px; line-height: 36px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
/* PayPal donate button (converter.app hosted button) in the result actions */
.v2-donate { display: inline-flex; margin: 0; }
.v2-btn--paypal { background: #ffc439; color: #253b80; box-shadow: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.v2-btn--paypal:hover { background: #ffd366; color: #253b80; }

/* ===================== editpdf.io additions ===================== */
:root { --ep-header-h: 69px; --red: #ed5151; --yellow: #febd01; }
.ep-navlink { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; padding: 10px 12px; border-radius: 999px; white-space: nowrap; }
.ep-navlink:hover, .ep-navlink[aria-current="page"] { background: var(--bg-alt); color: var(--blue-2); }
.v2-more__menu { text-align: start; }

/* hero: three columns like ocr.online - intro (spans both rows) | upload box | box ad 35px down,
   second row: horizontal banner below upload box + box ad (Moneytizer placeholders in index.php) */
.v2-hero__grid.ep-hero { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.ep-hero > .v2-intro { grid-row: span 2; }
.ep-hero .v2-intro h1 { font-size: clamp(28px, 3.4vw, 40px); }
.ep-hero .v2-hero__ad--box { min-height: 250px; text-align: center; }
@media (min-width: 992px) { .ep-hero .v2-hero__ad--box { margin-top: 35px; } }
.ep-hero .v2-hero__inband { grid-column: 2 / 4; margin-top: 22px; min-height: 90px; text-align: center; }
.ep-drop-alt { position: relative; z-index: 2; margin-top: 14px; font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.85); }
.ep-drop-alt button { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; cursor: pointer; }
.ep-hero-note { margin: 18px 0 0; font-size: 13.5px; color: rgba(255,255,255,.82); }
.ep-hero-note a { color: #fff; }

/* plain feature list cards */
.ep-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ep-list { margin: 12px 0 0; padding-inline-start: 20px; color: var(--muted); }
.ep-list li { margin-bottom: 8px; }
.ep-list b, .v2-card p b { color: var(--ink); }
.v2-card p + p { margin-top: 12px; }
.ep-card-link { display: inline-block; margin-top: 14px; font-weight: 600; }
.ep-kicker { text-align: center; color: var(--muted); max-width: 760px; margin: -14px auto 30px; }

/* article pages */
.ep-article { background: var(--bg-alt); padding: 40px 0 64px; }
.ep-article .v2-legal { max-width: 900px; margin: 0 auto; }
.ep-article .v2-legal h3 { font-size: 17px; color: #0b2b59; margin: 22px 0 8px; }
.ep-article .v2-legal ol { margin: 0 0 14px; padding-inline-start: 22px; }
.ep-article .v2-legal li { margin-bottom: 6px; }
.ep-article code, .ep-article kbd { background: var(--bg-alt); padding: 1px 6px; border-radius: 5px; font-size: .92em; }
.ep-article kbd { border: 1px solid var(--line); border-bottom-width: 2px; font-family: inherit; white-space: nowrap; }
.ep-toc { background: var(--bg-alt); border-radius: 12px; padding: 16px 20px; margin: 0 0 22px; }
.ep-toc b { display: block; margin-bottom: 6px; color: #0b2b59; }
.ep-toc ol { margin: 0; padding-inline-start: 20px; }
.ep-callout { border-inline-start: 4px solid var(--blue-2); background: linear-gradient(180deg,#e8f3ff,#f5faff); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 0 0 16px; }
.ep-callout--warn { border-color: var(--yellow); background: #fff8e1; }
.ep-callout p:last-child { margin-bottom: 0; }
.ep-crumbs { font-size: 13.5px; color: var(--muted); margin: 0 auto 14px; max-width: 900px; }
.ep-crumbs a { color: var(--muted); }
.ep-figure { margin: 0 0 18px; }
.ep-figure svg { max-width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ep-figure figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.ep-cta-row { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* footer */
.v2-contact__col ul { list-style: none; margin: 0; padding: 0; }
.v2-contact__col li { margin: 6px 0; }
.v2-tagline { background-color: #f3a300; }

/* -------- editor mode: same header, editor replaces the page body -------- */
#ep-editor { display: none; }
body.ep-editing { overflow: hidden; }
body.ep-editing main > :not(#ep-editor), body.ep-editing .v2-footer { display: none !important; }
body.ep-editing #ep-editor { display: block; height: calc(100vh - var(--ep-header-h)); height: calc(100dvh - var(--ep-header-h)); }
body.ep-editing { --ep-header-h: 53px; }
body.ep-editing .v2-header__inner { min-height: 52px; max-width: none; }
body.ep-editing .v2-logo img { height: 32px; }
body.ep-editing .ep-navlink { padding: 7px 10px; }
body.ep-editing .v2-more summary { height: 34px; }
.ep-boot { height: 100%; display: grid; place-items: center; background: #eef2f7; color: var(--muted); font-weight: 600; }
.ep-boot .v2-spinner { border-color: #d6e9ff; border-top-color: var(--blue-2); width: 34px; height: 34px; border-width: 3px; display: inline-block; margin-bottom: 12px; }
.ep-boot div { text-align: center; }

@media (max-width: 991.98px) {
  .v2-hero__grid.ep-hero { grid-template-columns: 1fr; }
  .ep-hero > .v2-intro { grid-row: auto; }
  .ep-hero .v2-hero__ad.v2-hero__ad--box { display: block; margin-top: 24px; }
  .ep-hero .v2-hero__inband { grid-column: auto; }
  .ep-two { grid-template-columns: 1fr; }
  .ep-hero .v2-drop { height: 300px; }
}
@media (max-width: 760px) {
  .ep-navlink--opt { display: none; }
  body.ep-editing .ep-navlink { display: none; }
  body.ep-editing .v2-header__inner { flex-wrap: nowrap; padding-top: 0; padding-bottom: 0; }
  body.ep-editing .v2-nav { width: auto; }
}

/* header search: narrower in editor mode, hidden where the editor needs the room */
body.ep-editing .v2-search input { width: 190px; height: 34px; }
@media (max-width: 1100px) { body.ep-editing .v2-search { display: none; } }
@media (max-width: 1060px) and (min-width: 641px) { .v2-search input { width: 170px; } }
/* phones: header row = search + tools menu, like the other converter.app sites */
@media (max-width: 640px) { .ep-navlink { display: none; } }

/* brand + slogan */
.ep-eyebrow { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); font-size: 13px; font-weight: 700; letter-spacing: .6px; color: #fff; }
.ep-slogan { margin: -2px 0 16px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.25; color: #fff; }
.ep-slogan::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 3px; background: #febd01; margin-top: 12px; }
.v2-contact__brand .ep-footer-slogan { font-weight: 700; font-size: 1.15rem; color: #fff; margin-top: 16px; }
@media (max-width: 991.98px) { .ep-intro-center, .ep-slogan { text-align: center; } .ep-slogan::after { margin-left: auto; margin-right: auto; } .v2-intro { text-align: center; } }

/* handwritten slogan next to the logo */
@font-face { font-family: 'EP Hand'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/caveat-latin-700-normal.woff2) format('woff2'); }
.ep-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.ep-hand { font-family: 'EP Hand', 'Segoe Print', 'Comic Sans MS', cursive; font-weight: 700; font-size: 25px; line-height: 1; color: #ED5151; white-space: nowrap; transform: rotate(-4deg) translateY(3px); }
@media (max-width: 1060px) { .ep-hand { font-size: 21px; } }
@media (max-width: 900px) { .ep-hand { display: none; } }
body.ep-editing .ep-hand { font-size: 20px; }
@media (max-width: 1250px) { body.ep-editing .ep-hand { display: none; } }
.v2-contact__brand .ep-footer-slogan { font-family: 'EP Hand', cursive; font-weight: 700; font-size: 28px; line-height: 1.1; color: #febd01; transform: rotate(-3deg); transform-origin: left; margin: 18px 30px 14px; }
/* longer words in other languages: keep header items on one line */
.ep-navlink, .v2-more summary { white-space: nowrap; }
/* the slogan stays visible; only if a language's longer menu texts do not fit next to it, the
   less important "Your files" link goes first and the slogan only as a last resort (see footer script) */
.ep-tight-1 .v2-search input { width: 170px; }
.ep-tight-2 .ep-navlink--opt { display: none; }
.ep-tight-3 .ep-hand { display: none; }

/* upload box: grow with its content in languages with longer texts. English keeps the same size:
   its content ends 18px above the bottom of the 380px box, which this bottom padding reproduces. */
.ep-hero .v2-drop { height: auto; min-height: 380px; padding-bottom: 18px; }
@media (max-width: 991.98px) { .ep-hero .v2-drop { min-height: 300px; padding-bottom: 0; } }
