/* body{
    margin-top: 50px;
    background-color: #f1f1f1;
} */

/* .nav-pills .nav-link.active, .nav-pills .show > .nav-link{
    background-color: #17A2B8;
} */
/* 
.notifications.dropdown-menu{
    top: 60px;
    right: 0px;
    left: unset;
    width: 460px;
    box-shadow: 0px 5px 7px -1px #c1c1c1;
    padding-bottom: 0px;
    padding: 0px;
}

.notifications.dropdown-menu:before{
    content: "";
    position: absolute;
    top: -20px;
    right: 12px;
    border:10px solid #343A40;
    border-color: transparent transparent #969696 transparent;
} */

/* .footer{
    padding:5px 15px;
    border-radius: 0px 0px 3px 3px;
}

.notification-box{
    padding: 10px 0px;
}

.bg-gray{
    background-color: #eee;
} */

/* .notifications.modal {
    position: absolute;
    top: 10px;
    right: 100px;
    bottom: 0;
    left: 0;
    z-index: 10040;
    overflow: auto;
    overflow-y: auto;
 } */

div.alert_list{
    /* font-size: 11px; color:grey */
    max-height: 50vh;
    /* width: 1000px !important; */
    /* text-align: left !important; */
    overflow-y: scroll;
    padding: 0.85rem 1rem 0.5rem;
 }

 #notifications_body{
    /* font-size: 11px; color:grey */
    max-height: 50vh;
    width: 100%;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
 }

#notifications_bell {
  position: relative;
  display: inline-flex;
  align-items: center;
}

#notifications_bell img {
  display: block;
}

#notifications_badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 18px;
  line-height: 16px;
  font-size: 0.65rem;
  padding: 0 4px;
}

#notifications_badge_menu {
  margin-left: 6px;
  font-size: 0.7rem;
  vertical-align: middle;
}

.tippy-box {
    background-color: #ffffff;
    border: 1px solid #a8a8a8;
    /* margin-top: 5px; */
    /* border-radius: 25px; */
    color: black;
    max-width: 100% !important;
    width: 50vh !important;    
}

.tippy-arrow {
    top: -2px !important;
}
 
.popover{
    max-width: 100% !important;
    width: 50vh !important;
}

.ajust_top {
    position: relative;
    top: 4px !important;
    font-size: 13px;
}

.notification-message-content {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.notification-message-content img {
    display: block;
    width: 100% !important;
    max-width: 260px !important;
    height: auto !important;
    margin: 0.5rem auto;
    border-radius: 0.5rem;
    object-fit: contain;
}

.notifications_table tbody tr {
    display: block;
    width: 100%;
    margin: 0 0 20px;
}

.notifications_table tbody td {
    display: block;
    width: 100%;
    padding: 0;
    border-top: none;
    border-right: none !important;
}

.notifications_table thead {
    display: none;
}

#notifications_table {
    border: none !important;
}

#notifications_table tbody tr,
#notifications_table tbody td {
    border: none !important;
}

.notification-card-column {
    padding: 0 0 1rem !important;
}

.notification-card {
    position: relative;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 18px;
    background: linear-gradient(135deg,#ffffff 0%,#f8fafc 100%);
    padding: 0.85rem 1rem 1rem 1.15rem;
    box-shadow: 0 12px 30px rgba(15,23,42,0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.notification-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 35px rgba(15,23,42,0.12);
}

.notification-card--unread {
    border-color: rgba(37,99,235,0.35);
    box-shadow: 0 16px 38px rgba(59,130,246,0.18);
}

.notification-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.85rem;
    flex-wrap: nowrap;
}

.notification-card__header-main {
    flex: 1;
    min-width: 0;
}

.notification-card__header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.notification-card::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: -1px;
    width: 9px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    opacity: 0.45;
    transition: opacity 0.2s ease, background 0.2s ease;
    background: linear-gradient(180deg,#93c5fd,#2563eb);
}

.notification-card--unread::before {
     opacity: 1;
     background: linear-gradient(180deg,#fcd34d,#f97316);
 }

.notification-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #0f172a;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.notification-card__meta {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.notification-card__badge {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(34,197,94,0.12);
    color: #15803d;
}

.notification-card__body {
    margin-top: 0.65rem;
    font-size: 0.91rem;
    line-height: 1.4;
    color: #334155;
}

.notification-card__close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(148,163,184,0.2);
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.notification-card__close:hover {
    background: rgba(59,130,246,0.25);
    color: #1d4ed8;
    transform: scale(1.05);
}

.notification-card__image-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
}

.notification-card__push-image {
    margin-top: 0.75rem;
}

.notification-card__push-image .push-image-attachment {
    max-width: 260px;
    width: 100%;
    margin: 0.5rem auto 0;
}

