/**
 * Najibul Notification System - Mobile Native Heads-Up Push Banner
 * Replicates Android/iOS Top Status Bar Push Notifications
 */

.najibul-headsup-banner {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 450px;
    z-index: 100000000;
    transition: top 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.najibul-headsup-banner.visible {
    top: 12px;
    opacity: 1;
    pointer-events: auto;
}

.najibul-headsup-inner {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border-radius: 28px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(16px);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease;
}

.najibul-headsup-inner:active {
    transform: scale(0.98);
}

/* Left App Icon */
.najibul-headsup-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.najibul-headsup-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text Content */
.najibul-headsup-text {
    flex: 1;
    min-width: 0;
}

.najibul-headsup-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.najibul-headsup-body {
    font-size: 12px;
    color: #475569;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

/* Action Button (Matches Jio banner style) */
.najibul-headsup-action {
    background: #0284c7;
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.1s ease;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.najibul-headsup-action:hover {
    background: #0369a1;
}

.najibul-headsup-action:active {
    transform: scale(0.95);
}

/* Close Button */
.najibul-headsup-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    border-radius: 50%;
    flex-shrink: 0;
}

.najibul-headsup-close:hover {
    color: #0f172a;
}
