.popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.33); /* 33% černý overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.popup-box {
    background: #fff;
    padding: 30px 20px 30px 20px;
    border-radius: 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
    min-width: 300px;
    width: 100%;
    max-width: 500px;
    position: relative;
    border: 3px solid #33cdf2;
    color: #535353;
    font-family: inherit;
    text-align: center;

}

.popup-box p {
	color: #535353;
}

.popup-box .popup-title {
	color: #535353;
}

.popup-content a {
	color: #33cdf2;
	text-decoration: none;
	font-weight: bold;
	transition: color 0.2s;
}
.popup-content a:hover {
	color: #1a9ec6;
	text-decoration: underline;
}


.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #33cdf2;
    cursor: pointer;
    border: none;
    background: none;
    font-weight: bold;
    transition: color 0.2s;
}
.popup-close:hover {
    color: #1a9ec6;
}
.popup-btn-close {
    margin: 30px auto 0 auto;
    background: #33cdf2;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;

	font-family: "Barlow", sans-serif;
	display: inline-block;
	text-decoration: none;

	text-transform: inherit;
	font-weight: 700 !important;
	letter-spacing: 1px;
	padding: 10px 48px;
}
.popup-btn-close:hover {
    background: #1a9ec6;
}
@media (max-width: 500px) {
    .popup-box {
        min-width: 0;
        width: 98vw;
        max-width: 98vw;
        padding: 15px 10px 50px 10px;
    }
    .popup-btn-close {
        width: 90%;
        font-size: 16px;
    }
}
@media (min-width: 1200px) {
    .popup-box {
        max-width: 50vw;
    }
}
