@font-face {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 100 900;
    src: url('https://fonts.gstatic.com/s/notoserif/v22/ga6Kaw1d3hkVQDzR9z1sEA.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Serif';
    font-style: italic;
    font-weight: 100 900;
    src: url('https://fonts.gstatic.com/s/notoserif/v22/ga6Maw1d3hkVQDxFIgJ9EA.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300 800;
    src: url('https://fonts.gstatic.com/s/opensans/v27/mem8YaGs126MiZpBA-UFUZ0e.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300 800;
    src: url('https://fonts.gstatic.com/s/opensans/v27/memnYaGs126MiZpBA-UFUKWy.woff2') format('woff2');
}


/* ===================
   Payment Plan Modal
   =================== */

/* Modal button styles */
#payment-plan-button {
    border: none;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
    align-items: center;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    width: max-content;
    margin-bottom: 5px; 
    margin-top: 5px;
}

/* Modal container */
#payment-plan-modal .notificationMessage{
    /* max-width: 75%; */
    text-align: left;
    font-size: 11px;
    line-height: 12px;
    max-width: 360px;
    color: black;
}
#payment-plan-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}
#payment-plan-modal .notificationMessage a {
    font-weight: bold;
    text-decoration: none;
}
/* Modal header styles */
#payment-plan-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: .33rem .5rem;
}

/* Modal body styles */
#payment-plan-modal .modal-body {
    padding: 10px 10px 0px 10px;
}

/* Modal footer styles */
#payment-plan-modal .modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 20px 10px;
}

/* Modal content container */
#payment-plan-modal .modal-content {
    background-image: url("https://ppwp.stl-bg.com/wordpress/wp-content/plugins/platiposle/assets/images/pop_light_blue.png");
    background-position: center 43%;
    background-repeat: no-repeat;
    margin: 5% auto;
    border: 1px solid #888;
    max-width: 600px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    border: none;
}

/* Slide down animation */
@keyframes slideDown {
    from {
        transform: translateY(-50px);
    }
    to {
        transform: translateY(0);
    }
}

/* Close button */
#payment-plan-modal .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    opacity: 0.2;
}

#payment-plan-modal .close:hover,
#payment-plan-modal .close:focus {
    color: #000;
    text-decoration: none;
}

/* SVG element for styling */
#payment-plan-modal .side-svg-bottom {
    display: block;
    position: absolute;
    left: 65%;
    top: 15%;
    transform: translateX(-80%) translateY(-90%) scale(4.25) rotate(-72deg);
    z-index: 0;
    pointer-events: none;
}

#payment-plan-modal .side-svg-bottom-path-static {
    height: 100%;
    width: auto;
    stroke: #e4e4e429;
    stroke-width: .45rem;
    stroke-linecap: round;
    transform: rotate(18deg);
}

/* Buy now button */
.product_right {
    font-size: 11px;
    padding: 3px 24px;
    border-radius: 3px;
    font-weight: bold;
}
#payment-plan-modal .modal-content #buy-now-button {
    margin-top: 10px;
    background-color: #ffcc00;
    color: #333;
    padding: 10px 20px;
    font-size: 15px !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    z-index: 1;
    font-family: "Open Sans", sans-serif
}

/* Radio input styles */
#payment-plan-modal .modal-content input[type="radio"] {
    z-index: 1;
    position: relative;
}

/* Headings inside modal */
#payment-plan-modal h2 {
    font-family: 'Arial', sans-serif;
    color: #333;
    margin-bottom: 20px;
    margin-top: 35px;
    font-weight: bold;
}

/* Table styles */
#payment-plan-modal table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 10px;
}

#payment-plan-modal th, td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
}

/* Modal images */
.modal-content img {
    max-height: 25px;
    margin-left: 20px;
}

/* Button styling inside modal content */
#payment-plan-modal .modal-content a.button.alt {
    background-color: #0071a1;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

#payment-plan-modal .modal-content a.button.alt:hover {
    background-color: #005a82;
}

/* ============================
   Inner containers for the button
   ============================ */

