/* Notification composition shares admin controls, with a focused writing layout. */
.notification-composer {
    max-width: 1160px;
    margin-inline: auto;
    overflow: hidden;
}

.notification-composer .notification-composer__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 30px;
    border-bottom: 1px solid #e8edf4;
    background: #fff;
}

.notification-composer__mark {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 26px;
}

.notification-composer__header h2 {
    margin: 0 0 4px;
    color: #17243b;
    font-size: 21px;
    font-weight: 650;
    letter-spacing: -.025em;
}

.notification-composer__header p,
.notification-composer__delivery > p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.notification-composer__audience {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px 30px;
    border-bottom: 1px solid #e8edf4;
    background: #f8fafc;
}

.notification-composer__audience > i {
    flex: 0 0 auto;
    font-size: 25px;
    color: #64748b;
}

.notification-composer__audience > div {
    min-width: 0;
}

.notification-composer__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.notification-composer__audience p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.notification-composer__audience strong {
    color: #1e293b;
    font-weight: 650;
}

.notification-composer__recipient-email {
    margin-inline-start: 8px;
    color: #64748b;
}

.notification-composer .card-body {
    padding: 26px 30px 28px;
}

.notification-composer .form-group {
    margin-bottom: 24px;
}

.notification-composer fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.notification-composer fieldset legend {
    float: none;
    width: auto;
    margin: 0 0 12px;
    color: #334155;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
}

.notification-composer .notification-composer__channels {
    margin-bottom: 26px;
    padding-bottom: 26px;
    border-bottom: 1px solid #e8edf4;
}

.notification-composer__channel-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.notification-composer .notification-via {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    flex: 0 1 240px;
    min-width: 0;
    min-height: 78px;
    margin: 0;
    padding: 15px;
    border: 1px solid #dce3ee;
    border-radius: 12px;
    background: #fff;
    text-align: start;
    color: #334155;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.notification-composer .notification-via:hover {
    border-color: #93b4f9;
    background: #f8faff;
}

.notification-composer .notification-via:focus-visible {
    outline: 3px solid #bfdbfe;
    outline-offset: 3px;
}

.notification-composer .notification-via.active {
    border-color: #2563eb;
    background: #f5f9ff;
    box-shadow: 0 0 0 1px #2563eb;
}

.notification-composer__channel-icon {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    height: 36px;
    border-radius: 9px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 24px;
}

.notification-via.active .notification-composer__channel-icon {
    background: #e2edff;
    color: #2563eb;
}

.notification-composer__channel-copy {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.notification-composer__channel-copy > span {
    color: #1e293b;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
}

.notification-composer__channel-copy small {
    color: #64748b;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

.notification-composer__channel-check {
    display: grid;
    place-items: center;
    flex: 0 0 18px;
    height: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    color: transparent;
    font-size: 12px;
}

.notification-via.active .notification-composer__channel-check {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.notification-composer .notification-composer__delivery {
    margin-top: 2px;
    padding: 22px 20px 0;
    border: 1px solid #e8edf4;
    border-radius: 12px;
    background: #f8fafc;
}

.notification-composer .notification-composer__delivery legend {
    margin: 0 0 4px;
    padding: 0;
    font-size: 14px;
}

.notification-composer__delivery > p {
    margin-bottom: 20px;
    font-size: 12px;
}

.notification-composer__delivery .form-group {
    margin-bottom: 22px;
}

.notification-composer .notification-composer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 30px;
    border-top: 1px solid #e8edf4;
    background: #fff;
}

.notification-composer__footer > span {
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

.notification-composer__footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding-inline: 22px;
}

.notification-composer__footer .btn > i {
    font-size: 19px;
}

@media (max-width: 575px) {
    .notification-composer .notification-composer__header,
    .notification-composer .card-body,
    .notification-composer .notification-composer__footer,
    .notification-composer__audience {
        padding: 20px;
    }

    .notification-composer__header h2 {
        font-size: 19px;
    }

    .notification-composer .notification-via {
        flex-basis: 100%;
        min-height: 70px;
    }

    .notification-composer .notification-composer__delivery {
        padding-inline: 14px;
    }

    .notification-composer__footer .btn {
        width: 100%;
    }

    .notification-composer__recipient-email {
        display: block;
        margin-inline-start: 0;
    }
}
