@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

* {
    box-sizing: border-box;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: 252725;
}

#app {
    color: white;
}

.content {
    display: flex;
    flex-direction: column;
/*    max-width: 1200px;*/
    margin: 1.5em auto;
    color: #333666;
}

.main-header {
    color: white;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.github-link svg path {
    transition: fill 0.2s ease-in-out;
}
.github-link:hover svg path {
    fill: #dadada;
}
.github-link:active svg path {
    fill: #888888;
}

.demo {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f5fcff;
    padding: 0 20px 20px;
    margin-bottom: 5px;
    border-radius: 5px;
}
.demo p {
    margin: 0 0 1em;
    font-size: 18px;
}
pre {
    border-radius: 5px;
    margin: 0 0 20px !important;
}
.live-example {
    background-image: linear-gradient(50deg, rgb(25, 189, 158), rgb(16, 138, 178));
}
.panzoom-parent {
    position: relative;
    box-shadow: inset 0 0 5px rgba(223, 212, 212, 0.5);
    /*    margin: 30px;
    padding: 80px;*/
    border: 2px dashed #4b4b4b;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.panzoom {
    position: relative;
    display: inline-block;
    width: fit-content;
    height: fit-content;

}
.panzoom img {
/*    display: block;*/
    /*padding: 20px;*/
    margin: 0 auto;
}
.appendix-editor-root {
    position: relative;
    height:100%;
}

.rz-html-editor {
    height: 100% !important; /* or fixed height if you prefer */
    display: flex;
    flex-direction: column;
}

.rz-html-editor-content {
    overflow-y: auto !important;
    overflow-x: hidden;
}

.appendix-mention-popup {
    position: fixed; /* matches getBoundingClientRect coords */
    z-index: 2000;
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 0.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.phb-markdown-editor-root {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #99cccc;
    margin-bottom: 20px;
}
.buttons > * {
    margin-right: 10px;
}
.buttons button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;

    background-color: white;
    border: 1px solid #ccc;
    transition: background-color 0.2s ease-in-out;
}
.buttons button:hover {
    background-color: #ddd;
}
.buttons button:active {
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.9);
}
label {
    font-weight: 600;
    display: inline-block;
}

/*.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}*/

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.rz-dialog-titlebar {
    background-color: #0D1B2A !important;
    color: white !important;
}

.rz-dialog-title {
    color: white !important;
}

.rz-fileupload-files {
    display: none !important;
}

.rz-fileupload-buttonbar {
    background-color: transparent !important;
} {
    display: none !important;
}

.rz-dialog-content {
    background-color: #0D1B2A !important;
}
.note-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 0.5rem;
    z-index:1;
}

.mockClass .rz-dialog-content {
    height: 100%;
    overflow:hidden;
}

.action-wrapper {
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 6px;
}

    .action-wrapper:hover {
        transform: scale(1.1);
        box-shadow: 0 0 6px #00e676;
        border: 1px solid #00e676;
    }
@media (max-width: 1000px) {
    .buttons {
        flex-direction: column;
    }

    .buttons button {
        margin: 5px
    }
}

