/* ======== Common Popup & Overlay Styles ======== */

/* Demo, Server, and Domain Popups */
#demo-expiration-popup,
#demo-expiration-popup-expired,
#server-expiration-popup,
#server-expiration-popup-expired,
#domain-expiration-popup,
#domain-expiration-popup-expired {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 90%; /* Make popup responsive */
    background-color: #ffffff; /* White background */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Smooth shadow */
    border-radius: 12px; /* Rounded corners */
    padding: 30px;
    z-index: 10001; /* Ensure popups are on top */
    font-family: 'Poppins', sans-serif;
    display: none; /* Initially hidden */
    text-align: center; /* Center the content */
}

/* Full-screen overlays */
#demo-expiration-overlay,
#server-expiration-overlay,
#domain-expiration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 10000; /* Behind the popup */
    display: none; /* Initially hidden */
}

/* ======== Messages & Timers ======== */

#demo-expiration-message,
#demo-expiration-after-message,
#server-expiration-message,
#domain-expiration-message {
    font-size: 16px;
    color: #333; /* Dark text color */
    line-height: 1.5;
    margin-bottom: 20px; /* Space before timer */
}

#demo-expiration-timer,
#demo-expiration-popup-timer,
#server-expiration-timer,
#domain-expiration-timer {
    font-size: 20px;
    color: #e74c3c; /* Red timer text */
    font-weight: bold;
    margin-bottom: 20px;
}

/* ======== Buttons (If You Need Them) ======== */
#demo-expiration-popup button {
    background-color: #3498db; /* Blue button */
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
#demo-expiration-popup button:hover {
    background-color: #2980b9;
}

.demo-expiration-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c; /* Red background */
    color: #fff;               /* White 'X' text */
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50%;        /* Round shape */
    width: 30px;
    height: 30px;
    line-height: 30px;         /* Ensures 'X' is vertically centered */
    text-align: center;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* Slight shadow */
    transition: background-color 0.2s ease;
}

.demo-expiration-close-btn:hover {
    background-color: #c0392b; /* Slightly darker red on hover */
}


/* ======== Remove or Hide the Close Button (No Need Close Button) ======== */
/* If you want to remove the close button markup entirely, just delete it in the PHP/HTML.
   Otherwise, if it's still in the markup but you want it hidden: 
   .close-button { display: none !important; } 
*/
