/* How to point a domain at its website's server (Components/Pages/Domains/DomainSetupInstructions.razor): the
   nameservers or DNS records with their copy buttons, and the notes about email and other records. Follows the website
   builder's setup instructions (WebbuilderWeb css/Pages/Domains.css). */

.dsi-setup {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dsi-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--app-text);
    overflow-wrap: anywhere;
}

.dsi-records {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dsi-record {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 10px 10px 10px 16px;
    border: 1px solid var(--app-line);
    border-radius: 14px;
    background: var(--app-bg-soft);
}

.dsi-record-label {
    flex: 0 0 auto;
    min-width: 110px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--app-text-muted);
}

.dsi-record code {
    font-size: 13px;
    color: var(--app-text-strong);
    overflow-wrap: anywhere;
}

.dsi-record-value {
    flex: 1 1 auto;
    min-width: 0;
}

.dsi-record-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 2px 8px;
    border-radius: 8px;
    background: var(--app-accent-soft);
    font-size: 12px;
    font-weight: 700;
    color: var(--app-accent);
}

.dsi-record-arrow {
    color: var(--app-text-muted);
}

.dsi-copy {
    width: 34px;
    height: 34px;
    margin-left: auto;
    font-size: 16px;
}

/* A note about email or other DNS records */
.dsi-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--app-text);
}

.dsi-banner .bx {
    flex: none;
    margin-top: 2px;
    font-size: 18px;
}

.dsi-banner strong {
    font-weight: 600;
    color: var(--app-text-strong);
}

.dsi-banner-warn {
    background: var(--app-warning-soft);
}

.dsi-banner-warn .bx {
    color: var(--app-warning);
}

@media (max-width: 767.98px) {
    .dsi-record-label {
        min-width: 0;
        flex-basis: 100%;
    }
}
