.popup-modal-overlay {
	position: fixed;
	top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.6);
	display: flex; align-items: center; justify-content: center;
	z-index: 99999;
}
.popup-modal-content {
    box-sizing: border-box;
	background: #fff; 
    padding: 30px 5px; 
    border-radius: 8px;
	max-width: 500px; width: 90%; position: relative;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	max-height: calc(100vh - 20px);
	display: flex;
	flex-direction: column;
}
.popup-modal-conten__inner {
	overflow-y: auto;
	min-height: 0;
	flex: 1 1 auto;
    padding-left: 25px;
    padding-right: 25px;
}
.popup-modal-close {
	position: absolute; top: 10px; right: 15px;
	font-size: 24px; cursor: pointer;
}

.popup-modal-actions {
    margin-top: 20px;
    text-align: right; /* Aligns the link to the right side of the modal */
    border-top: 1px solid #97a2ac;
}

#popup-dismiss-forever.popup-btn-secondary {
    /* Reset default button appearance completely */
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Style as a plain text link */
    color: #97a2ac; /* Standard link blue color (change to match your theme) */
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.15s ease-in-out;
}

#popup-dismiss-forever.popup-btn-secondary:hover {
    color: #004499; /* Darker blue on hover */
    text-decoration: none; /* Removes underline on hover */
}

#popup-dismiss-forever.popup-btn-secondary:focus {
    color: #004499;
    outline: 1px dashed #0066cc; /* Clean focus indicator for accessibility */
    outline-offset: 2px;
}

.popup-modal-overlay .popup-modal-close {
    margin-top: -18px;
    margin-right: -6px;
}