﻿body.no-scroll {
    overflow: hidden;
}

.notification-container {
    position: fixed;
    top: 51px;
    right: 32px;
    z-index: 10005;
    padding: 10px;
}

/* Notification Card */
.notification-card {
    background-color: #444;
    color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    width: 100%;
    display: block;
    position: relative;
    word-wrap: break-word;
    box-sizing: border-box;
}

    /* Success and Error Colors */
    .notification-card.success {
        background-color: #14bb8cb8;
    }

    .notification-card.error {
        background-color: #ff000096;
    }

/* Close Button */
.close-btn {
    position: absolute;
    top: -12px;
    right: 8px;
    font-size: 24px;
    cursor: pointer;
    color: #fafdf4;
}

/* ✅ Responsive Design for Mobile */
@media (max-width: 576px) {
    .notification-container {
        top: auto;
        bottom: 20px;
        right: 20px;
        left: 20px;
        width: auto;
        display: flex;
        justify-content: center;
    }

    .notification-card {
        max-width: 100%;
        padding: 15px;
        font-size: 14px;
    }

    .close-btn {
        font-size: 20px;
        top: -10px;
        right: 5px;
    }
}
