/* What the tool pages of llafazani.com share (/diktim/, /njoftim-telefonik/), on top of the site's stil.css (its colours
   in both looks: --bg, --bg2, --bg3, --kuti, --text, --ari, --aritekst, --fokus...; its .buton, .buton.dyte and
   .buton.i-vogel, the .shirit of its players, the questions of its home page: .pyetjet). The tool is laid out in
   numbered steps, each in a card: two columns of cards on a wide screen (the page then as wide as the home page), one
   column on a phone. Here too: the fields, the round buttons of the players, the arrow of the download buttons. Each
   page adds its own (diktim.css, njoftim.css), after this file. The controls a finger can hit (44 px and more). */
.vegla section{padding:0}            /* (the site's sections, on its home page, have 64 px above them) */
/* what the page hides stays hidden: a class that sets "display" (.veprime, the site's .buton, the columns...) is stronger
   than the attribute "hidden" (the pupil's «Shiko tekstin» was there before the end of the dictation, 20/11) */
.vegla [hidden]{display:none !important}
.vegla .hyrje-vegla{font-size:18.5px;color:var(--text2);margin:0 0 24px;max-width:760px}
.vegla > .shenim{max-width:760px}
.vegla .i-vogel:not(.buton){font-size:14.5px;color:var(--mut);margin:6px 0}
.vegla a{color:var(--aritekst)}
.vegla h3{font-size:17.5px;margin:20px 0 6px;color:var(--text)}

/* the steps, each in a card */
.vegla .hap{background:var(--bg2);border:1px solid var(--kufi);border-radius:16px;padding:18px 22px 20px;margin:0 0 18px}
:root:not([data-theme=light]) .vegla .hap{--kuti:var(--bg)}      /* its fields: darker than the card (in the light look they already are) */
.vegla .hap > h2{display:flex;align-items:center;gap:12px;font-size:20px;line-height:1.3;margin:0 0 14px}
.vegla .hap > h2 label{cursor:text}
.vegla .hap-nr{flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;
  background:var(--bg3);border:1px solid var(--kufi);color:var(--aritekst);font-size:15px;font-weight:700}
@media (min-width:980px){
  .tekst.vegla:not(.nje-shtylle){max-width:1120px}
  .vegla .dy-shtylla{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 18px;align-items:start}
}

/* the fields */
.vegla textarea{display:block;width:100%;min-height:180px;resize:vertical;background:var(--kuti);color:var(--text);border:1px solid var(--kufi);
  border-radius:12px;padding:14px 16px;font:17px/1.65 Georgia,"Times New Roman",serif}
.vegla input[type=text],.vegla input[type=tel],.vegla input[type=date],.vegla input[type=time],.vegla select{background:var(--kuti);color:var(--text);
  border:1px solid var(--kufi);border-radius:10px;padding:8px 12px;font:inherit;font-size:16px;min-height:44px;max-width:100%}
.vegla input::placeholder,.vegla textarea::placeholder{color:var(--mut);opacity:1}
.vegla textarea:focus-visible,.vegla select:focus-visible,.vegla input:focus-visible,.vegla summary:focus-visible{outline:2px solid var(--fokus);outline-offset:2px}
.vegla input[type=checkbox],.vegla input[type=radio]{accent-color:var(--ari);width:19px;height:19px;margin:0 8px 0 0;vertical-align:-4px}
.vegla input[type=range]{accent-color:var(--ari)}
.vegla .rreshta{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:10px 18px;align-items:center;color:var(--text2)}
.vegla .zerat{display:flex;flex-wrap:wrap;gap:6px 22px}
.vegla .zerat label{padding:8px 0}
.vegla .kuti-zgjedhje{display:block;margin:14px 0;color:var(--text2);padding:4px 0}

/* the buttons (a download: its arrow before its name), the notes */
.vegla button.buton{border:0;cursor:pointer;font-family:inherit}
.vegla button.buton.dyte{border:1px solid var(--kufi)}
.vegla button.buton:disabled{opacity:.5;cursor:default;filter:none;box-shadow:none}
.vegla .buton.i-vogel{padding:10px 18px}
.vegla .buton svg{flex:none;width:18px;height:18px}
.vegla .veprime{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;margin:14px 0}
.vegla .shenim{border-left:3px solid var(--ari);background:var(--kuti);color:var(--text);padding:10px 16px;border-radius:0 10px 10px 0}
.vegla .lidhje-vegla{background:none;border:0;padding:6px 0;font:inherit;color:var(--aritekst);text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* the model being made ready */
.vegla .modeli{border:1px solid var(--kufi);background:var(--kuti);border-radius:12px;padding:12px 18px;margin:16px 0}
.vegla .modeli p{margin:4px 0;color:var(--text)}
.vegla .modeli progress{display:block;width:100%;height:8px;accent-color:var(--ari);margin:8px 0}

/* the round buttons of a player (an icon drawn with lines says so itself: fill="none") */
.vegla .kontroll{width:50px;height:50px;flex:none;border-radius:50%;border:1px solid var(--kufi);background:var(--bg3);color:var(--text);display:inline-flex;
  align-items:center;justify-content:center;cursor:pointer;padding:0}
.vegla .kontroll svg{width:22px;height:22px}
.vegla .kontroll svg:not([fill]){fill:currentColor}
.vegla .kontroll:hover{border-color:var(--aritekst);color:var(--aritekst)}
.vegla .kontroll:focus-visible{outline:2px solid var(--fokus);outline-offset:3px}
.vegla .kontroll:disabled{opacity:.45;cursor:default}
.vegla .kontroll.kryesor{width:60px;height:60px;background:var(--btn);color:var(--btnfg);border:0}
.vegla .kontroll.kryesor:hover{color:var(--btnfg);filter:brightness(1.06)}
.vegla .kontroll .ikona-pauze,.vegla .kontroll.duke-luajtur .ikona-luaj{display:none}
.vegla .kontroll.duke-luajtur .ikona-pauze{display:block}

/* the questions: the cards of the home page (the site's .pyetjet: native <details>), under the tool */
.vegla .pyetjet{margin-top:44px}
.vegla .pyetjet h2{text-align:center;font-size:26px;margin:0 0 22px}
.vegla .pyetjet summary{border-radius:10px}

@media (max-width:520px){
  .vegla .hap{padding:14px 14px 16px;border-radius:14px}
  .vegla .rreshta{grid-template-columns:minmax(0,1fr);gap:4px}
  .vegla .modeli{padding-left:14px;padding-right:14px}
  .vegla .pyetjet details{padding:0 16px}
  .vegla .pyetjet summary{font-size:16.5px}
}
@media (forced-colors:active){
  .vegla .kontroll,.vegla .hap-nr{border:1px solid CanvasText}
  .vegla .kontroll svg:not([fill]){fill:ButtonText}
}
