/* @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"); */
@import "ui/toast.css";
@import "ui/toggle.css";
@import "ui/pagination.css";
@import "ui/button.css";
@import "ui/main.css";
@import "ui/search.css";
@import "ui/select2.css";
@import "ui/checkbox.css";

@font-face {
    font-family: "Roboto";
    src: url("../../assets/fonts/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("../../assets/fonts/Roboto-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@keyframes fadeScaleAnimation {
    0% {
        opacity: 0.5;
    }
    70% {
        opacity: 0;
        transform: scale(1.6);
    }
    100% {
        opacity: 0;
    }
}

.fade-scale {
    animation: fadeScaleAnimation 2s ease 0s infinite normal none running;
}

.animated-wrapper {
    width: 36px;
    height: 36px;
    background-color: #3BD671;
    border-radius: 999px;
}

.animated-wrapper--small {
    width: 18px;
    height: 18px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease-in-out;
}

a:hover {
    opacity: 0.7;
}

body {
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-family: "Roboto", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input, textarea, button, select {
    font-family: inherit;
    outline: none !important;
    border: none;
}

input {
    color: #fff;
}

h2 {
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 700;
}

h2 span {
    color: #3BD671;
}

@media screen and (min-width: 1366px) {
    h2 {
        font-size: 1.5rem;
    }
}

@keyframes fadeScaleAnimation {
    0% {
        opacity: 0.5;
    }
    70% {
        opacity: 0;
        transform: scale(1.6);
    }
    100% {
        opacity: 0;
    }
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.grey-icon {
    color: #72839E;
}

.green-icon {
    color: #3BD671;
}

.red-icon {
    color: #DF484A;
}

.large-icon {
    font-size: 36px;
}

.medium-icon {
    font-size: 20px;
}

.small-icon {
    font-size: 16px;
}

.xsmall-icon {
    font-size: 13px;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    gap: 0.75rem;
    height: 2.25rem;
    min-width: 2.25rem;
    padding: 0px 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.2;
    font-weight: 400;
    border-radius: 8px;
    background-color: #1C2434;
    color: #FFF;
}

.checkbox span {
    color: #72839E;
}

input[disabled],
.input--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.search-items {
    width: 100%;
    display: flex;
    align-items: center;
}

.search-items input {
    height: 2.25rem;
    width: 100%;
    padding: 0px 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.2;
    font-weight: 400;
    background: #131A25;
    border: 1px solid #2D3340;
    border-radius: 8px 0px 0 8px;
    border-right: 0;
}

.search-items button {
    border-radius: 0 8px 8px 0;
}

.search-items input::-moz-placeholder {
    color: #72839E;
}

.search-items input::placeholder {
    color: #72839E;
}

.invitation__field {
    position: relative;
}

.invitation__input,
.invitation__form input {
    height: 2.25rem;
    min-width: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.2;
    font-weight: 400;
    border-radius: 8px;
    background: #131A25;
    border: 1px solid #2D3340;
}

.invitation__textarea,
.invitation__form textarea {
    color: #fff;
    padding: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.2;
    font-weight: 400;
    border-radius: 8px;
    background: #131A25;
    border: 1px solid #2D3340;
    min-width: unset;
    height: unset;
}

.invitation__form input::-moz-placeholder,
.invitation__form textarea::-moz-placeholder {
    color: #72839E;
}

.invitation__form input::placeholder,
.invitation__form textarea::placeholder {
    color: #72839E;
}

.invitation__form select {
    height: 2.25rem;
    min-width: 2.25rem;
    padding: 0px 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.2;
    font-weight: 400;
    border-radius: 8px;
    background: #131A25;
    border: 1px solid #2D3340;
    color: #E6EAEB;
}

.login {
    padding: 2rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 960px) {
    .login {
        padding: 4rem;
    }
}

.login__form-wrapper {
    padding: 1rem;
    background-color: #1C2434;
    color: #E6EAEB;
    border-radius: 8px;
    width: 100%;
    max-width: 37.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

@media screen and (min-width: 960px) {
    .login__form-wrapper {
        padding-inline-start: 4rem;
        padding-inline-end: 4rem;
    }
}

@media screen and (min-width: 480px) {
    .login__form-wrapper {
        padding: 4rem 2rem;
    }
}

.login__heading {
    font-size: 1.5rem;
    line-height: 1.33;
    font-weight: 700;
    text-align: center;
}

.login__heading span {
    color: #3BD671;
}

@media screen and (min-width: 960px) {
    .login__heading {
        font-size: 1.875rem;
        line-height: 1.2;
    }
}

.login__form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    width: 100%;
}

.login__field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.login__label {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.login__input {
    width: 100%;
    height: 2.25rem;
    font-size: 0.875rem;
    padding: 0.75rem;
    border-radius: 0.375rem;
    outline: transparent solid 2px;
    outline-offset: 2px;
    background-color: #131A25;
    border: none;
    border: 1px solid #2D3340;
}

.login__input::-moz-placeholder {
    color: #2D3340;
}

.login__input::placeholder {
    color: #2D3340;
}

.login__form-link {
    font-size: 1rem;
    line-height: 1.5;
    color: #3BD671;
    text-decoration: underline;
    text-align: center;
    cursor: pointer;
}

.login__text {
    font-size: 0.875rem;
    color: #72839E;
}

.login__switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login__switch-label {
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 700;
}

.login__link-wrapper {
    text-align: center;
}

.data-item {
    min-width: 100%;
    height: 3.75rem;
    display: flex;
    align-items: center;
    padding-right: 1.5rem;
    padding-left: 1rem;
    gap: 1rem;
    background-color: #1C2434;
}

.data-item:not(:last-child) {
    border-bottom: solid 1px #2D3340;
}

.data-item__part--single-center {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.data-item__part--single-center .green-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.data-item__part--single {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.data-item__part--wide {
    flex: auto;
}

.data-item__text-sm {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 400;
    color: #72839E;
}

.data-item__title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin: 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar {
    display: none;
    position: fixed;
    z-index: 3;
    width: 100vw;
    height: calc(100vh - 4.625rem);
    left: 0;
    background: linear-gradient(0deg, rgba(59, 215, 113, 0.05) 0%, rgb(20, 32, 45) 75%), #131A25;
    padding: 2rem;
    grid-template-rows: auto 1fr auto;
}

.sidebar.active {
    display: grid;
}

@media screen and (min-width: 480px) {
    .sidebar {
        position: sticky;
        top: 0;
        bottom: 0;
        padding: calc(2rem + 40px) .5rem 2rem;
        width: auto;
        height: calc(100vh);
        display: grid;
        grid-template-rows: auto 1fr auto;
        grid-template-columns: 1fr;
        background: linear-gradient(0deg, rgba(59, 215, 113, 0.05) 0%, rgb(20, 32, 45) 75%);
    }
}

@media screen and (min-width: 1366px) {
    .sidebar {
        padding: calc(2rem + 40px) 2rem 2rem 2rem;
        max-width: 270px;
    }
}

.sidebar__logo {
    text-align: center;
    margin-bottom: 2rem;
}

.sidebar__logo-text {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #fff;
    white-space: nowrap;
}

.sidebar__logo-text span {
    color: #2eaa59;
}

@media (min-width: 480px) and (max-width: 1365px) {
    .sidebar__logo {
        display: none;
    }
}

.sidebar__logo-mini {
    width: 100%;
    height: 32px;
    position: relative;
    margin-bottom: 1.125rem;
    display: none;
}

.sidebar__logo-mini span {
    border-radius: 999px;
    background: #3BD671;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.sidebar__logo-mini .logo-outer {
    width: 32px;
    height: 32px;
    opacity: 0.5;
}

.sidebar__logo-mini .logo-inn {
    width: 23px;
    height: 23px;
}

@media (min-width: 480px) and (max-width: 1365px) {
    .sidebar__logo-mini {
        display: block;
    }
}

.sidebar__nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.sidebar__menu-item {
    padding-left: 1rem;
}

.sidebar__menu-item a {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: #E6EAEB;
    font-size: 0.875rem;
    line-height: 1.5;
}

.sidebar__menu-item--current {
    background-color: #131A25;
}

.sidebar__menu-item--current .grey-icon {
    color: #3BD671;
}

@media (min-width: 480px) and (max-width: 1365px) {
    .sidebar__menu-item span:last-of-type {
        display: none;
    }
}

.sidebar__nav-user .user__dropdown {
    width: 256px;
    position: fixed;
    bottom: 70px;
}

@media screen and (min-width: 480px) {
    .sidebar__nav-user .user__dropdown {
        left: 50px;
    }
}

@media screen and (min-width: 1366px) {
    .sidebar__nav-user .user__dropdown {
        left: 250px;
    }
}

.sidebar__bottom {
    width: 100%;
    height: 50px;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user {
    display: grid;
    align-items: center;
    grid-template-columns: auto 1fr auto;
}

.user__avatar {
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #131A25;
    border-radius: 999px;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #E6EAEB;
}

.user__avatar span {
    color: #3BD671;
}

.user__name {
    margin: 0 0.5rem;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #E6EAEB;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

@media (min-width: 480px) and (max-width: 1365px) {
    .user__name {
        display: none;
    }
}

@media (min-width: 480px) and (max-width: 1365px) {
    .user__button {
        display: none;
    }
}

.user__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #131A25;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    color: #E6EAEB;
}

.user__avatar span {
    color: #3BD671;
}

.user__avatar--large {
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
}

.user__avatar--small {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.dropdown {
    display: none;
    z-index: 20;
    padding: 0.5rem 0;
    min-width: 16rem;
    max-width: 42rem;
    border-radius: 0.375rem;
    background-color: #1C2434;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px;
}

.dropdown__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    border-bottom: solid 1px #2D3340;
    font-size: 0.875rem;
    color: #E6EAEB;
    cursor: pointer;
}

.dropdown__item a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.375rem 1rem;
}

.dropdown__item:hover {
    background-color: #2D3340;
}

.dropdown__item--red {
    color: #DF484A;
    background-color: rgba(223, 72, 74, 0.24);
}

.dropdown__item--red:hover {
    background-color: rgba(223, 72, 74, 0.4);
}

.dropdown.active {
    display: block;
}

.block {
    padding: 1.75rem;
    background-color: #1C2434;
    color: #E6EAEB;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.block p {
    font-size: 0.8125rem;
    line-height: 1.375rem;
    color: #72839E;
}

.block a {
    font-size: 0.8125rem;
    line-height: 1.375rem;
    position: relative;
}

.block__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.block__title {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 700;
}

.block__title span {
    color: #3BD671;
}

.block__content--grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.block__content--grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.block__content--center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.block__content--center .green-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.block__item--center {
    text-align: center;
}

.block__item span {
    font-size: 1.125rem;
    font-weight: 700;
}

.block__item .special {
    color: #3BD671;
}

@media screen and (max-width: 1199px) {
    .block__item p {
        white-space: nowrap;
    }
}

.monitors {
    display: grid;
    padding: 3rem;
    width: 100%;
    height: 100%;
    grid-template-rows: auto auto auto 1fr;
    row-gap: 1rem;
    -moz-column-gap: 1.5rem;
    column-gap: 1.5rem;
    grid-template-columns: 1fr 240px;
}

.monitors__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    grid-column: 1/2;
}

.monitors__operators {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    grid-column: 1/2;
    grid-row: 2/3;
}

.monitors__operators-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.monitors__list {
    border: solid 1px #2D3340;
    border-radius: 8px;
    grid-column: 1/2;
    grid-row: 3/-1;
}

.monitors__sidebar {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    overflow-x: auto;
    gap: 0.5rem;
    display: flex;
    grid-row: 1/-1;
    grid-column: 2/-1;
    flex-direction: column;
}

@media screen and (max-width: 1199px) {
    .monitors .mobile-hidden {
        display: none;
    }
}

.footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 999;
    background: #1C2434;
    height: 4.625rem;;
}

.footer__nav {
    height: 100%;
}

.footer__menu {
    display: flex;
    height: 100%;
}

.footer__menu-item {
    flex: 1;
    padding: .5rem 0;
    text-align: center;
}

.footer__menu-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #E6EAEB;
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer__menu-item--current {
    background-color: #131A25;
}

.footer__menu-item--current .grey-icon {
    color: #3BD671;
}

@media screen and (min-width: 480px) {
    .footer {
        display: none;
    }
}

.members {
    padding: 3rem;
    gap: 1rem;
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    overflow: auto;
}

.members__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.members__table {
    margin: 0 auto;
    border: 1px solid #2D3340;
    border-radius: 8px;
    width: 100%;
    overflow: hidden;
    height: 100%;
}

.members__table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 151px;
    gap: 1rem;
    color: #72839E;
    font-size: 0.75rem;
    padding: 0 1.5rem;
}

.members__table-rows {
    height: 100%;
    max-height: calc(100vh - 350px);
    position: relative;
    overflow: auto;
}

@media screen and (max-width: 959px) {
    .members__table-header {
        grid-template-columns: 1fr 84px;
    }
}

.members__table-header .members__table-cell:last-of-type {
    justify-content: flex-end;
}

.members__table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 151px;
    padding: 0 24px;
    gap: 1rem;
    background-color: #1C2434;
    border-bottom: 1px solid #2D3340;
}

.members__table-row:last-of-type {
    border: none;
}

.members__table-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 1rem;
}

@media screen and (max-width: 959px) {
    .members__table-row {
        grid-template-columns: 1fr 84px;
    }
}

.members__table-row .members__table-cell:last-of-type {
    justify-content: flex-end;
    gap: 0.5rem;
}

.members__table-cell {
    padding: 0.625rem 0;
    color: #72839E;
    font-size: 0.8125rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.members__table-cell.warning {
    color: #F18C2A;
}

.members .member {
    padding: 0 1.5rem;
}

.members .member__cell {
    gap: 0.75rem;
    flex-shrink: 1;
    overflow: hidden;
}

.members .member__wrapper {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 100%;
}

.members .member__name {
    color: #E6EAEB;
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    transition: 0.2s;
}

.domain-row .member__name:hover {
    color: #fff;
    opacity: 1;
}

.members .member__mail {
    color: #72839E;
    font-size: 0.75rem;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
}

.members .member__badge {
    display: inline-block;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 0.125rem;
    font-weight: 700;
    font-size: 0.625rem;
    padding: 0 0.25rem;
}

.members .member__badge--green {
    background-color: #3BD671;
    color: #FFF;
}

.members .member__badge--gray {
    background-color: #4A5568;
    color: #FFF;
}

.members .info-row {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
}

@media screen and (max-width: 959px) {
    .members .sm-hidden {
        display: none;
    }
}

.ql-color-green {
    color: #3BD671;
}

.modal-overlay {
    display: none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.48);
    z-index: 10;
}

.modal-overlay.open {
    display: block;
}

.invitation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 28rem;
    width: 100%;
}

.invitation__header {
    padding: 1rem 1.5rem;
    text-align: center;
    background-color: #131A25;
    color: #E6EAEB;
    border-radius: 0.375rem 0.375rem 0 0;
}

.invitation__header p {
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 700;
}

.invitation__header p span {
    color: #3BD671;
}

.invitation__form {
    padding: 2rem 1.5rem;
    border-radius: 0 0 0.375rem 0.375rem;
    background-color: #1C2434;
    color: #E6EAEB;
}

.invitation__field-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.invitation__field-wrapper > .button {
    width: 5.25rem;
}

.invitation__label {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.invitation__label:last-child {
    margin-bottom: 0;
}

.invitation__description {
    color: #72839E;
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.invitation__divider {
    margin: 1.25rem 0;
    border-color: #2D3340;
    border-width: 0.75px;
}

.invitation__input {
    width: 100%;
}

.invitation__select {
    width: 100%;
}

.invitation__actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 0.5rem;
}

.invitation__hidden {
    display: none;
    padding-top: 1rem;
}

.invitation__hidden.open {
    display: block;
}

.invitation #closeInvitation {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
}

.pre-header {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background-color: #2D3340;
    font-size: 0.8125rem;
    padding: 0 1rem;
    text-align: center;
}

.pre-header a {
    color: #3BD671;
    text-decoration: underline;
}

.page {
    display: grid;
    grid-template-columns: auto 1fr;
    position: relative;
}

@media (max-width: 479px) {
    .page {
        grid-template-columns: 1fr;
    }
}

body {
    background-color: #131A25;
    color: #E6EAEB;
    font-family: "Roboto", sans-serif;
}

/* DNS Search Results */
.dns-results {
    margin-top: 1.5rem;
    border: 1px solid #2D3340;
    border-radius: 8px;
    background-color: #1C2434;
}

.dns-results__title {
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-bottom: 1px solid #2D3340;
}

.dns-results__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 20px;
}

