﻿/* Modal Overlay */
#modal {
    display: none; /* Set to flex when opening */
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: auto;
}

/* Modal Content */
#modalContent {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    /* Auto width */
    width: fit-content;
    /* Limits */
    min-width: 300px;
    max-width: 90vw;
    /* Height handling */
    max-height: 85vh;
    overflow-y: auto;
    /* Nice shadow */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

    /* All text inside modal */
    #modalContent,
    #modalContent * {
        font-size: 14px;
    }

        /* Links */
        #modalContent a {
            color: #007bff;
            text-decoration: none;
        }

            #modalContent a:hover {
                text-decoration: underline;
            }

/* Close Button */
#closeBtn {
    margin-top: 15px;
    background: #444;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

    #closeBtn:hover {
        background: #333;
    }

#pkgnote > * {
    font-size: 15px;
}

#pkgnote {
    background-color: #ffff99 !important;
    text-transform: none;
    text-align: left;
    padding: 10px;
    font-size: 15px;
}

.blink {
    animation: blink 2s infinite;
    text-transform: none;
    text-align: left;
    display: inline;
}


@keyframes blink {
    0%, 100% {
        background-color: orange;
    }

    50% {
        background-color: transparent;
    }
}
