/* =====================================================
   TNP NOTIFICATIONS
===================================================== */

.tnp-notifications-page {
    width: 100%;
}

/* =====================================================
   HEADER
===================================================== */

.tnp-notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 22px;
}

.tnp-notifications-heading h2 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
}

.tnp-notifications-heading p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.tnp-notifications-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    white-space: nowrap;
}

.tnp-notification-action {
    color: #333;
    font-size: 13px;
    text-decoration: underline;
    transition: color .2s ease;
}

.tnp-notification-action:hover {
    color: #0066cc;
}

.tnp-clear-read:hover {
    color: #d90000;
}

/* =====================================================
   UNREAD COUNT
===================================================== */

.tnp-notification-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    margin-bottom: 25px;
    border-radius: 8px;
    background: #f5f8fc;
    color: #555;
    font-size: 13px;
}

.tnp-notification-count strong {
    color: #d90000;
    font-size: 15px;
}

/* =====================================================
   GROUP
===================================================== */

.tnp-notification-group {
    margin-bottom: 35px;
}

.tnp-notification-group-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
}

.tnp-notification-group-title h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
}

.tnp-notification-status-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #e00000;
    display: inline-block;
}

.tnp-notification-read-icon {
    font-size: 17px;
    color: #333;
}

/* =====================================================
   NOTIFICATION LIST
===================================================== */

.tnp-notification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* =====================================================
   NOTIFICATION CARD
===================================================== */

.tnp-notification-card {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 18px 20px;
    box-sizing: border-box;

    border-radius: 12px;
    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.tnp-notification-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* =====================================================
   UNREAD
===================================================== */

.tnp-notification-unread {
    background: #ffffff;
    border: 1px solid #e6eaf0;
    box-shadow: 0 3px 12px rgba(0,0,0,.04);
}

.tnp-notification-unread:hover {
    border-color: #d8e3f2;
}

/* =====================================================
   READ
===================================================== */

.tnp-notification-read {
    background: #f8f8f8;
    border: 1px solid #eeeeee;
    opacity: .82;
}

.tnp-notification-read:hover {
    opacity: 1;
}

/* =====================================================
   ICON
===================================================== */

.tnp-notification-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #f1f5fa;

    font-size: 20px;
}

/* =====================================================
   CONTENT
===================================================== */

.tnp-notification-content {
    flex: 1;
    min-width: 0;
}

.tnp-notification-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.tnp-notification-title-row strong {
    color: #20242a;
    font-size: 14px;
}

.tnp-notification-content p {
    margin: 0 0 7px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.tnp-notification-time {
    display: block;
    color: #999;
    font-size: 11px;
}

/* =====================================================
   UNREAD DOT
===================================================== */

.tnp-unread-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e00000;
    display: inline-block;
}

/* =====================================================
   ARROW
===================================================== */

.tnp-notification-arrow {
    color: #999;
    font-size: 18px;
    transition: transform .2s ease;
}

.tnp-notification-card:hover .tnp-notification-arrow {
    transform: translateX(4px);
    color: #0066cc;
}

/* =====================================================
   EMPTY STATE
===================================================== */

.tnp-notifications-empty {
    padding: 60px 25px;
    text-align: center;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 14px;
}

.tnp-notifications-empty-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.tnp-notifications-empty h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.tnp-notifications-empty p {
    max-width: 500px;
    margin: 0 auto;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .tnp-notifications-header {
        flex-direction: column;
        gap: 15px;
    }

    .tnp-notifications-actions {
        flex-wrap: wrap;
    }

    .tnp-notifications-heading h2 {
        font-size: 23px;
    }

    .tnp-notification-card {
        padding: 14px;
        gap: 11px;
    }

    .tnp-notification-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 17px;
    }

    .tnp-notification-title-row strong {
        font-size: 13px;
    }

    .tnp-notification-content p {
        font-size: 12px;
    }

    .tnp-notification-arrow {
        display: none;
    }

}

@media (max-width: 480px) {

    .tnp-notifications-actions {
        width: 100%;
        justify-content: space-between;
    }

    .tnp-notification-card {
        align-items: flex-start;
    }

}