.preview_button_size {
    width: 152px
}

.hidden_toolbar_button {
    display: none !important;
  }  

#decoration_preview_modal {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    margin-top: 80px;
  }
  
.preview_modal_content {
    width: 65vw;
    height: 75vh;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-light);
    margin-top: 10px;
    margin-bottom: 10px;
}
  
.preview_toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1em;
    padding-bottom: 0;
    border-radius: 200px;
}

.preview_modal_toolbar_buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
  
.preview_toolbar input {
    flex: 1;
    padding: 0.5rem;
    font-size: 1rem;
    border: 0;
    border: 1px solid var(--color-light);
    border-radius: 20px;
    padding: 10px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
    min-width: 300px;
    max-width: calc(100% - 200px);
}
  
.preview_toolbar button {
    padding: 0;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 20px;
    border: 1px solid var(--color-light);
    background-color: white;
    height: 41px;
    min-width: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview_toolbar .button_small {
    padding: 0;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 20px;
    border: 1px solid var(--color-light);
    background-color: white;
    height: 41px;
    min-width: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-in-out 0.25s;
    cursor: pointer;
}

.preview_toolbar .button_small:hover {
    background-color: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.preview_toolbar .button_small span {
    font-size: 18px;
}

.preview_toolbar button span {
    font-size: 18px;
}

.preview_iframe_container {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    overflow: hidden;
    border-radius: 20px;
    box-sizing: border-box;
    width: calc(100% - 40px);
    margin: 20px;
}

#website_iframe_preview_container, #website_iframe_preview {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-light);
    border-radius: 20px;
    transition: width 0.3s ease, height 0.3s ease;
}

#decorations_panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    border: 1px solid var(--color-light);
    border-radius: 20px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85) 100%, var(--color-white) 80%), url(../img/assets/pricing4.png);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

#preview_mode_mobile,
#preview_mode_desktop {
  visibility: hidden;
  pointer-events: none;
}

/* Visibility toggle */
.hidden_preview_decorations {
    display: none !important;
}


/* Optional back button style */
.decorations_back_btn {
    align-self: flex-start;
    margin-bottom: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.decorations_panel_toolbar {
    height: 42px;
}