.notification-card__push-image .push-image-attachment img {
    display: block;
    width: 100% !important;
    max-width: 260px !important;
    height: auto !important;
    margin: 0 auto;
}

.notification-card__actions {
    margin-top: 0.85rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.notification-card__actions .btn {
    min-width: auto;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-width: 1px;
}

.notification-card__actions .btn-outline-danger,
.notification-card__actions .btn-outline-primary {
    border-color: rgba(148,163,184,0.4);
    color: #0f172a;
    background-color: rgba(248,250,252,0.3);
}

.notification-card__actions .btn-outline-danger {
    border-color: rgba(248,113,113,0.45);
    color: #b91c1c;
    background-color: rgba(254,226,226,0.35);
}

.notification-card__actions .btn-outline-danger:hover,
.notification-card__actions .btn-outline-primary:hover {
    border-color: rgba(37,99,235,0.4);
    color: #1d4ed8;
    background-color: rgba(219,234,254,0.5);
}

.notification-card__actions .btn-outline-danger:hover {
    border-color: rgba(239,68,68,0.75);
    color: #991b1b;
    background-color: rgba(254,226,226,0.85);
}

.notification-card__footer {
    margin-top: 0.65rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

.notification-card__footer a {
    color: #2563eb;
    font-weight: 600;
}

.nav-notification-card {
    margin-bottom: 0.75rem;
    padding-right: 1.65rem;
    cursor: default;
    margin-top: 0.5rem;
    box-shadow: 0 8px 20px rgba(15,23,42,0.08);
}

.nav-notification-card .notification-card__badge {
    background: rgba(248,180,0,0.18);
    color: #b45309;
}

.nav-notification-card:last-child {
    margin-bottom: 0;
}

.nav-notification-card:first-child {
    margin-top: 0;
}

.nav-notification-footer {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

.nav-notification-footer a {
    color: #1d4ed8;
}

.notification-card--focused {
    box-shadow: 0 0 0 3px rgba(59,130,246,0.25), 0 16px 40px rgba(37,99,235,0.25);
    animation: notification-focus-pulse 1s ease-in-out 2;
}

@keyframes notification-focus-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

.story-notification {
    display: flex;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}

.story-notification__thumb {
    width: 96px;
    background-size: cover;
    background-position: center;
    background-color: #f2f2f2;
}

.story-notification__content {
    padding: 0.75rem;
    flex: 1;
}

.story-notification__caption {
    font-size: 0.95rem;
    color: #4a4a4a;
}

@media (max-width: 768px) {
    .notification-card {
        padding: 0.75rem 0.85rem 0.85rem;
    }

    .notification-card__header {
        flex-direction: row;
        align-items: flex-start;
    }

    .notification-card__header-main {
        min-width: 0;
    }

    .notification-card__header-actions {
        flex-shrink: 0;
    }

    .notification-card__actions {
        width: 100%;
        justify-content: space-between;
    }
}

.push-image-attachment {
    max-width: 260px;
    width: 100%;
    margin: 0.5rem auto;
}

.push-image-attachment img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 800px) {
    .popover{
        max-width: 100% !important;
        width: 100vh !important;
    }

    .tippy-box{
        max-width: 100% !important;
        width: 100vh !important;
    }    
}
 
 /* li.alert_li {
   font-size: 11px; 
   color:grey;
   padding:10px 0px 2px 0px;
   border-bottom: thin solid #c0c0c0;
 }
 
 li.alert_li:hover {
    background-color:#eee
 }
 
 .turn_off_alert{
    float:right;margin-bottom :1px
 }
 
 a.alert_message{
    color : grey
 }
 
 a.alert_message:hover{
    color : grey
 }  */
.nav-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.nav-notification-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-notification-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.nav-notification-actions .btn {
    border-radius: 999px;
    font-size: 0.8rem;
    padding: 0.25rem 0.8rem;
    border: 1px solid rgba(148,163,184,0.4);
    background: rgba(248,250,252,0.9);
    color: #0f172a;
}

.nav-notification-actions .btn:hover {
    border-color: rgba(37,99,235,0.45);
    color: #1d4ed8;
    background: rgba(219,234,254,0.6);
}

.notifications-toolbar {
    gap: 0.75rem;
}

.notifications-toolbar__actions .btn {
    min-width: 150px;
}
.notifications-toolbar__actions .btn + .btn {
    margin-left: 0.5rem;
}

.notifications-toolbar .dataTables_filter {
    margin: 0;
}

.notifications-toolbar .dataTables_filter label {
    font-weight: 600;
    color: #475569;
}

.notifications-toolbar .dataTables_filter input {
    max-width: 260px;
}
