/* Shared feedback styling; existing conditions, dismissal and timeouts are retained. */
.admin-workspace .alert {
    position: relative;
    padding: 17px 20px 17px 65px;
    border: 1px solid #dce8e0;
    border-radius: 12px;
    background: #f7fbf8;
    color: #3e5d4b;
    box-shadow: none;
    font-size: 13px;
    line-height: 1.7;
}
.admin-workspace .alert::before {
    position: absolute;
    top: 15px;
    left: 18px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 17px;
    font-weight: 600;
}
.admin-workspace .alert-success::before { content: "✓"; background: #e6f0dc; color: var(--brand-green); }
.admin-workspace .alert-danger { background: #fff9f8; border-color: #f0dfdb; color: #924c43; }
.admin-workspace .alert-danger::before { content: "!"; background: #f9e7e3; color: #a94438; }
.admin-workspace .alert-warning { background: #fffdf6; border-color: #eee3c6; color: #806526; }
.admin-workspace .alert-warning::before { content: "!"; background: #faf0d6; color: #937021; }
.admin-workspace .alert-info { background: #f7fafc; border-color: #dce6ec; color: #42637a; }
.admin-workspace .alert-info::before { content: "i"; background: #e6eff6; color: #426880; }
.admin-workspace .alert strong { font-weight: 600; color: inherit; }
.admin-workspace .alert ul { padding-left: 18px; margin-top: 5px; }
.admin-workspace .alert-dismissible { padding-right: 57px; }
.admin-workspace .alert-dismissible .btn-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    padding: 8px;
    border-radius: 7px;
    background-color: #eaf2ed;
    opacity: .65;
}
.admin-workspace .alert-dismissible .btn-close:hover { opacity: 1; background-color: #dce9e1; }
/* notifIt lives directly under body, outside the admin content wrapper. */
#ui_notifIt {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: 76px;
    height: auto !important;
    max-width: calc(100vw - 32px);
    padding: 17px 36px 17px 66px !important;
    border: 1px solid #dce8e0;
    border-left: 3px solid var(--brand-green);
    border-radius: 13px;
    background: #fff !important;
    color: #385748 !important;
    box-shadow: 0 8px 32px #193c251a, 0 2px 6px #193c2509;
    text-align: left;
    cursor: pointer;
}
#ui_notifIt p {
    width: 100%;
    padding: 0;
    margin: 0;
    color: inherit !important;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6 !important;
    text-transform: none;
    text-align: left;
    overflow-wrap: anywhere;
}
#ui_notifIt::before {
    content: "✓";
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e6f0dc;
    color: var(--brand-green);
    font-size: 20px;
    font-weight: 600;
    pointer-events: none;
}
#ui_notifIt::after {
    content: "×";
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #83958b;
    font-size: 20px;
    line-height: 1;
    pointer-events: none;
}
#ui_notifIt .admin-toast-title { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 650; color: #294c38; }
#ui_notifIt .admin-toast-message { display: block; color: #718278; font-size: 12px; }
#ui_notifIt.error { border-color: #eddcd7; border-left-color: #bf6557; color: #934f44 !important; }
#ui_notifIt.error::before { content: "!"; background: #faece8; color: #ae5144; }
#ui_notifIt.warning { border-color: #eae0c7; border-left-color: #b69648; color: #82672d !important; }
#ui_notifIt.warning::before { content: "!"; background: #f8f0db; color: #987b32; }
#ui_notifIt.info { border-color: #dce6ec; border-left-color: #668fa9; color: #476d84 !important; }
#ui_notifIt.info::before { content: "i"; background: #eaf2f7; color: #4f7b94; }
#ui_notifIt:has(#notifIt_close)::after { content: none; }
#ui_notifIt #notifIt_close { right: 13px; top: 50%; transform: translateY(-50%); color: #83958b; font-size: 20px; }
#ui_notifIt:hover { box-shadow: 0 10px 35px #193c2524; }
@media (max-width: 575px) {
    .admin-workspace .alert { padding-block: 14px; padding-left: 59px; font-size: 12px; }
    .admin-workspace .alert::before { left: 14px; top: 13px; }
    #ui_notifIt { padding-left: 60px !important; }
    #ui_notifIt::before { left: 13px; }
}
