/* Globalne style formularzy panelu admina (wdrozone 2026-08-13)
   Przyciski + pola tekstowe w stylu GitHub, spojne z menu (common/menu.css).
   Ladowane w admin/index.php; podglad projektu: temp/buttons_preview.html.
   font-size z !important - nadpisuje inline style='font-size:10px'
   rozsiane po starych plikach (klient.php, zamow.php itd.). */

input[type="submit"],
input[type="button"],
input[type="reset"],
button {
    appearance: none;
    background-color: #FAFBFC;
    border: 1px solid rgba(27, 31, 35, 0.15);
    border-radius: 5px;
    box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset;
    box-sizing: border-box;
    color: #24292E;
    cursor: pointer;
    font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 500;
    line-height: 16px;
    padding: 4px 10px;
    transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
}
input[type="submit"]:hover:enabled,
input[type="button"]:hover:enabled,
input[type="reset"]:hover:enabled,
button:hover:enabled {
    background-color: #F3F4F6;
    transition-duration: 0.1s;
}
input[type="submit"]:active:enabled,
input[type="button"]:active:enabled,
input[type="reset"]:active:enabled,
button:active:enabled {
    background-color: #EDEFF2;
    box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset;
    transition: none 0s;
}
input[type="submit"]:disabled,
input[type="button"]:disabled,
input[type="reset"]:disabled,
button:disabled {
    background-color: #FAFBFC;
    border-color: rgba(27, 31, 35, 0.15);
    color: #959DA5;
    cursor: default;
    box-shadow: none;
}
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
button:focus {
    outline: 1px transparent;
}

/* pola tekstowe */
input[type="text"],
input[type="password"],
textarea {
    border: 1px solid rgba(27, 31, 35, 0.2);
    border-radius: 5px;
    padding: 3px 8px;
    font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif !important;
    font-size: 12.5px !important;
    box-sizing: border-box;
    color: #24292E;
    background-color: #fff;
}
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: #0969da;
    box-shadow: 0 0 0 2px rgba(9, 105, 218, 0.2);
}
input[type="text"]:disabled,
input[type="password"]:disabled,
textarea:disabled,
input[type="text"]:read-only {
    background-color: #F6F8FA;
    color: #57606a;
}

/* wyjatek: zegarek sesji przy Wyloguj to input tekstowy udajacy napis */
.menu-box form[name="clock"] input {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
