/* "Never miss an update" notification popup (#notifyModal) - joblayout.cshtml. */
.notify-modal-dialog { max-width: 340px; }
.notify-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15,23,42,0.35);
}
.notify-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255,255,255,0.22);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    transition: background .15s ease;
}
.notify-close-btn:hover { background: rgba(255,255,255,0.35); }
.notify-banner {
    background: linear-gradient(135deg, #4f46e5, #6366f1 55%, #8b5cf6);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.notify-banner::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -90px;
    right: -60px;
}
.notify-bell-wrap { position: relative; z-index: 1; }
.notify-bell-ring {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    animation: notifyPulse 2.2s ease-out infinite;
}
@keyframes notifyPulse {
    0% { transform: scale(0.6); opacity: .8; }
    100% { transform: scale(1.6); opacity: 0; }
}
.notify-bell-icon {
    position: relative;
    font-size: 50px;
    color: #fbbf24;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
    display: inline-block;
    animation: notifyRing 4s ease-in-out infinite;
    transform-origin: top center;
}
@keyframes notifyRing {
    0%, 6%, 100% { transform: rotate(0); }
    1% { transform: rotate(14deg); }
    2% { transform: rotate(-12deg); }
    3% { transform: rotate(9deg); }
    4% { transform: rotate(-6deg); }
    5% { transform: rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
    .notify-bell-ring { animation: none; }
    .notify-bell-icon { animation: none; }
}
.notify-badge {
    position: absolute;
    top: -6px;
    right: -12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.9);
    z-index: 2;
}
.notify-body { padding: 24px 24px 4px; text-align: center; }
.notify-title {
    font-weight: 800;
    font-size: 21px;
    line-height: 1.25;
    color: #1e293b;
    margin-bottom: 8px;
}
.notify-desc {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.5;
}
.notify-chips {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.notify-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--hover-bg, #eef2ff);
    color: var(--primary-color, #4f46e5);
    font-size: 11.5px;
    font-weight: 600;
}
.notify-footer {
    display: flex;
    margin: 0;
}
.notify-btn {
    flex: 1;
    border: none;
    padding: 15px 0;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s ease, background .15s ease;
}
.notify-btn-later { background: #f1f5f9; color: #475569; }
.notify-btn-later:hover { background: #e2e8f0; }
.notify-btn-allow {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.notify-btn-allow:hover { opacity: .93; }
.notify-btn-allow:disabled { opacity: 0.7; cursor: default; }
