html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #fff;
}

.container {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    padding: 10px;
    font-size: 16px;
}

.app {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}

.page {
    overflow-y: scroll;
    font-size: 16px;
}

.title-container {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.title {
    text-align: center;
    font-size: 16px;
    margin-bottom: 15px;
}

.menu {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.menu-item {
    padding: 18px;
    border: 1px solid #ccc;

    background: #f5f5f5;
}

.menu-item + .menu-item {
    border-top: none;
}

.hint {
    margin-top: 20px;
    padding: 10px;
    background: #fff9cc;
    color: green;
    text-align: left;
    border: 1px solid #eee;
    flex-grow: 1;
}

#hint-text .error {
  color: red;
  font-weight: bold;
}

.subhint {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    flex-grow: 1;
}

.btn {
    width: 48%;
    padding: 18px 0;
    /* font-size: 22px; */
    border: 1px solid #bbb;
    background: #f0f0f0;
}

/* Контейнер формы */
.form-group {
    margin-bottom: 20px;
}

/* Подписи (label) */
.form-label {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
    color: #333;
}

/* Выпадающий список (select) */
.form-select {
    width: 100%;
    padding: 14px;
    font-size: 20px;
    border: 1px solid #ccc;
    background: #fafafa;
    border-radius: 2px;
    appearance: none; /* скрыть системную стрелку (в большинстве браузеров) */
}

.form-input {
    width: 100%;
    padding: 14px;
    font-size: 20px;
    border: 1px solid #ccc;
    background: #fafafa;
    border-radius: 2px;
}

/* Опции */
.form-select option {
    font-size: 18px;
    padding: 8px;
}

/* Для совместимости на ТСД — псевдострелка */
.form-select {
    background-image: linear-gradient(45deg, transparent 50%, #999 50%),
                      linear-gradient(135deg, #999 50%, transparent 50%),
                      linear-gradient(to right, #ddd, #ddd);
    background-position:
        calc(100% - 20px) calc(50% - 4px),
        calc(100% - 15px) calc(50% - 4px),
        calc(100% - 40px) 50%;
    background-size:
        5px 5px,
        5px 5px,
        1px 30px;
    background-repeat: no-repeat;
}

.form-select.active {
	outline: 2px solid #4a90e2;
}

.form-param {
    display: flex;
    flex-direction: row;
    margin: 10px;
    align-items: center;
    gap: 10px;
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

th, td {
	padding: 8px 10px;
	border: 1px solid #ddd;
	text-align: left;
}

th {
	background: #f5f5f5;
	font-weight: 600;
}

tbody tr:nth-child(even) {
	background: #fafafa;
}

tbody tr:hover {
	background: #f0f0f0;
}

.prr {
    align-self: flex-end;
    justify-self: flex-end;
}