/* Notification design */
body.no-scroll {
    overflow: hidden !important;
}

/* wrapper */
.notif-item {
    position: relative;
}

/* bell icon */
.notif-bell {
    font-size: 20px;
    color: #fff;
    /* navbar white icon */
    transition: 0.2s;
}

/* red notification badge */
.notif-badge {
    position: absolute;
    top: 3px;
    right: 0px;
    background: #ff3b30;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 2px;
    border-radius: 50%;
    line-height: 1;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* overlay */
#notifOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
}

/* right panel */
#notifPanel {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: 0.4s ease;
}

/* open class */
#notifPanel.open {
    right: 0;
}

/* header */
.notif-header {
    background: #0c83e2;
    color: #fff;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    position: relative;
}

#closeNotif {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* items */
.notif-body {
    padding: 15px;
}

.notif-item-row {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.notif-item-row:hover {
    background: #f5f5f5;
    cursor: pointer;
}

/* bell icon */
.notif-bell {
    font-size: 20px;
    color: #fff;
    transition: 0.2s;
}

.notif-bell:hover {
    color: #ffd700;
}

/* Panel Body Scroll */
.notif-body {
    padding: 0;
    height: calc(100% - 60px);
    overflow-y: auto;
}

/* Notification row */
.notif-row {
    display: flex;
    align-items: flex-start;
    padding: 15px 15px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    background: #fff;
    margin: 10px 0;
}

.notif-image-icon{
    width: 58px;
    height: 58px;
    border-radius: 50%;
    margin-right: 15px;
    overflow: hidden;
}

/* Profile Image */
.notif-img {
    width: 100%;
    height: auto;
    padding: 6px;
}

/* User name (blue bold) */
.notif-user {
    font-size: 15px;
    color: #0995e1;
    font-weight: 600;
    margin-bottom: 3px;
}

/* Message text */
.notif-msg {
    font-size: 13px;
    color: #555;
    margin-bottom: 2px;
}

/* Sub message */
.notif-sub {
    font-size: 13px;
    color: #777;
}

/* Time (right side) */
.notif-cancel {
    position: absolute;
    right: 12px;
    top: 3px;
    font-size: 21px;
    color: #999;
    font-weight: 800;
}

/* See all link */
.notif-see-all {
    display: block;
    text-align: center;
    padding: 15px;
    color: #00a0ff;
    font-weight: 600;
    text-decoration: none;
}

.notif-see-all:hover {
    text-decoration: underline;
}

.notif-msg {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 18px;
    color: #333;
}

span.total-notification {
    background: #ff3b30;
    color: #fff;
    font-size: 13px;
    padding: 11px;
    border-radius: 50%;
    font-weight: bold;
    width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* Notificvation all page section */

.all-notif-container {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
}

.notif-heading {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

/* FILTER BAR */
.notif-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.notif-control-area {
    display: flex;
    align-items: center;
}

.filter-label {
    margin-right: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.notif-sort-select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    min-width: 160px;
}


/* ITEM */
.all-notif-item {
    display: flex;
    align-items: flex-start;
    padding: 17px 21px;
    border-top: 1px solid #eee;
    position: relative;
    transition: background 0.2s;
    margin: 10px 0px;
}

/* .all-notif-item.unread {
    background: #eef6ff;
}

.all-notif-item.read {
    background: #f7f7f7;
} */

.all-notif-item:hover {
    background: #f0f4ff;
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 3px;
    color: #222;
}

.notif-message {
    font-size: 14px;
    color: #555;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
}
.notif-message.expanded, .notif-msg.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.notif-time {
    font-size: 13px;
    color: #4f4f4f;
}

/* ACTIONS (toggle + delete) */
.notif-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
}

.notif-toggle {
    font-size: 16px;
    cursor: pointer;
    color: #007bff;
    margin-bottom: 5px;
}

.notif-delete {
    font-size: 16px;
    cursor: pointer;
    color: #ff4747;
}

.notif-delete:hover {
    color: #d00000;
}

.sch-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f1f1;
}

.sch-card:nth-child(2) {
    background: #eef7ff;
}

.sch-left {
    width: 55px;
}

.sch-logo {
    width: 55px;
    height: auto;
    object-fit: contain;
}

.sch-right {
    flex: 1;
}

.sch-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
}

.sch-amount {
    font-size: 18px;
    font-weight: 700;
}

.sch-date {
    font-size: 13px;
    color: #444;
    margin-top: 5px;
}

.sch-date i {
    margin-right: 5px;
    color: #444;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
}

.notif-heading-with-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.title-status-align {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-status {
    margin-right: 10px;
}

.all-notif-item.unread {
    background: rgb(55 143 233/.2);
}

.notif-time-mobile, .mobile-notif-bell {
    display: none;
}

.all-notif-item.unread::before {
    content: "";
    background: #0094d3;
    padding: 4px;
    border-radius: 50px;
    position: absolute;
    top: 37px;
    left: 7px;
}

@media screen and (max-width: 768px) {
    .notif-filter-bar {
        display: block;
    }

    .notif-heading {
        margin-bottom: 10px;
    }

    .notif-image-icon{
        width: 38px;
        height: 38px;
        margin-right: 6px;
    }

    .notif-img {
        width: 100%;
        height: auto;
    }

    .notif-time-desktop {
        display: none;
    }

    .notif-time-mobile {
        display: block;
        margin-top: 8px;
    }
    .notif-badge{
        top: 0px;
        font-size: 11px;
    }

    .mobile-notif-bell {
        position: relative;
        left: 30px;
        top: 2px;
        display: block;
    }
    .mobile-notif-bell-desktop {
        display: none;
    }
    .all-notif-container{
        padding: 10px;
    }
    .all-notif-item{
        padding: 12px 0px 0px;
    }
    .all-notif-item.unread::before{
        top: 7px;
        left: auto;
        right: 7px;
    }
}

span.total-notification {
    background: #ff3b30;
    color: #fff;
    font-size: 13px;
    padding: 11px;
    border-radius: 50%;
    font-weight: bold;
    width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
#notifPanel .notif-row .notif-image-icon{
    width: 50%;
    height: 58px;
}