[v-cloak] {
    display: none;
}

/********** Header **********/
#header {
    margin: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #0072ba;
    font-size: 1.5rem;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}


/********** Buttons **********/
#buttons {
    position: relative;
    height: 30px;
    margin: 0px 10px 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#buttons button {
    margin-right: 10px;
    padding: 5px 5px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 10px;
    background-color: #cacaca;
}




/********** Page **********/

#page {
    display: flex;
    justify-content: center;
}

iframe {
    min-width: 97vw;
    max-width: 97vw;
    min-height: calc(100vh - 105px);
    max-height: calc(100vh - 105px);

    border: 2px solid #0072ba;
    background-color: white;
    border-radius: 5px;
    display: block;
}



/********** CSS editor **********/

#element-panel {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: #fff;
    border-top: 2px solid #0072ba;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
}

#element-info p {
    text-align: center;
}

#css-editor {
    display: flex;
    flex-direction: column;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 8px;
}
#cssForm {
    width: 100%;
}
.css-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#cssForm .css-list-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    margin-bottom: 2px;
}
#cssForm .css-list-item.unlocked {
    margin-left: 32px;
}
#cssForm label {
    gap: 4px;
}
#cssForm input[type="color"] {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    padding: 0;
}
#cssForm input[type="number"] {
    width: 48px;
}
#cssForm input[type="text"] {
    width: 120px;
}
#cssForm select {
    font-size: 13px;
}
#closePanel {
    margin-left: 10px;
    padding: 6px 16px;
    font-size: 13px;
    border-radius: 8px;
    background: #cacaca;
    cursor: pointer;
    height: 32px;
    align-self: flex-start;
}




/********** Modal **********/
#modalButton {
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px;
    border-radius: 10px;
    background-color: #cacaca;
}

#modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#modalBlur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(5px);
    transition-duration: 0.5s;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalBlur div {
    background-color: white;
    padding: 20px;
    border: 2px solid #888;
    width: 300px;
    text-align: center;
    z-index: 1001;
}