﻿p.UpgradeMessage {
    margin-top: 15pt; /* for X button */
    margin-right: 16.8pt;
    margin-bottom: 0pt;
    margin-left: 14.9pt;
    line-height: 152%;
    font-size: 11.0pt;
    font-family: "Aptos",sans-serif;
    color: #626262;
}

/* Center the div on the page */
#firstLoadMessage {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8); /* Slightly scaled down for animation ; Center it */
    z-index: 9999; /* On top of all elements */
    background: #f9f9f9;
    border: 2px solid #000;
    padding: 20px;
    width: 50%; /* Adjust width as needed */
    max-height: 80vh; /* Maximum height as 80% of the viewport height */
    overflow-y: auto; /* Add vertical scrollbar if content exceeds max-height */
    overflow-x: hidden; /* Disable horizontal scrolling */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    box-sizing: border-box; /* Ensures padding is included in the overall dimensions */
    opacity: 0; /* Fully transparent initially */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth fade and scale */
}

/* Visible state of the div (for fade-in and expand effect) */
#firstLoadMessage.open {
    display: block; /* Make it visible */
    opacity: 1; /* Fully visible */
    transform: translate(-50%, -50%) scale(1); /* Scaled to normal size */
}

/* Style for the close button "X" in the upper right corner */
.close-x {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ba0000;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

/* Close button inside the div */
.close-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Hover effect */
.close-btn:hover, .close-x:hover {
    opacity: 0.8;
}
