@import url("../theme.css?v=3");

.backgraund-for-news {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 999;

    overflow: auto;

    width: 100%;
    height: 100%;

    visibility: hidden;

    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    
    transition: .6s;
}

.news-messange-section {
    position: fixed;
    z-index: 10000;
    top: -50px;
    left: 50%;

    opacity: 0;

    transform: translate(-50%, 0%);

    width: 440px;
    height: auto;

    visibility: hidden;

    border-radius: 8px;

    background: var(--color-white);
    box-shadow: 0px 0px 10px var(--color-black-shadow-for-alert);

    padding: 15px 10px;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
    justify-items: center;
    align-items: center;

    transition: .6s;
}

.news-icon {
    width: 50px;
    height: 50px;

    filter: var(--color-black-for-svg);
}

.news-text-wrapper{
    width: 100%;
}

.text-alert-block {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.title-alert {
    font-size: 20px;
    font-family: "Inter-Medium", Arial, Helvetica, sans-serif;
    color: var(--color-black);

    text-align: center;
    margin: 0px;
}

.text-news {
    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;
}

.text-news span{
    font-size: 18px;
    font-family: "Inter-Regular", Arial, Helvetica, sans-serif;
    color: var(--color-text-for-alert);

    text-align: left;
}

.right-news-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.vertical-line-news {
    height: 60px;
    width: 1px;
    background: var(--color-black);
}

.button-new-wraper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-hidden-news {
    width: 25px;
    height: 25px;

    background: transparent;

    display: flex;
    justify-content: center;
    align-items: center;

    padding-block: 0px;
    padding-inline: 0px;
    border-width: 0px;
}

.button-hidden-news svg {
    filter: var(--color-black-for-svg);
}

/* НЕ ИЗМЕНЯТЬ */
.alert-messange-section {
    position: fixed;
    z-index: 10000;
    top: -50px; 
    opacity: 0;
    left: 50%;

    transform: translate(-50%, 0%);

    width: 300px;
    height: 65px;

    border-radius: 8px;

    background: var(--color-white);
    box-shadow: 0px 0px 10px var(--color-black-shadow-for-alert);

    padding: 0px 15px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .6s;
}

.left-content-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.right-content-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.animate-alert-messange {
    top: 20px;
    opacity: 1;
}

.messange-content-icon {
    width: 25px;
    height: 25px;
}

.text-alert {
    font-size: 12px;
    font-family: "Inter-Regular", Arial, Helvetica, sans-serif;
    color: var(--color-text-for-alert);
}

.vertical-line-alert {
    height: 35px;
    width: 1px;
    background: var(--color-background-for-alert);

    margin-left: 5px;
}

.messange-hidden-icon {
    width: 20px;
    height: 20px;
}

.button-hidden-icon {
    background: transparent;

    display: flex;
    justify-content: center;
    align-items: center;

    padding-block: 0px;
    padding-inline: 0px;
    border-width: 0px;
}