/* =========================================================
   GMD Conditions Popup
========================================================= */

/* Hidden by default */
#gmd-conditions-modal {
    display: none;
}

/* Show popup */
#gmd-conditions-modal.active {
    display: block;
}

/* Overlay */
.gmd-conditions-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
}

/* Popup Box */
.gmd-conditions-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;

    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);

    z-index: 9999;
}

/* Close Button */
.gmd-conditions-close {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 36px;
    height: 36px;

    border: none;
    background: transparent;

    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

/* Link */
.gmd-conditions-link,
.gmd-open-conditions {
    color: #0074FD;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

/* Optional inline popup content */
.gmd-conditions-popup {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 6px;
}

.gmd-conditions-popup ul {
    margin: 0;
    padding-left: 20px;
}