* {
    margin: 0;
}

@font-face {
    font-family: "Roboto";
    src: url('/assets/fonts/Roboto.ttf');
}

html ,
body {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1D2E55;
    color: #FFFEE4;
    font-family: 'Roboto';
    overflow-x: hidden;
    scroll-padding-top: 80px;
}

h1 {
    text-align: center;
}

.main-container {
    margin-top: 70px;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #FFFEE4;
    background-repeat: no-repeat;
    background-position: right top;
    background-size:  34% auto;
}

.block__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.block__main p {
    font-size: 1.3em;
    font-family: 'Roboto';
    margin-bottom: 15px;
    margin-top: 20px;
}

.block__main button {
    width: 200px;
    height: 40px;
    font-size: 1em;
    font-family: 'Roboto';
    border-radius: 10px;
    background-color: #63A6A6;
    border: none;
    cursor: pointer;
}

.block__main button:hover {
    background-color: #89bbbb;
}

.block__main button:active {
    background-color: #3ea5a5;
}

.block__main .password-container input {
    width: 250px;
    height: 25px;
    text-align: center;
    font-size: 1.1em;
    padding-right: 30px; /* Оставляем место для иконки */
}

.block__main .password-container input::placeholder {
    text-align: center;
}

.password-container {
    position: relative; /* Делаем контейнер позиционированным */
    display: inline-block; /* Чтобы контейнер не занимал всю ширину */
}

.password-control {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%); /* Центрируем иконку по вертикали */
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(/assets/img/view.svg) 0 0 no-repeat;
    cursor: pointer;
}

.password-control.view {
    background: url(/assets/img/no-view.svg) 0 0 no-repeat;
}

.block__main textarea {
    margin-top: 15px;
    background-color: white;
    margin-bottom: 33px;
    width: 500px;
    height: 300px;
    border-radius: 10px;
    overflow-y: auto;
    padding: 10px;
    color: white;
    font-family: 'Roboto';
    color: black;
    font-size: 1.2em;
}

.block__main .box-hash {
    margin-top: 15px;
    background-color: white;
    margin-bottom: 33px;
    width: 500px;
    height: 300px;
    /* border-radius: 10px; */
    white-space: normal;
    word-wrap: break-word;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    color: white;
    font-family: 'Roboto';
    color: black;
    font-size: 1.2em;
}

/* Кастомный скроллбар */
.block__main .box-hash::-webkit-scrollbar {
    width: 12px;
}

.block__main .box-hash::-webkit-scrollbar-track {
    background: #63A6A6;
    border-radius: 10px;
}

.block__main .box-hash::-webkit-scrollbar-thumb {
    background: #142377;
    border-radius: 10px;
}

.block__main .box-hash::-webkit-scrollbar-thumb:hover {
    background: #2639a8;
}

.error__admin {
    cursor: pointer;
    position: fixed;
    top: 0;
    z-index: 1000;
    left: 50%;
    top: 50%;
    width: 300px;
    padding: 30px;
    border-radius: 14px;
    background-color: #FF0606;
    box-shadow: 0 5px 15px #ff06066b;
    overflow-y: auto;
    color: white;
    text-align: center;
    transform: translateX(-50%);
}

.error__admin p {
    font-size: 1.3em;
    font-family: 'Roboto';
    font-weight: bold;
}

.error__admin button {
    width: 150px;
    margin-top: 15px;
    background-color: white;
    color: black;
    font-family: 'Roboto';
    font-weight: bold;
    border-radius: 5px;
    border: none;
    font-size: 0.8em;
    cursor: pointer;
}

@media only screen and (max-device-width: 600px) {
    html, body {
        overflow-x: hidden; /* Отключаем горизонтальную прокрутку */
        position: relative;
    }

    .block__main textarea {
        margin-top: 15px;
        background-color: white;
        margin-bottom: 15px;
        width: 300px;
        height: 300px;
        border-radius: 10px;
        overflow-y: auto;
        padding: 10px;
        color: white;
        font-family: 'Roboto';
        color: black;
        font-size: 1.2em;
    }

    .block__main {
        margin-top: 30px;
        margin-bottom: 30px;
    }
   
    .block__content {
        flex-direction: column;
        align-items: flex-start;

    }

    .block__content p {
        width: 100%;
        line-height: 1.2;
        margin-bottom: 20px;
        text-align: start;
        font-size: 1.4em;
    }

    .block__main .box-hash {
        margin-top: 15px;
        background-color: white;
        margin-bottom: 15px;
        width: 80%;
        height: auto;
        border-radius: 10px;
        overflow-y: auto;
        overflow-x: hidden;
        white-space: normal;
        word-wrap: break-word;
        padding: 10px;
        color: white;
        font-family: 'Roboto';
        color: black;
        font-size: 1.2em;
    }

}