.dns-settings {
    position: relative;

    min-height: 120px;
}

.dns-settings__intro {
    margin-bottom: 18px;

    font-size: .9em;
    font-style: italic;
}

.dns-settings_unavailable {
    font-style: italic;
}

.dns-settings__placeholder {
    display: none;

    color: rgba(0, 0, 0, .3);
    background: rgba(0, 0, 0, .03);
}

.dns-settings_empty .dns-settings__placeholder {
    display: block;
}

.dns-settings__actions {
    margin-top: 24px;
}

.dns-settings__actions .control + .control {
    margin-left: 24px;
}

.dns-settings__warning {
    margin-bottom: 24px;
    padding: 8px 20px;

    font-size: .9em;

    color: rgba(0, 0, 0, .8);
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 4px;
    background: rgba(0, 0, 0, .02);
}

.dns-settings__table-container {
    position: relative;
}

.dns-settings_empty .dns-settings__table-container {
    display: none;
}

.dns-settings__table {
    width: 100%;
    margin: 0;

    border-collapse: collapse;

    border: none;
}

.dns-settings__table .table__cell {
    box-sizing: border-box;
    max-width: 360px;
    padding: .5rem 1rem;

    vertical-align: top;
    word-wrap: break-word;
    word-break: break-all;
}

.dns-settings__thead-tr .table__cell {
    padding-top: 0;

    font-size: .9em;
    font-weight: 500;
}

.dns-settings__table .table__cell:first-child {
    padding-left: 25px;
}

.dns-settings__table .table__cell:last-child {
    padding-right: 25px;

    text-align: right;
}

.dns-settings__tbody-tr:nth-child(2n) .table__cell {
    background: rgba(0, 0, 0, .01);
}

.dns-settings__tbody-tr:nth-child(2n + 1) .table__cell {
    background: rgba(0, 0, 0, .03);
}

.dns-settings__record-action {
    display: inline-block;
    visibility: hidden;

    opacity: .5;
}

.dns-settings__record-action + .dns-settings__record-action {
    margin-left: 1.2em;
}

.dns-settings__record-action .icon {
    width: 1em;
}

.dns-settings__tbody-tr:hover .table__cell {
    background: #fff1c8;
}

.dns-settings__tbody-tr:hover .dns-settings__record-action {
    visibility: visible;
}
