/* =========================
   BASE STYLES
   ========================= */
/* =========================
   Fonts
   ========================= */

@font-face {
    font-family: 'Hasklig';
    src: url('../fonts/Hasklig-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html {
    height: 100%;
    font-size: 16px;
}

body {
    min-height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #202020;
    background-color: #ffffff;
}

/* Typography */
h1 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 600;
}

h2 {
    font-size: 18px;
    margin-bottom: 8px;
    padding: 5px 0;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

strong {
    font-weight: 600;
}

/* Links — ЕДИНСТВЕННОЕ место */
a {
    color: #0782C1;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

/* Content lists */
ul,
ol {
    margin-bottom: 1rem;
}

li {
    line-height: 1.4;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Tables */
table {
    width: 100%;
}

/* Utilities */
.hidden {
    display: none !important;
}

/* Buttons */
.btn {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    height: 36px;
    line-height: 18px;
    margin-left: 5px;
    padding: 0 16px;
    text-transform: uppercase;
}

.btn-light {
    background: #535353 linear-gradient(to top, #CACACA, #EEEEEE);
    color: #585858;
}

.btn-light:hover {
    background: #535353 linear-gradient(to top, #B9B9B9, #DEDEDE);
}

.btn-dark {
    background: #404040 linear-gradient(to top, #404040, #646464);
    color: white;
}

.btn-dark:hover {
    background: #454545 linear-gradient(to top, #454545, #717171);
}

/* Input */
input[type=text] {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    font-size: 26px;
    height: 36px;
    line-height: 34px;
    padding: 5px;
}

.clear {
    clear: both;
}

/* ui-action */
.ui-action {
    color: black;
    cursor: pointer;
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    user-select: none;
}
.ui-action:hover {
    text-decoration-style: solid;
}
.ui-action.active {
    font-weight: 600;
    text-decoration-style: solid;
}
.ui-action.disabled {
    color: #999;
    cursor: default;
    pointer-events: none;
    text-decoration: none;
}