.dns-results__error,
.dns-results__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #72839E;
    flex-direction: column;
    gap: 0.5rem;
}

.dns-results__table {
    width: 100%;
    position: relative;
    height: 100%;
    padding-bottom: 57px;
    max-height: 55vh;
    min-height: 40vh;
}

.dns-results__header {
    display: grid;
    grid-template-columns: 100px 1fr 1fr 100px 150px;
    background-color: #131A25;
    color: #72839E;
    font-size: 0.75rem;
    padding: 0.5rem 1.5rem;
}

.dns-results__empty-message {
    padding: 2rem;
    text-align: center;
    color: #72839E;
    width: 100%;
}

.dns-results__rows {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 482px);
}

.dns-results__row {
    display: grid;
    grid-template-columns: 100px 1fr 1fr 100px 150px;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #2D3340;
}

.dns-results__row:last-child {
    border-bottom: none;
}

.dns-results__cell {
    font-size: 0.8125rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dns-results__cell.actions_cell {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
}

.dns-results__cell .button {
    margin-right: 5px;
}

.dns-results__cell .button:last-child {
    margin-right: 0;
}


.invitation__switch {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.invitation__switch input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 16px;
    height: 16px;
    min-width: unset;
}

.invitation__switch label {
    font-size: 0.875rem;
    color: #E6EAEB;
}


.dns-results__row:hover {
    background-color: rgba(45, 51, 64, 0.5);
}

.dns-proxy-active {
    color: #3BD671;
    background-color: rgba(59, 214, 113, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}

.dns-proxy-inactive {
    color: #72839E;
    background-color: rgba(114, 131, 158, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}

.dns-results__header,
.dns-results__row {
    grid-template-columns: 120px 1fr 1fr 1fr 1fr 154px;
}


.invitation__saving {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    gap: 0.75rem;
    color: #E6EAEB;
}

.invitation__saving .animated-wrapper {
    display: inline-block;
}

@media (max-width: 1200px) {
    .dns-results__header,
    .dns-results__row {
        grid-template-columns: 80px 1fr 1fr 110px 80px 100px;
    }

    .dns-results__cell.sm-hidden {
        display: none;
    }
}

@media (max-width: 768px) {
    .dns-results__header,
    .dns-results__row {
        grid-template-columns: 80px 1fr 110px 100px;
    }

    .dns-results__cell.md-hidden {
        display: none;
    }
}

@keyframes fadeScaleAnimation {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    70% {
        opacity: 0;
        transform: scale(1.6);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}


@keyframes buttonPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .dns-results__header,
    .dns-results__row {
        grid-template-columns: 80px 1fr 1fr;
    }

    .dns-results__header > div:nth-child(4),
    .dns-results__header > div:nth-child(5),
    .dns-results__row > div:nth-child(4),
    .dns-results__row > div:nth-child(5) {
        display: none;
    }
}


@keyframes rowUpdate {
    0% {
        background-color: #1C2434;
    }
    50% {
        background-color: rgba(59, 214, 113, 0.2);
    }
    100% {
        background-color: #1C2434;
    }
}

.updated-row {
    animation: rowUpdate 2s ease;
}


@keyframes rowDelete {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

.deleting-row {
    animation: rowDelete 0.5s ease forwards;
}


.invitation__helper {
    font-size: 0.75rem;
    color: #72839E;
    margin-top: 0.25rem;
}

.dns-field-group {
    margin-bottom: 1rem;
}

.dns-field-group .invitation__field {
    margin-bottom: 0.75rem;
}

.dns-field-group .invitation__field:last-child {
    margin-bottom: 0;
}


.invitation__input.error {
    border-color: #DF484A;
}

.invitation__error-message {
    font-size: 0.75rem;
    color: #DF484A;
    margin-top: 0.25rem;
}

/* New styles */
.close-mw-icon {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
    transition: 0.2s;
}

.close-mw-icon:hover {
    opacity: 0.8;
}

.profile {
    padding: 1rem;
}

.profile__header {
    margin-bottom: 1rem;
}

.profile__form {
    padding: 2rem 1.5rem;
    border-radius: 0.375rem;
    background-color: #1C2434;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.profile__form-section {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.profile__form-row {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.profile__label {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.profile__input {
    height: 2.25rem;
    min-width: 2.25rem;
    padding: 0px 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.2;
    font-weight: 400;
    border-radius: 8px;
    background: #131A25;
    border: 1px solid #2D3340;
}

.profile__form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
}

/* Classes for forms messages */
.error-message {
    color: #DF484A;
}

.success-message {
    color: #3BD671;
}

.invitation__form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('/assets/images/kad.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 1rem;
    background-origin: content-box;
}

.no-data {
    grid-column: 5 / 1;
    text-align: left;
    padding: 2rem 0;
    color: #72839E;
    justify-content: flex-start !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.invitation__variables {
    background: #131a25;
    border-radius: 4px;
    margin-bottom: 12px;
    font-family: monospace;
    font-size: 13px;

    position: relative;
    overflow: hidden;
}

.invitation__variables-content {
    padding: 12px 12px 32px;
    max-height: 58px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.invitation__variables.is-open .invitation__variables-content {
    max-height: 1000px;
}

.invitation__variables-fade {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    pointer-events: none;

    mask: linear-gradient(transparent, black);
    backdrop-filter: blur(1px);
    transition: opacity 0.3s ease;
}

.invitation__variables.is-open .invitation__variables-fade {
    opacity: 0;
}

.invitation__variables span {
    color: #0066cc;
}

.show-variables {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.2s;
}

.invitation__variables.is-open .show-variables {
    transform: rotate(180deg);
}

.show-variables:hover {
    color: #fff;
}

form#deleteDomainForm button {
    width: 100%;
}