﻿/* PAYATE YouTube Downloader — scoped under #ytd. */
body{margin:0;background:#f4f7fb;color:#14233c;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
#ytd{--accent:#ff0000;--accent2:#cc0000;max-width:820px;margin:0 auto;padding:18px 16px 40px}
#ytd h1,#ytd h2{font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}

#ytd .fd-hero{background:#fff;border:1px solid #e6ecf5;border-radius:16px;padding:24px;box-shadow:0 1px 2px rgba(15,27,45,.05);margin-bottom:16px;text-align:center}
#ytd .fd-hero h1{margin:0 0 8px;font-size:26px;line-height:1.2;color:#0f1b2d;font-weight:700}
#ytd .fd-hero p{margin:0 auto;font-size:14.5px;line-height:1.7;color:#4a5b73;max-width:620px}

#ytd .fd-card{background:#fff;border:1px solid #e6ecf5;border-radius:16px;padding:22px 20px;box-shadow:0 1px 2px rgba(15,27,45,.05);margin-bottom:16px}
#ytd .fd-input{display:flex;gap:10px;flex-wrap:wrap}
#ytd #fd-url{flex:1;min-width:200px;box-sizing:border-box;border:2px solid #d7deea;border-radius:10px;padding:14px 16px;font-size:15px;color:#14233c;background:#fbfcfe;font-family:inherit}
#ytd #fd-url:focus{outline:none;border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px rgba(24,119,242,.15)}
#ytd .fd-btn{font-family:Poppins,system-ui,sans-serif;font-weight:600;font-size:16px;color:#fff;background:var(--accent);border:none;border-radius:10px;padding:14px 28px;cursor:pointer;transition:background .15s}
#ytd .fd-btn:hover:not(:disabled){background:var(--accent2)}
#ytd .fd-btn:disabled{opacity:.6;cursor:default}

#ytd .fd-bar{height:6px;border-radius:5px;background:#e6ecf5;overflow:hidden;margin-top:16px}
#ytd .fd-bar span{display:block;height:100%;width:40%;background:var(--accent);border-radius:5px;animation:fdslide 1s ease-in-out infinite}
@keyframes fdslide{0%{margin-left:-40%}100%{margin-left:100%}}
@media (prefers-reduced-motion:reduce){#ytd .fd-bar span{animation:none;width:100%}}

#ytd .fd-status{margin:14px 0 0;font-size:13.5px;font-weight:600}
#ytd .fd-status.is-info{color:#4a5b73}
#ytd .fd-status.is-ok{color:#17885a}
#ytd .fd-status.is-err{color:#d4573f}

#ytd .fd-result{margin-top:16px;text-align:center}
#ytd .fd-thumb{max-width:320px;width:100%;border-radius:12px;border:1px solid #e6ecf5;margin:0 auto 14px}
#ytd .fd-dls{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
#ytd .fd-dl{display:inline-flex;align-items:center;gap:9px;font-family:Poppins,system-ui,sans-serif;font-weight:600;font-size:15px;text-decoration:none;color:#fff;background:#17a06a;border-radius:11px;padding:13px 22px;transition:background .15s}
#ytd .fd-dl:hover{background:#148a5b}
#ytd .fd-note{margin:16px 0 0;font-size:12.5px;color:#5a6b83;text-align:center}
#ytd .fd-note a{color:var(--accent);font-weight:600}

#ytd .fd-info{background:#fff;border:1px solid #e6ecf5;border-radius:14px;padding:18px 22px;box-shadow:0 1px 2px rgba(15,27,45,.05);margin-bottom:16px}
#ytd .fd-info h2{margin:0 0 10px;font-size:18px;color:#0f1b2d}
#ytd .fd-info ol{margin:0 0 10px;padding-left:20px}
#ytd .fd-info li{font-size:13.5px;line-height:1.9;color:#4a5b73}
#ytd .fd-info p{margin:0;font-size:13.5px;line-height:1.8;color:#4a5b73}

#ytd .fd-faq{background:#fff;border:1px solid #e6ecf5;border-radius:16px;padding:20px 22px;box-shadow:0 1px 2px rgba(15,27,45,.05)}
#ytd .fd-faq h2{margin:0 0 10px;font-size:19px;color:#0f1b2d}
#ytd .fd-faq details{border-top:1px solid #eef2f8;padding:2px 0}
#ytd .fd-faq details:first-of-type{border-top:0}
#ytd .fd-faq summary{cursor:pointer;list-style:none;padding:12px 26px 12px 2px;position:relative;font-weight:600;font-size:14.5px;color:#14233c}
#ytd .fd-faq summary::-webkit-details-marker{display:none}
#ytd .fd-faq summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:18px;color:#5a6782}
#ytd .fd-faq details[open] summary::after{content:"\2212"}
#ytd .fd-faq details p{margin:0 2px 12px;font-size:13.5px;line-height:1.7;color:#4a5b73}
#ytd .fd-faq details p a{color:var(--accent);font-weight:600}

/* Shared More PAYATE tools related section */
.pyt-rel{max-width:820px;margin:16px auto;padding:20px 22px;background:#fff;border:1px solid #e6ecf5;border-radius:14px;box-shadow:0 1px 2px rgba(15,27,45,.05);font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#14233c}
.pyt-rel h2{margin:0 0 12px;font-size:18px;color:#0f1b2d}
.pyt-rel .prg{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.pyt-rel a{display:block;text-decoration:none;border:1px solid #e6ecf5;border-radius:10px;padding:12px 14px;background:#fbfcfe;transition:border-color .15s,background .15s}
.pyt-rel a:hover{border-color:#1d64d8;background:#f2f7ff}
.pyt-rel .prt{display:block;font-weight:600;font-size:14px;color:#14233c;margin-bottom:2px}
.pyt-rel .prd{display:block;font-size:12px;line-height:1.4;color:#5a6782}
