body {
    padding: 0;
    margin: 0;
    color: #000000;
    background-color: #30383b;
}
body,
td {
    font-family: Tahoma;
    font-size: 11px;
}
br {
    font-size: 10px;
}

.header {
    color: #1a5583;
    font-size: 11px;
    line-height: 13px;
}
.header a {
    color: #1a5583;
    text-decoration: underline;
}
.header a:hover {
    text-decoration: none;
}

.content td {
    color: #acafb1;
    font-size: 11px;
    line-height: 13px;
}
.content b {
    color: #edd830;
}
.content b a {
    color: #edd830;
    text-decoration: underline;
    font-weight: normal;
}
.content b a:hover {
    text-decoration: none;
}
.content span {
    color: #acafb1;
    font-size: 10px;
}
.content a {
    color: #ffffff;
    text-decoration: underline;
}
.content a:hover {
    text-decoration: none;
}
.content li {
    background: url(images/1_z2.gif) center left no-repeat;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 12px;
}

.content .block {
    color: #cee8cd;
    font-size: 11px;
    line-height: 13px;
}
.content .block b {
    color: #ff8f3b;
    font-size: 11px;
    line-height: 13px;
}
.content .block a {
    color: #ff8f3b;
    font-size: 11px;
    line-height: 13px;
}
.content .block a:hover {
    text-decoration: none;
}

.footer {
    color: #989c9d;
    font-size: 9px;
    line-height: 13px;
}
.footer b {
    color: #ffffff;
    font-size: 9px;
    font-weight: normal;
}
.footer b a {
    color: #ffffff;
    font-size: 9px;
    font-weight: normal;
    text-decoration: none;
}
.footer b a:hover {
    text-decoration: underline;
}
.footer a {
    color: #ffffff;
    font-size: 11px;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

.set {
    color: #acafb1;
    font-size: 10px;
    line-height: 13px;
}

input,
textarea,
select {
    background: #363e41;
    border: 1px solid #606668;
    font-family: Tahoma;
    color: #acafb1;
    font-size: 11px;
    padding-left: 7px;
}
.input {
    padding: 0px;
}

p {
    padding: 0px 0px 0px 0px;
    text-align: justify;
}

/* Стилизация логотипа */

.logo-container {
    display: flex; /* Включаем Flexbox */
    justify-content: space-between; /* Элементы раздвинуты по краям */
    align-items: center; /* Вертикальное выравнивание по центру */
    width: 100%; /* Контейнер занимает всю ширину */
    height: 33px; /* Фиксированная высота */
}

.circles {
    position: relative; /* Для управления расположением кругов */
    width: 25px; /* Ширина блока, содержащего круги */
    height: 25px; /* Высота блока, содержащего круги */
}

.circle {
    width: 15px; /* Диаметр кругов */
    height: 15px;
    border-radius: 50%; /* Превращаем в круг */
    position: absolute; /* Для расположения кругов относительно родителя */
}

.circle.white {
    background-color: white;
    top: 0; /* Белый круг сверху */
    left: 0; /* Левый край */
}

.circle.yellow {
    background-color: #ffd700;
    bottom: 0; /* Жёлтый круг снизу */
    left: 5px; /* Сдвиг влево */
}

.logo-title {
    display: flex; /* Flexbox для управления словами */
    gap: 5px; /* Отступ между словами */
    font-family: "Arial Black", Arial, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    margin-right: 0px; /* Отступ текста от правого края */
    text-align: right; /* Текст выровнен по правому краю */
    transform: scaleY(1.5); /* Растягиваем текст по высоте в 1.5 раза */
}

.logo-word.first {
    color: #ffd700; /* Жёлтый цвет первого слова */
}

.logo-word.second {
    color: white; /* Белый цвет второго слова */
}

.logo-word {
    font-size: 16px !important; /* Перекроет все наследования */
}

/* Кнопки правки отправлений */

.action-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.edit-icon,
.delete-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.edit-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20h9"/><path d="M16.5 3.5a2.121 2.121 0 1 1 3 3L7 19l-4 1 1-4Z"/></svg>');
}

.delete-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="red" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18"/><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/><path d="m19 6-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"/><path d="m10 11 4 4m0-4-4 4"/></svg>');
}

/* Строка ввода и форма на странице отслеживания отправлений */

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0px;
}

.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.input-container input[type="text"] {
    width: 430px;
    height: 30px;
    margin-top: 10px;
    text-align: center;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 23px;
    margin-top: 10px;
}

.button-container input {
    border-style: none;
    cursor: pointer;
}

.result-container {
    margin-top: 10px;
    padding: 10px;
    width: 430px;
    text-align: left;
    border: 1px solid #606668;
}

/* Стили для модального окна импорта */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #30383b;
    margin: 10% auto;
    padding: 0;
    border: 1px solid #606668;
    width: 500px;
    max-width: 90%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 15px 20px;
    background-color: #3a4245;
    border-bottom: 1px solid #606668;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #acafb1;
    font-size: 16px;
}

.modal-body {
    padding: 20px;
    color: #acafb1;
}

.modal-body ul {
    margin-left: 20px;
}

.modal-body li {
    list-style-type: disc;
    background: none;
    padding: 0;
}

.close {
    color: #acafb1;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #edd830;
}

/* Кнопка импорта */

.import-btn {
    background-color: #3a4245;
    border: 1px solid #606668;
    color: #acafb1;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
    transition: all 0.3s;
}

.import-btn:hover {
    background-color: #4a5255;
    color: #edd830;
}

/* Кнопки модального окна */

.btn-submit,
.btn-cancel {
    padding: 10px 20px;
    border: 1px solid #606668;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
    transition: all 0.3s;
}

.btn-submit {
    background-color: #4caf50;
    color: white;
}

.btn-submit:hover {
    background-color: #45a049;
}

.btn-cancel {
    background-color: #f44336;
    color: white;
}

.btn-cancel:hover {
    background-color: #da190b;
}

/* Блок результатов импорта */

.import-result {
    padding: 15px;
    border: 2px solid;
    border-radius: 5px;
    background-color: #3a4245;
}

.import-result.success {
    border-color: #4caf50;
}

.import-result.error {
    border-color: #f44336;
}

.import-result h3 {
    margin-top: 0;
    font-size: 16px;
}

.import-result p {
    margin: 5px 0;
    color: #acafb1;
}

.import-result details {
    margin-top: 10px;
}

.import-result details summary {
    font-weight: bold;
    margin-bottom: 5px;
}

.import-result ul {
    margin-left: 20px;
    max-height: 150px;
    overflow-y: auto;
}

.import-result li {
    list-style-type: disc;
    background: none;
    padding: 2px 0;
    margin: 0;
}
