﻿/* Unique container to scope modal CSS */
#uniqueModal * {
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
/* Modal overlay (covers the entire viewport) */
#uniqueModal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(240, 250, 255, 0.9); /* semi-transparent overlay */
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}
    /* Notification Container */
    #uniqueModal .notification-container {
        position: relative;
        max-width: 400px;
        width: 100%;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        padding: 20px 24px;
        text-align: center;
    }
    /* Close Button with Countdown */
    #uniqueModal .close-btn {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #f2f2f2;
        color: #333;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        cursor: pointer;
        transition: background 0.3s;
    }

        #uniqueModal .close-btn:hover {
            background: #e0e0e0;
        }
    /* Header Section */
    #uniqueModal .header-section {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
    }

        #uniqueModal .header-section img {
            width: 36px;
            height: 36px;
            margin-right: 8px;
        }

        #uniqueModal .header-section h2 {
            font-size: 20px;
            font-weight: 600;
            color: #333;
        }
    /* Notification Title */
    #uniqueModal .notification-title {
        font-size: 18px;
        font-weight: 600;
        color: #555;
        margin-bottom: 12px;
    }
    /* Message Box (Scrollable) */
    #uniqueModal .message-box {
        background: linear-gradient(135deg, #ffffff, #f7fcff);
        border: 1px solid #e0f0ff;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 20px;
        text-align: left;
        max-height: 350px;
        overflow-y: auto;
    }

        #uniqueModal .message-box p {
            line-height: 1.6;
            color: #444;
            margin-bottom: 8px;
        }

        #uniqueModal .message-box strong {
            color: #333;
        }
    /* Footer / "GO" Button */
    #uniqueModal .footer-section {
        margin-top: 12px;
    }

    #uniqueModal .btn-go {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding: 12px 0;
        border: none;
        border-radius: 24px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        color: #fff;
        background: linear-gradient(90deg, #4bc8ff, #ff66d8);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        text-decoration: none;
    }

        #uniqueModal .btn-go:hover {
            background: linear-gradient(90deg, #ff66d8, #4bc8ff);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        }
/* Responsive Design */
@media (max-width: 480px) {
    #uniqueModal .notification-container {
        margin: 0 10px;
        padding: 16px;
    }
}