/* Payment plan inner container */
#payment-plan-button .control-label {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 10px;  
    line-height: 20px;
}
#payment-plan-button #payment-plan-inner-container {
    display: flex;
    align-items: center;
}

/* Payment plan inner content */
#payment-plan-button #payment-plan-inner-content-container {
    display: flex;
    align-items: start;
    justify-content: space-around;
    flex-direction: column;
    margin-right: 1.5rem;
}

/* Payment plan inner title */
#payment-plan-button #payment-plan-inner-title {
    font-size: 15px;
    display: flex;
    align-items: center;
}
#payment-plan-button #payment-plan-inner-title img {
    margin-left: 5px;
    margin-top: -3px;
}
input[type="radio"]:hover {
    background: none; /* Премахва фона при hover */
    outline: none; /* Премахва outline, ако има */
    box-shadow: none; /* Премахва всякакви сенки */
}
#payment-plan-modal table tbody tr:hover {
    cursor: pointer;
}

/* Актуализиране на фона на радиобутона */
input[type="radio"]:checked + td {
    background-color: #d0e0f0;
}


/* Checkout Modal */
#platiposle-popup {
    display:none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
}
#platiposle-popup .plapiposle-popup-background-1{
    width: 470px;
    height: 408px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    position: relative;
}
#platiposle-popup .plapiposle-popup-background-2{
    width: 420px;
}
#platiposle-popup .popup-content{
    /* position: relative; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    padding: 20px; 
    border-radius: 10px; 
    max-width: 500px; 
    font-family: 'Inter'; 
    padding-top: 35px;
    padding-bottom: 35px; */
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* padding: 20px; */
    border-radius: 10px;
    max-width: 600px;
    font-family: 'Inter';
    /* padding-top: 35px; */
    height: 622px;
    /* padding-bottom: 35px; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
}
#platiposle-popup .popup-icon-wrapper{
    width: 100px; 
    display: flex; 
    justify-content:center; 
    height: 100px; 
    position: absolute; 
    left: 50%; 
    top: -92px; 
    transform: translateX(-50%);
    padding: 10px; 
    border-radius: 50%; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
#platiposle-popup .rounded{
    background-color:#FFF; 
    border-radius: 10px; 
    padding:50px; 
    text-align:center; 
    max-height: 235px;
    padding-left: 15px;
    padding-right: 15px;
}
#platiposle-popup .rounded h5{
    font-weight:bold; 
    font-family: 'Inter';
}
#platiposle-popup .popup-close-btn{
    padding: 10px; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    font-weight: bold;
    width: 180px;
    font-size: 15px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}
#platiposle-popup  .plapiposle-popup-background-1{
    z-index: 1;
}
.side-svg-holder {
    width: 1600px;
    height: auto;
    display: block;
    position: absolute;
    bottom: -105px;
    left: -241px;
    z-index: 0;
}
.side-svg-bottom-path-static {
    height: 100%;
    width: auto;
    stroke: #2121211f;
    stroke-width: .7rem;
    stroke-linecap: round;
    transform: rotate(18deg);
}

/* Основен стил за модала */
@media (max-width: 768px) {
    
    .popup-content {
        width: 90%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 15px;
    }
    #platiposle-popup .plapiposle-popup-background-1{
        max-width: 375px;
    }
    #platiposle-popup .plapiposle-popup-background-2{
        max-width: 345px;
    }
    .popup-icon-wrapper {
        width: 40px;
        height: 40px;
        top: -35px;
    }

    h5 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }

    #popup-close-btn {
        font-size: 16px;
    }
}

/* За по-малки екрани като мобилни телефони */
@media (max-width: 480px) {
    .popup-content {
        width: 90%;
        padding: 10px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .popup-icon-wrapper {
        width: 30px;
        height: 30px;
        top: -30px;
    }

    h5 {
        font-size: 16px;
    }

    p {
        font-size: 12px;
    }

    #popup-close-btn {
        font-size: 14px;
        padding: 8px;
    }
}