/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content-login {
    position: relative;
    background-color: #1A1A1A;
    z-index: 1001;
    border-radius: 25px;
    padding: 25px 35px;
    gap: 20px;
    border: solid 2px #3D3D3D;
}

.modal-header {
    display: flex;
    justify-content: start;
    align-items: center;
}

.modal-title {
    color: white;
    font-size: 35px;
    font-weight: 700;
    font-family: "Unbounded", sans-serif;
}

.modal-text {
    color: #A9A0A9;
    font-size: 15px;
    font-family: "Unbounded", sans-serif;
}

.modal-text a{
    color: #d3d1d3;
    text-underline-offset: 2px;
    transition: 0.2s;
    text-decoration-color: #4DA8FF;
}

.modal-text a:hover{
    color: #A9A0A9;
    text-decoration-color: #1A6BB0;
}

.modal-body{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 15px;
}

.discord-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background-color: #3197EA;
    color: white;
    font-size: 20px;
    font-family: "Unbounded", sans-serif;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 15px;
    transition: 0.2s;
    text-decoration: none;
}

.discord-btn:hover {
    background-color: #1A6BB0;
}

.modal-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #4b5563;
}

.modal-close-btn {
    position: absolute;
    top: 25%;
    right: 25%;
    color: #A0A0A0;
    font-size: 1.5rem;
    line-height: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
}

.modal-close-btn span{
    transition: 0.2s;
}

.modal-close-btn span:hover {
    color: #d6d6d6;
}