/* Общие стили */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(120deg, #f8f9fa, #e9ecef);
    margin: 0;
    padding: 20px;
    text-align: center;
}
/* Общие стили */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Верхний блок (шапка) */
.header {
    width: 100%;
    height: 50px;
    background-color: green;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}


/* Логотип */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}
.knopki {
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 10px 20px 10px 20px;
}
/* Меню */
.nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav li {
    margin-left: 20px;
}

.nav a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

.nav a:hover {
    text-decoration: underline;
}

/* Контент */
.content {
    padding: 20px;
    text-align: center;
}

/* Нижний блок (подвал) */
.footer {
    width: 100%;
    height: 50px;
    background-color: #222;
    color: white;
    display: flex;
    align-items: center;
    padding-left: 20px;
    box-sizing: border-box;
    justify-content: flex-start;
    flex-direction: row;
    bottom: 0;
}
h3 {
    display: block;
    font-size: 1.0em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
/* Контейнер */
.container {
    max-width: 700px;
    margin: auto;
    background: white;
    padding: 5px 25px 5px 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Блоки */
.info-block, .scan-input, .settings-block, .file-block {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Прогресс-бар */
.progress-bar {
    width: 100%;
    height: 15px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
    position: relative;
}

.progress {
    height: 100%;
    background: #28a745;
    width: 0%; /* Начальное значение */
    transition: width 0.4s ease;
}

/* Поля ввода */
input, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    border: 1px solid gray;
    padding: 0 5px;
    line-height: 1.9;
}

/* Кнопки */
button {
    width: 30%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    background: #007bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}
button:hover {
    background: #0056b3;
}

/* Чекбоксы */
.settings-block label {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    cursor: pointer;
    align-items: flex-end;
    flex-wrap: wrap;
}

/* Выпадающее меню */
select {
    background: white;
    cursor: pointer;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #000;
    border: #9fbddd 1px solid;
    background-color: #E7F5FE;
    font-size: 14px !important;
    cursor: help;
    margin-left: 5px;
    line-height: 14px;
    width: 12px;
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    font-weight: 100;
    text-indent: 0;
    padding: 0 !important;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 220px;
    text-align: center;
    padding: 6px;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    position: absolute;
    display: block;
    padding: 10px;
    border: 1px solid #089dcb;
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-box-shadow: 1px 1px 2px #888888;
    -moz-box-shadow: 1px 1px 2px #888888;
    box-shadow: 1px 1px 2px #888888;
    background-color: #ffD;
    z-index: 10000;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.haza-block {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    color: #000;
    border: #9fbddd 1px solid;
    background-color: #E7F5FE;
    font-size: 14px !important;
    cursor: help;
    margin-left: 5px;
    line-height: 14px;
    width: 12px;
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    font-weight: 100;
    text-indent: 0;
    padding: 0 !important;
}
.haza-block2 {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}
.lakhar-block {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    color: #000;
    background-color: #f0f9ff;
    font-size: 14px !important;
    line-height: 24px;
    text-align: center;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    font-weight: 100;
    text-indent: 0;
    padding: 0 !important;
    flex-wrap: wrap;
}
.url-search {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    flex-wrap: wrap;
    width: 70%;
    border: 1px solid gray;
    padding: 0 5px;
    line-height: 1.9;
}
.knopka {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    cursor: pointer;
    width: 20%;
    flex-direction: column;
}
.knopka:hover {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    cursor: pointer;
    width: 20%;
    flex-direction: column;
}
.knopka-zagruzki {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    cursor: pointer;
    width: 20%;
    flex-direction: column;
    display: inline-block;
}
.knopka-zagruzki:hover {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    cursor: pointer;
    width: 20%;
    flex-direction: column;
    display: inline-block;
}
.cifry {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    flex-wrap: wrap;
    width: 10%;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 15px;
    }
    
    button {
        font-size: 14px;
    }
}

