/* Create Network — matches cd-layout / add-server form density */

.page-create-network .cd-main .breadcrumb {
    margin-bottom: 14px;
}

.cn-guest-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 11px 16px;
    margin-bottom: 14px;
    background: var(--ac05);
    border: 1px solid var(--ac15);
    border-radius: 10px;
}
.cn-guest-banner p {
    margin: 0;
    font-size: 0.81rem;
    color: var(--text2);
    line-height: 1.45;
}
.cn-guest-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cn-card {
    padding: 18px 20px 20px;
}
.cn-card .alert {
    margin-bottom: 12px;
}

.cn-form .form-g {
    margin-bottom: 0;
}
.cn-form .form-g label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text2);
    margin-bottom: 7px;
}
.cn-form .cn-lbl-row label {
    margin-bottom: 0;
}
.cn-form input,
.cn-form textarea {
    width: 100%;
    box-sizing: border-box;
}

.cn-section {
    margin-bottom: 14px;
}
.cn-section:last-child {
    margin-bottom: 0;
}

.cn-lbl-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}
.cn-lbl-row label,
.cn-lbl-row .cn-lbl {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text2);
    margin: 0;
}
.cn-hint {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.cn-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}

/* Branding section (cards in branding-editor.css) */
.cn-branding {
    margin-bottom: 14px;
}

.cn-txt-toolbar {
    display: flex;
    gap: 0;
    background: var(--bg1);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}
.cn-txt-toolbar button {
    background: none;
    border: none;
    border-right: 1px solid var(--border);
    color: var(--muted);
    padding: 5px 10px;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: inherit;
}
.cn-txt-toolbar button:last-child {
    border-right: none;
}
.cn-txt-toolbar button:hover {
    color: var(--text);
    background: var(--bg3);
}
.cn-desc-ta {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    min-height: 88px;
    resize: vertical;
}

.cn-note {
    font-size: 0.74rem;
    color: var(--muted);
    margin: 14px 0 0;
    padding: 10px 12px;
    background: var(--bg1);
    border: 1px solid var(--border);
    border-radius: 8px;
    line-height: 1.45;
}

.cn-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.cn-actions .btn {
    flex: 1;
    justify-content: center;
    min-height: 40px;
}
.cn-actions .btn-s {
    flex: 0 0 auto;
    min-width: 100px;
}
.cn-submit-login {
    display: flex;
    flex: 1;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .cn-row-2 {
        grid-template-columns: 1fr;
    }
    .cn-card {
        padding: 14px;
    }
    .cn-actions {
        flex-direction: column;
    }
    .cn-actions .btn-s {
        flex: 1;
        min-width: 0;
    }
}
