
#page1 {

    overflow: hidden!important;
    background: url(https://pdf.liberate-gvs.ch/wp-content/uploads/2026/04/Exterior-10_low.jpg) no-repeat center / cover;
}
/* Overlay Background */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.7); /* Dark semi-transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* Modal Container */
.text-editor-modal {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Header */
.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.modal-header h2 {
    font-size: 20px;
    color: #1e293b;
    margin: 0 0 0 10px;
}

/* Fields */
.modal-field {
    margin-bottom: 25px;
}

.modal-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.modal-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #f1f5f9;
    font-size: 16px;
    color: #1e293b;
    transition: border-color 0.2s;
}

.modal-field input:focus {
    outline: none;
    border-color: #0f172a;
}

/* Warning/Attention Text */
.field-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.field-info .dashicons {
    color: #38bdf8; /* Light blue icon like your image */
    font-size: 18px;
}

/* Buttons */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.btn-cancel {
    background: #ffffff;
    border: 2px solid #1e293b;
    color: #1e293b;
    padding: 10px 35px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.btn-update {
    background: #1e293b;
    border: 2px solid #1e293b;
    color: #ffffff;
    padding: 10px 35px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.btn-update:hover {
    background: #334155;
}


.image-zoom-toolbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    padding: 10px 20px;
    border-radius: 50px;
    z-index: 99999;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

.zoom-controls-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.btn-change-image {
    background: #38bdf8;
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.zoom-slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 1px solid #475569;
    padding-left: 20px;
}

#page1-bg-zoom-slider {
    cursor: pointer;
    accent-color: #38bdf8;
}

.btn-close-toolbar {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
}

/* Image Grid Styles */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.picker-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: outline 0.1s;
}

.picker-img:hover {
    outline: 3px solid #38bdf8;
}


/* Ensure it is also hidden in the generated PDF 
*/
@media print {
.us_custom_8ea3b016{
border:none !important;
}
#edit2,#edit1{
display:none;
}


}