 /* Basic styles for the popup */
 .renotify-popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.renotify-popup-content {
    background-color: #fff;
    margin: auto;
	height: min-content;
/*     padding: 20px; */
/*     height: 50vh; */
    position: relative;
}
.popup-content{
	z-index:1;
}
.renotify-popup-content.grid{
    grid-template-columns: 1fr;
/*     width: 50rem; */
	left: 0;
	right: 0;
}

.renotify-popup-content.background{
	min-height: 10rem;
}

.renotify-popup-content.background.grid {
    background-position: center;
    height:unset;
    background-size: cover;
	grid-template-columns: 1fr!important;
}

.renotify-popup-content .renotify-popup-title{
    text-align: center;
}
.renotify-popup-content.grid .right{
    order: 2;
}
.renotify-popup-content.grid .left{
    order: 1;
}

.popup-image{
	height:100%;
}

.renotify-popup-content img.renotify-popup-img {
    user-select: none;
    pointer-events: none;
    width: 100%;
    height: 100%;
/* 	max-height: 50vh; */
}

.renotify-popup-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.563rem;
    height: 1.563rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    background: #f2f2f2;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: none;
    outline: none;
    position: absolute; /* Optional: position it in a corner */
    top: 0.625rem;
    right: 0.625rem;
    z-index: 10;
}

.renotify-popup-close:hover,
.renotify-popup-close:focus {
    background: #e0e0e0;
    color: #d32f2f;
    box-shadow: 0 2px 8px rgba(211,47,47,0.15);
}

.popup-btn.right{
	text-align: right;
}

.popup-btn {
    text-align: center;
	margin-top: 2.5rem;
}

.popup-btn.left{
	margin-left: 0;
}

.popup-btn.right{
	margin-right: 0;
}
	
.popup-btn .popup-action-button {
/*     text-decoration: none;
    padding: 0.625rem 1.25rem;
	cursor:pointer; */
}

.popup-btn .popup-action-button.outline{
/* 	background: transparent !important;
    border: 0.063rem solid; */
}

.popup-btn{
	border-radius: 0px;
/*     color: rgb(255, 215, 0); */
    font-size: 14pt;
    border: 0.063rem solid;
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    cursor: pointer;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}

.popup-btn.outline {
    background: transparent !important;
    border: 0.063rem solid;
}

.popup-action-button.link{
	background: transparent !important;
    border: none;
    text-decoration: underline;
    color: #1a1a1a;
    padding: 0;
}

.renotify-popup-content.image-only-popup, .renotify-popup-content.background{
	margin: auto;
}

.renotify-popup .renotify-popup-content.left .popup-content {
	order: 2;
}

.renotify-popup .renotify-popup-content.right .popup-image {
	order: 2;
}

.popup-image a{
	display: flex;
}

.renotify-popup .renotify-popup-content.grid.top, .renotify-popup .renotify-popup-content.grid.bottom {
	grid-template-columns: 1fr!important;
	margin: auto;
}

.renotify-popup .renotify-popup-content.grid.top .popup-content {
	order: 2;
}

.renotify-popup-content{
/* 	gap: 1.25rem; */
	overflow-wrap: anywhere;
}

.renotify-popup-content.grid{
	width: 18.75rem;
}
.renotify-popup-content.grid img{
/* 	width: fit-content; */
}
@media screen and (min-width: 768px){
	.renotify-popup-content.grid{
		width: 31rem;
	    grid-template-columns: 1fr 1fr!important;
		align-items: center;
}
}
@media screen and (min-width: 782px){
	
.renotify-popup-content.grid{
    display: grid;
    grid-template-columns: 1fr;
    width: 38rem;
/*     height: min-content; */
	align-items: center;
	left: unset;
	right: unset;
}
	
	.renotify-popup-content.grid img.renotify-popup-img{
		width: 100%;
	}
	.renotify-popup-content.left .popup-image, .renotify-popup-content.right .popup-image {
		display:flex;
	}
.renotify-popup-content.grid.top, .renotify-popup-content.grid.bottom{
	max-width: 20rem;
}

}

@media screen and (min-width: 992px){
	
.renotify-popup-content.grid{
/*     grid-template-columns: 1fr; */
    width: 50rem;
	grid-template-columns: 1fr 1fr;
}
	
.renotify-popup-content.grid.top, .renotify-popup-content.grid.bottom{
	max-width: 30rem;
}
}

@supports (-webkit-touch-callout: none) { 
	.popup-image {
		height: 100%;
	}
	.renotify-popup-content{
/* 		height: unset!important; */
	}
}