body.modal-open {
    overflow: hidden !important;
    height: 100vh;
}

.premium-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11000;
    padding: 20px;
    animation: premiumOverlayFade 0.4s ease;
}

@keyframes premiumOverlayFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.premium-notification-window {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 2px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: premiumWindowSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes premiumWindowSlide {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.premium-header {
    padding: 24px 32px;
    background: white;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bell-icon {
    font-size: 1.8rem;
    animation: bellShake 2s infinite ease-in-out;
}

@keyframes bellShake {

    0%,
    100% {
        transform: rotate(0);
    }

    10%,
    30%,
    50%,
    70% {
        transform: rotate(10deg);
    }

    20%,
    40%,
    60% {
        transform: rotate(-10deg);
    }

    80% {
        transform: rotate(0);
    }
}

.premium-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.premium-close {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-close img {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

.premium-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.premium-body {
    padding: 16px 32px 32px;
    overflow-y: auto;
    background: #f8fafc;
}

.notification-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notification-card {
    background: white;
    border-radius: 2px;
    padding: 20px;
    display: flex;
    gap: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.notification-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.card-icon img {
    width: 28px;
    height: 28px;
}

.type-new_offer .card-icon {
    background: #ecfdf5;
    color: #059669;
}

.type-new_request .card-icon {
    background: #eff6ff;
    color: #2563eb;
}

.type-rejected_request .card-icon {
    background: #fff1f2;
    color: #e11d48;
}

.notification-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    border-radius: 0 2px 2px 0;
}

.type-new_offer::before {
    background: #10b981;
}

.type-new_request::before {
    background: #3b82f6;
}

.type-rejected_request::before {
    background: #ef4444;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    /* Important for text truncation */
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.card-date {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.card-title a:hover {
    color: #2563eb;
}

.card-footer-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.premium-snooze-box {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 6px 6px 6px 14px;
    border-radius: 2px;
    gap: 10px;
    border: 1px solid #e2e8f0;
}

.snooze-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.premium-date-input {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    background: white;
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 600;
    outline: none;
    border-radius: 2px;
    transition: border-color 0.2s;
}

.premium-date-input:focus {
    border-color: #3b82f6;
}

.premium-snooze-btn {
    background: #1e293b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-snooze-btn:hover {
    background: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.premium-snooze-btn:active {
    transform: translateY(0);
}

/* Scrollbar styling */
.premium-body::-webkit-scrollbar {
    width: 6px;
}

.premium-body::-webkit-scrollbar-track {
    background: transparent;
}

.premium-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

@media (max-width: 600px) {
    .card-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .premium-snooze-box {
        width: 100%;
    }

    .premium-date-input {
        flex-grow: 1;
    }
}

/* Custom Alert/Confirm Modals */
.snooze-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 12000;
    padding: 20px;
}

.snooze-modal-window {
    background: white;
    border-radius: 2px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 450px;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    animation: premiumWindowSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.snooze-modal-header {
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
}

.snooze-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.snooze-modal-body {
    padding: 24px;
    color: #334155;
    font-size: 1rem;
    line-height: 1.5;
}

.snooze-modal-footer {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.snooze-modal-btn {
    padding: 8px 16px;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.snooze-modal-btn-primary {
    background: #1e293b;
    color: white;
    border: none;
}

.snooze-modal-btn-primary:hover {
    background: #0f172a;
}

.snooze-modal-btn-secondary {
    background: white;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.snooze-modal-btn-secondary:hover {
    background: #f1f5f9;
    color: #0f172a;
}