/* Затемняющий слой */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Само модальное окно */
.modal {
    background: #212121;
    padding: 20px;
    text-align: center;
    width: 500px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	transform: translateY(-95px); /* Поднимаем на 15px */
}

.modal-logo {
    max-width: 150px; /* Регулируй размер */
    margin-bottom: 15px;
	margin-top: 15px; /* Отступ сверху */
}
/* Стили для текста и кнопки */
.modal h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.modal p {
    font-size: 16px;
    margin-bottom: 20px;
}

.modal button {
    padding: 10px 20px;
    font-size: 16px;
    background: #db5c4c;
    color: white;
    border: none;
    cursor: allowed; /* Кнопка неактивна */
    opacity: 0.7;
}
.modal a {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    background: #db5c4c;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
	margin-bottom: 20px; /* Отступ перед кнопкой */
}

.modal a:hover {
    background: #b0483c;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.visible {
    visibility: visible;
    opacity: 1;
}

.modal {
    background: #212121;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.modal-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 15px;
    text-align: center;
}