/* Custom CSS for Try Demo Popup */

body.popup-open {
    overflow: hidden;
}

.popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 68%);
    z-index: 1000;
    display: none;
}

.try_demo_container {
    background-color: #ffffff;
    padding: 10px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.try_demo_container .col_4 img {
    max-height: 60px;
}

.try_demo_container .col_8 {
    display: flex;
    align-items: center;
}

.try_demo_container .col_8 a {
    background-color: #fe5858;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.try_demo_container .col_8 a:hover {
    background-color: #e44a4a;
}

#try-demo-button {
    border: 2px solid #fe5858;
    color: #fe5858;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-right: 10px;
	background-color: transparent;
}

#try-demo-button:hover {
    background-color: #fe5858;
    color: white;
}

#try-demo-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    padding: 20px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 10000;
}

#try-demo-popup h2 {
    margin-top: 0;
    color: #333;
}

#try-demo-popup .popup-content {
    margin-bottom: 20px;
}

#try-demo-popup .popup-buttons {
    text-align: right;
}

#try-demo-popup .popup-buttons a {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 10px;
}

#try-demo-popup .popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #aaa;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .try_demo_container {
        flex-direction: column;
        padding: 10px 20px;
    }

    .try_demo_container .col_4 {
        margin-bottom: 10px;
    }

    .try_demo_container .col_8 {
        flex-direction: column;
    }

    #try-demo-button {
        margin-right: 0;
        margin-bottom: 10px;
    }

    #try-demo-popup {
        width: 90%;
    }
}
