.cookie-banner {
    position: fixed;
    right: -329px;
    top: 505px;
    transform: translateY(-50%);
    background-color: #333;
    color: #fff;
    padding: 20px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

.cookie-banner.show {
    right: 0;
}

.cookie-content h2 {
    margin-top: 0;
}

.cookie-content p {
    margin: 10px 0;
}

.cookie-content button,
.cookie-customize button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cookie-content button:hover,
.cookie-customize button:hover {
    background-color: #0056b3;
}

.cookie-customize {
    display: none;
    margin-top: 20px;
}

.cookie-customize label {
    display: block;
    margin: 10px 0;
}

#toggle-banner {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1001;
    transition: background-color 0.3s ease;
}

#toggle-banner:hover {
    background-color: #555;
}







#editor {
    padding: 20px;
    border: 1px solid #ccc;
    min-height: 100px;
    cursor: pointer;
}



.hidden {
    display: none;
}

textarea {
    width: 100%;
    height: 200px;
    margin-bottom: 10px;
    font-family: monospace;
}

.toolbar {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.toolbar button,
.toolbar select {
    padding: 5px 10px;
    cursor: pointer;
}

.tabs {
    display: flex;
    margin-bottom: 10px;
}

.tab-button {
    flex: 1;
    padding: 10px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    text-align: center;
}

.tab-button.active {
    background-color: #fff;
    border-bottom: none;
    font-weight: bold;
}

.tab-content {
    display: none;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
}

.tab-content.active {
    display: block;
}

#live-preview {
    min-height: 200px;
    border: 1px solid #ccc;
    padding: 10px;
    overflow-y: auto;
}



.image-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 20rem;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center;
    padding: 120px 230px;
}




#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #8da8a4;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    width: 90%;
    max-width: 700px;
    font-family: "Segoe UI", sans-serif;
}

.hidden {
    display: none;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 16px;
}

.tab-button {
    flex: 1;
    padding: 12px;
    background: #f9f9f9;
    border: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    transition: background 0.3s ease;
}

.tab-button:hover {
    background: #ececec;
}

.tab-button.active {
    background: #ffffff;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    color: #222;
}

.tab-content {
    display: none;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: #ffffff;
    padding: 16px;
}

.tab-content.active {
    display: block;
}

textarea#html-editor {
    width: 100%;
    height: 250px;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 10px;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    resize: vertical;
    background: #fafafa;
}

#live-preview {
    min-height: 250px;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 12px;
    background: #aca8a8;
    color: black;
    overflow-y: auto;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.toolbar button,
.toolbar select {
    background-color: #007BFF;
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.toolbar button:hover,
.toolbar select:hover {
    background-color: #0056b3;
}

button[onclick*="saveChanges"],
button[onclick*="closeEditor"] {
    background-color: #28a745;
    margin-top: 10px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[onclick*="closeEditor"] {
    background-color: #dc3545;
    margin-left: 10px;
}

button[onclick*="saveChanges"]:hover {
    background-color: #218838;
}

button[onclick*="closeEditor"]:hover {
    background-color: #c82333;
}



.image-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 20rem;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center;
    padding: 0px 0px;
}

@media (min-width: 768px) {
    .image-wrapper {
        position: relative;
        overflow: hidden;
        min-height: 20rem;
        width: 100%;
        height: 100%;
        background-size: cover !important;
        background-position: center;
        padding: 20px 130px;
    }
}

@media (min-width: 1068px) {
    .image-wrapper {
        position: relative;
        overflow: hidden;
        min-height: 20rem;
        width: 100%;
        height: 100%;
        background-size: cover !important;
        background-position: center;
        padding: 120px 230px;
    }
}