body {
    padding: 0;
    background-color: rgb(241 245 240);
    min-height: 100dvh;
    max-width: 100dvw;
    box-sizing: border-box;
    font-family: 'roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
}

.p_firmPage_leaveToVk,
.p_firmPage_leave {
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;

    background-color: #fff;
    box-sizing: border-box;
    box-shadow: var(--ui-shadow-block);
    border-radius: 9px;
    padding: 20px;
    max-width: 750px;
    min-width: 350px;
}

.leaveSite__siteLink {
    cursor: pointer;
    color: var(--ui-color-accent);
    text-decoration: underline;
    transition: .2s;
    word-break: break-all;
}

.leaveSite__siteLink:hover {
    text-decoration: none;
    filter: brightness(.7);
}

.leaveSite__externalUrl {
    transition: .5s;
    opacity: 0;
}

.leaveSite__externalUrl--isShow {
    opacity: 1;
}

.leaveSite {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
}

.leaveSite__controls {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
}

.leaveSite__backButton {
    padding: 0 15px;
    margin: 0;
    min-height: 30px;
    width: fit-content;
    border-radius: 5px;
    background-color: #4a803cff;
    color: #fff;

    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;

    text-decoration: none;
    transition: .2s;

    box-shadow: var(--ui-shadow-input-out);
}

.leaveSite__backButton:hover {
    filter: brightness(.9);
}

.leaveSite__backButton:active {
    box-shadow: var(--ui-shadow-input);
}

.leaveSite__content {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    justify-items: center;
    justify-content: center;
}

.leaveSite__header {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;

    justify-items: center;
    justify-content: center;
}

.leaveSite__header p {
    max-width: 450px;
    text-align: center;
}

.leaveSite__body {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 15px;
    text-align: center;

}

.leaveSite__countBox {
    display: flex;
    grid-gap: 10px;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}

.leaveSite__roundCountBox {
    position: relative;
}

.leaveSite__count {
    position: absolute;
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: center;
    text-align: center;
    transform: translate(-50%, -50%);
    font-size: 2em;
    font-weight: bold;
    left: 50%;
    top: 50%;
}

.leaveSite__postCount {
    font-size: .8em;
}

.p_firmPage_leave p,
.p_firmPage_leave h2,
.p_firmPage_leave h1 {
    margin: 0;
}


.p_firmPage_leaveToVk h1,
.p_firmPage_leaveToVk h2,
.p_firmPage_leave h1,
.p_firmPage_leave h2 {
    text-align: center;
}


.leaveSite__footer {
    max-width: 550px;
    text-align: center;
    border: 2px solid var(--ui-color-accent);
    border-radius: 5px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.leaveSite__footer p {
    text-align: left;
}

.leaveSite__footer svg {
    fill: var(--ui-color-accent);
    min-width: 25px;
    max-width: 25px;
    min-height: 25px;
    max-height: 25px;

}

.leaveSite__roundCount {
    position: relative;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 5px solid teal;
    box-shadow: var(--ui-shadow-input);
    animation: loader 3s linear infinite;
}

.leaveSite__roundCount::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 40px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: teal;
    box-shadow: var(--ui-shadow-input);
}

.leaveSite__roundCount::before {
    content: "";
    position: absolute;
    top: -11px;
    left: 40px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    z-index: 4;
    background-color: transparent;
    box-shadow: var(--ui-shadow-input);
}

@keyframes loader {
    from {
        transform: rotate(0deg);
        filter: hue-rotate(0);
    }

    to {
        transform: rotate(360deg);
        filter: hue-rotate(360deg);
    }
}