/* filehost.ro - stil comun pentru / si /album/ (redesign 10.2026); toate clasele au prefixul fh- */
html{-webkit-text-size-adjust:100%}
body.fh-body{margin:0;padding:0;background:#f3f5f9;color:#1f2937;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:15px;line-height:1.5}
.fh-body *,.fh-body *:before,.fh-body *:after{box-sizing:border-box}
.fh-wrap{max-width:1180px;margin:0 auto;padding:0 16px}

/* antet */
.fh-top{background:#fff;border-bottom:1px solid #e3e7ee}
.fh-top .fh-wrap{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding-top:6px;padding-bottom:6px}
.fh-logo{display:block;line-height:0}
.fh-logo img{display:block;width:220px;height:auto;border:0}
.fh-nav{display:flex;flex-wrap:wrap;gap:6px}
.fh-nav a{display:inline-block;padding:9px 14px;border-radius:8px;color:#1f3fbf;font-weight:600;font-size:14px;text-decoration:none}
.fh-nav a:hover{background:#eef2ff}
.fh-nav a.fh-on{background:#1f3fbf;color:#fff}

/* zona principala */
.fh-main{padding:28px 0 8px}
.fh-intro{text-align:center;max-width:680px;margin:0 auto 18px}
.fh-intro h1{margin:0 0 6px;font-size:30px;line-height:1.2;color:#111827;letter-spacing:-.01em}
.fh-intro p{margin:0;color:#4b5563;font-size:16px}

.fh-card{max-width:680px;margin:0 auto;background:#fff;border:1px solid #e3e7ee;border-radius:14px;box-shadow:0 1px 2px rgba(16,24,40,.05),0 8px 24px rgba(16,24,40,.06);padding:24px}
.fh-badges{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.fh-badges li{margin:0;padding:5px 12px;border-radius:999px;background:#eef2ff;color:#1f3fbf;font-size:13px;font-weight:600}
.fh-badges li.fh-b2{background:#ecfdf3;color:#067647}

#spanButtonPlaceHolder{display:block}
.fh-drop{position:relative;display:block;border:2px dashed #b6c2e2;border-radius:12px;background:#f8faff;padding:26px 16px;text-align:center;transition:border-color .15s,background .15s}
.fh-drop:hover,.fh-drop.fh-over{border-color:#1f3fbf;background:#eef2ff}
.fh-drop.fh-has{border-style:solid;border-color:#12b76a;background:#f3fdf7}
.fh-drop input[type=file]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px}
.fh-drop svg{display:block;margin:0 auto 8px;width:40px;height:40px;color:#1f3fbf}
.fh-drop-t{display:inline-block;padding:10px 20px;border-radius:8px;background:#1f3fbf;color:#fff;font-weight:700;font-size:16px}
.fh-drop:hover .fh-drop-t{background:#1a35a3}
.fh-drop-s{display:block;margin-top:8px;color:#6b7280;font-size:14px}
.fh-drop-f{display:none;margin-top:10px;font-weight:600;color:#067647;font-size:15px;word-break:break-all}
.fh-drop.fh-has .fh-drop-f{display:block}

.fh-label{display:block;margin:18px 0 6px;font-weight:600;font-size:14px;color:#374151}
.fh-card textarea{display:block;width:100%;min-height:96px;padding:10px 12px;border:1px solid #cfd6e4;border-radius:10px;font:inherit;font-size:15px;color:#111827;background:#fff;resize:vertical}
.fh-card textarea:focus{outline:none;border-color:#1f3fbf;box-shadow:0 0 0 3px rgba(31,63,191,.15)}

#divStatus{margin-top:14px}
.fh-tos{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:14px;color:#374151;cursor:pointer}
.fh-tos input{width:20px;height:20px;margin:0;flex:none;accent-color:#1f3fbf;cursor:pointer}
.fh-tos a{color:#1f3fbf}
.fh-btn{display:block;width:100%;white-space:normal;line-height:1.3;min-height:52px;padding:12px 16px;border:0;border-radius:10px;background:#1f3fbf;color:#fff;font:inherit;font-size:17px;font-weight:700;cursor:pointer;-webkit-appearance:none;appearance:none}
.fh-btn:hover{background:#1a35a3}
.fh-btn:focus{outline:3px solid rgba(31,63,191,.35);outline-offset:2px}
.fh-btn[disabled]{background:#c9d1e3;color:#4b5563;cursor:not-allowed}
.fh-note{margin:10px 0 0;text-align:center;color:#6b7280;font-size:13px}
.fh-alt{margin:16px 0 0;padding-top:14px;border-top:1px solid #eef0f4;text-align:center;font-size:14px;color:#4b5563}
.fh-alt a{color:#1f3fbf;font-weight:600}

/* avantaje */
.fh-feats{list-style:none;max-width:680px;margin:18px auto 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.fh-feats li{margin:0;padding:12px 14px;background:#fff;border:1px solid #e3e7ee;border-radius:12px;font-size:13px;color:#4b5563}
.fh-feats b{display:block;color:#111827;font-size:14px;margin-bottom:2px}

/* linkuri recomandate (blocul .kwfh vine din keywords) */
.fh-recs{padding:14px 0 6px}
.fh-recs .kwfh-a{overflow-wrap:anywhere;word-break:break-word}

/* subsol */
.fh-foot{margin-top:24px;background:#fff;border-top:1px solid #e3e7ee;padding:18px 16px;text-align:center;font-size:13px;color:#6b7280}
.fh-foot a{color:#1f3fbf;text-decoration:none;font-weight:600}
.fh-foot a:hover{text-decoration:underline}
.fh-foot p{margin:4px 0}

@media (max-width:600px){
  .fh-top .fh-wrap{justify-content:center}
  .fh-logo img{width:180px}
  .fh-nav{justify-content:center}
  .fh-nav a{padding:10px 12px}
  .fh-main{padding-top:18px}
  .fh-intro h1{font-size:24px}
  .fh-intro p{font-size:15px}
  .fh-card{padding:16px;border-radius:12px}
  .fh-card textarea{font-size:16px}
  .fh-drop{padding:22px 12px}
  .fh-feats{grid-template-columns:1fr}
}


/* formulare (album) */
.fh-input{display:block;width:100%;min-height:46px;padding:10px 12px;border:1px solid #cfd6e4;border-radius:10px;font:inherit;font-size:15px;color:#111827;background:#fff}
.fh-input:focus{outline:none;border-color:#1f3fbf;box-shadow:0 0 0 3px rgba(31,63,191,.15)}
.fh-card .fh-label:first-child{margin-top:0}
.fh-hint{margin:6px 0 0;font-size:13px;color:#6b7280}
.fh-err{margin:0 0 14px;padding:10px 12px;border:1px solid #fecdca;border-radius:10px;background:#fef3f2;color:#b42318;font-size:14px;font-weight:600}
.fh-err:empty{display:none}

/* lista albumelor */
.fh-albums{max-width:1180px;margin:22px auto 0;background:#fff;border:1px solid #e3e7ee;border-radius:14px;padding:18px 20px 12px}
.fh-albums h2{margin:0 0 12px;font-size:17px;color:#111827}
.fh-albums-l br{display:none}
.fh-albums-l a{display:inline-block;margin:0 6px 8px 0;padding:7px 12px;border:1px solid #e3e7ee;border-radius:8px;background:#f8faff;color:#1f3fbf;text-decoration:none;font-size:14px;line-height:1.3}
.fh-albums-l a:hover{border-color:#1f3fbf;background:#eef2ff}

@media (max-width:600px){
  .fh-input{font-size:16px}
  .fh-btn{font-size:16px}
  .fh-albums{padding:14px 14px 8px;border-radius:12px}
  .fh-albums-l a{padding:9px 12px}
}

/* termeni de utilizare */
.fh-doc{max-width:780px;padding:28px 32px}
.fh-doc h1{margin:0 0 6px;font-size:26px;line-height:1.25;color:#111827}
.fh-doc h2{margin:26px 0 8px;font-size:18px;line-height:1.3;color:#111827}
.fh-doc h2 span{color:#1f3fbf}
.fh-doc p,.fh-doc ul{max-width:70ch;margin:0 0 12px;font-size:16px;line-height:1.65;color:#374151}
.fh-doc ul{padding-left:22px}
.fh-doc li{margin:0 0 6px}
.fh-doc li::marker{color:#1f3fbf}
.fh-doc a{color:#1f3fbf;font-weight:600}
.fh-doc .fh-alt{max-width:none;margin-top:22px;font-size:14px}
@media (max-width:600px){
  .fh-doc{padding:18px 16px}
  .fh-doc h1{font-size:22px}
  .fh-doc h2{font-size:17px;margin-top:22px}
}

/* fluxul de creare album (pasii 1-4) */
.fh-steps{list-style:none;max-width:680px;margin:0 auto 16px;padding:0;display:flex;gap:6px;counter-reset:fhs}
.fh-steps li{flex:1 1 0;margin:0;padding:8px 6px;border-radius:10px;background:#e8ecf4;color:#6b7280;font-size:13px;font-weight:600;text-align:center;line-height:1.25}
.fh-steps li b{display:block;font-size:15px}
.fh-steps li.fh-done{background:#dcfae6;color:#067647}
.fh-steps li.fh-on{background:#1f3fbf;color:#fff}
.fh-sum{margin:0 0 16px;padding:12px 14px;border-radius:10px;background:#f8faff;border:1px solid #e3e7ee;font-size:14px}
.fh-sum div{display:flex;gap:8px;padding:2px 0}
.fh-sum dt,.fh-sum span.fh-k{flex:none;width:110px;color:#6b7280}
.fh-sum b{color:#111827;word-break:break-word;font-weight:600}
.fh-card h2.fh-ct{margin:0 0 14px;font-size:20px;color:#111827;text-align:center}
.fh-files{display:none;list-style:none;margin:10px 0 0;padding:0;font-size:14px;color:#374151;text-align:left}
.fh-files li{display:flex;justify-content:space-between;gap:10px;padding:4px 0;border-bottom:1px solid #eef0f4}
.fh-files li span{word-break:break-all}
.fh-files li em{flex:none;font-style:normal;color:#6b7280}
.fh-files li.fh-big{color:#b42318}
.fh-drop.fh-has .fh-files{display:block}
.fh-warn{display:none;margin:12px 0 0;padding:10px 12px;border:1px solid #fedf89;border-radius:10px;background:#fffaeb;color:#93370d;font-size:14px;font-weight:600}
.fh-list{margin:14px 0 0;padding-left:20px;font-size:13px;color:#4b5563}
.fh-list li{margin:2px 0}
.fh-btn2{display:block;width:100%;min-height:50px;margin-top:10px;padding:12px 16px;border:0;border-radius:10px;background:#079455;color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer;white-space:normal;line-height:1.3;-webkit-appearance:none;appearance:none}
.fh-btn2:hover{background:#067647}
.fh-btn2[disabled]{background:#d0d5dd;color:#667085;cursor:not-allowed}
.fh-msgs{margin:14px 0 0;padding:10px 12px;border:1px solid #fecdca;border-radius:10px;background:#fef3f2;color:#b42318;font-size:14px}
.fh-msgs div{padding:2px 0}
.fh-gal{max-width:1180px;margin:22px auto 0;background:#fff;border:1px solid #e3e7ee;border-radius:14px;padding:18px 20px}
.fh-gal h2{margin:0 0 12px;font-size:17px;color:#111827}
.fh-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.fh-thumb{margin:0;padding:8px;border:1px solid #e3e7ee;border-radius:10px;background:#f8faff;text-align:center;font-size:12px;color:#4b5563}
.fh-thumb a.fh-ti{display:flex;align-items:center;justify-content:center;height:150px}
.fh-thumb img{display:block;max-width:100%;max-height:150px;border-radius:6px}
.fh-thumb figcaption{margin-top:6px;word-break:break-all;line-height:1.35}
.fh-thumb figcaption a{color:#b42318;font-weight:600}
.fh-meter{margin:16px 0 0;font-size:14px;color:#374151}
.fh-bar{height:10px;margin-top:6px;border-radius:999px;background:#e8ecf4;overflow:hidden}
.fh-bar span{display:block;height:100%;background:#1f3fbf;border-radius:999px}
.fh-empty{margin:0;color:#6b7280;font-size:14px}
@media (max-width:600px){
  .fh-steps li{font-size:12px;padding:7px 2px}
  .fh-sum dt,.fh-sum span.fh-k{width:90px}
  .fh-gal{padding:14px 12px;border-radius:12px}
  .fh-thumbs{grid-template-columns:repeat(2,1fr);gap:8px}
  .fh-thumb a.fh-ti{height:120px}
  .fh-thumb img{max-height:120px}
}
.fh-sum dl,.fh-sum dt,.fh-sum dd{margin:0}
.fh-sum dd{min-width:0}
