/* frontend-styles.css */

/* Reset basic margins and paddings */
.wpun-notification-content p,
.wpun-notification-content ol,
.wpun-notification-content ul,
.wpun-notification-content li,
.wpun-notification-content br {
    margin: 0;
    padding: 0;
}

/* Custom margin and padding for specific elements */
.wpun-notification-content p {
    margin-bottom: 4px; /* Smaller space between paragraphs */
    line-height: 2em; /* Compact line height */
}

.wpun-notification-content li {
    margin-bottom: 4px; /* Smaller space between list items */
    line-height: 1.1em; /* Compact line height */
}

.wpun-notification-content ol,
.wpun-notification-content ul {
    padding-left: 20px; /* Ensure consistent padding for lists */
    margin-bottom: 6px; /* Adjust space after lists */
}

.wpun-notification-content br {
    display: block;
    line-height: 2px; /* Reduced space for line breaks */
    content: "";
}

/* Other existing styles remain unchanged */
.wpun-notification-icon {
    position: relative;
    cursor: pointer;
    display: inline-block;
    font-size: 24px;
    color: #333;
}

.wpun-notification-count {
    position: absolute;
    padding: 0 3px;
    background: red;
    color: white;
    border-radius: 12%;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}

.wpun-modal {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.wpun-modal-content {
    padding: 0;
}

.wpun-modal-title {
    margin: 55px 0 20px 0;
    font-size: 20px;
    color: #333;
    text-align: center;
    font-weight: 600;
}

.wpun-notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpun-no-notifications {
    text-align: center;
    padding: 20px 0;
    color: #666;
    font-size: 16px;
}

.wpun-notification-bubble {
    margin-bottom: 10px;
    background-color: #f9f9f9;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    border-radius: 0px;
    opacity: 1;
}

.wpun-notification-bubble:hover {
    background-color: #f1f1f1;
}

.wpun-notification-content {
    padding: 15px;
}

.wpun-notification-content h4 {
    margin: 0 0 5px;
    font-size: 18px;
    color: #333;
}

.wpun-notification-content small {
    font-size: 12px;
    color: #999;
}

.wpun-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px 15px;
    border-top: 1px solid #eee;
}

.wpun-actions button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    padding: 5px;
    border-radius: 3px;
    transition: background 0.3s ease;
    outline: none;
}

.wpun-mark-read {
    color: #1e90ff !important;
}

.wpun-mark-read:hover {
    background: rgba(30, 144, 255, 0.7);
    color: #1e90ff !important;
}

.wpun-delete {
    color: #ff1493;
}

.wpun-delete:hover {
    background: rgba(255, 20, 147, 0.1);
    color: #ff1493;
}

.wpun-notification-content a {
    color: #1e90ff;
    text-decoration: underline;
}

.wpun-notification-content a:hover {
    color: #1e90ff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .wpun-notification-bubble {
        padding: 3px;
    }

    .wpun-modal-title {
        margin: 65px 0 20px 0;
    }

    .wpun-notification-content h4 {
        font-size: 16px;
    }

    .wpun-notification-content p {
        font-size: 14px;
    }

    .wpun-actions button {
        font-size: 12px;
    }
}
