.staff-notifications {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 18px 0;
    padding: 15px 16px;
    border: 1px solid #dce6f1;
    border-radius: 16px;
    background: #f7faff;
    text-align: left;
}

.staff-notifications-copy {
    min-width: 0;
}

.staff-notifications-copy strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 15px;
}

.staff-notifications-copy span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.staff-notifications-button {
    width: auto;
    min-width: 104px;
    min-height: 40px;
    margin: 0;
    padding: 9px 13px;
    border-radius: 11px;
    font-size: 13px;
    white-space: nowrap;
}

.staff-notifications.enabled {
    border-color: #c9ddf1;
    background: #edf5fc;
}

.staff-notifications.enabled .staff-notifications-button {
    border: 1px solid #c9ddf1;
    background: #ffffff;
    color: #205089;
    cursor: default;
}

.staff-notifications.denied {
    border-color: #ead7d4;
    background: #fff7f6;
}

.staff-notifications.denied .staff-notifications-button {
    border: 1px solid #ead7d4;
    background: #ffffff;
    color: #a33b32;
    cursor: default;
}

@media (max-width: 390px) {
    .staff-notifications {
        align-items: stretch;
        flex-direction: column;
    }

    .staff-notifications-button {
        width: 100%;
    }
}

/* Keep the notification card full-width inside employee dashboard */
#staff-notifications {
    width: 100%;
    min-width: 0;
    grid-column: 1 / -1;
}

#staff-notifications .staff-notifications-copy {
    flex: 1 1 auto;
    min-width: 0;
}

#staff-notifications .staff-notifications-button {
    flex: 0 0 auto;
}

@media (max-width: 420px) {
    #staff-notifications {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 12px;
    }

    #staff-notifications .staff-notifications-button {
        width: auto;
        min-width: 100px;
    }
}
