html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.43;
    font-weight: 400;
    letter-spacing: 0.01071em;
    margin: 0px;
}

* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'PoppinsRegular';
    src: url('./assets/fonts/poppins/Poppins-Regular.ttf');
}

@font-face {
    font-family: 'PoppinsBold';
    src: url('./assets/fonts/poppins/Poppins-Bold.ttf');
}

.simple-text {
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

button {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}

.btn {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    line-height: 1.43;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    border-style: solid;
    padding: 12px;
    box-sizing: border-box;
}

.freeGridContainer {
    display: grid;
    grid-template-columns: 100%;
    background-size: cover;
    width: 100%;
}

.freeGridBox {
    display: grid;
    grid-template-columns: 100%;
    background-size: cover;
}

.freeGridContainer .freeGridItem {
    margin-left: calc((100% - 980px) * 0.5);
}

.freeGridBox .freeGridItem {
    margin-left: 0px !important;
}



.btn.textAlign-left {
    justify-content: start;
}

.btn.textAlign-right {
    justify-content: end;
}

.btn.textAlign-center {
    justify-content: center;
}

.textAlignment {
    display: flex;
    align-items: center;
    flex-direction: column;
}

blockquote {
    border-left: 3px solid transparent;
}

blockquote.colorbox {
    padding: 16px 8px !important;
    width: calc(100% - 16px) !important;
    border-radius: 12px;
}

blockquote.quote {
    padding: 0px 8px;
    border-radius: 0px 12px 12px 0px;
    width: 100%;
    border-width: 0px 0px 0px 3px;
}

.freeGridItem.type-text>h1,
.freeGridItem.type-text>h2,
.freeGridItem.type-text>h3,
.freeGridItem.type-text>h4,
.freeGridItem.type-text>h5,
.freeGridItem.type-text>h6,
.freeGridItem.type-text>ul,
.freeGridItem.type-text>ol {
    margin: 0px;
}

.customCheckbox {
    display: none;
}

.checkboxLabel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.checkboxIcon {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.checkboxIcon::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url('assets/icons/uncheckList.svg');
    background-size: cover;
}

.customCheckbox:checked+.checkboxLabel .checkboxIcon::before {
    content: '';
    background-image: url('assets/icons/checkList.svg');
}



.nestedCheckList .checkboxLabel {
    visibility: hidden;
    pointer-events: none;
}

.nonNestedCheckList .checkboxLabel {
    visibility: unset;
    pointer-events: auto;
}

.checkListContainer {
    display: flex;
    align-items: center;
    gap: 4px;
}

summary {
    list-style: none;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    font-weight: normal;
}

summary .accordionIcon {
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
}

details[open] summary svg {
    transform: rotate(90deg);
}

.accordion-content {
    margin-left: 1rem;
    padding: 0.5rem 10px;
    border-left: 1px solid #ccc;
}

.embed {
    width: 100%;
    height: 100%;
}

.embed img {
    width: 100%;
}

.embed iframe {
    width: 100%;
    height: 100%;
}

.imageContainer {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 100%;
}

.embedContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%
}

.image-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0px;
}

.image-frame svg {
    width: 100%;
    height: 100%;
}

body table {
    border-collapse: collapse;
}

body table,
body th,
body td {
    border: 1px solid transparent;
}

body table td {
    padding: 8px 8px;
}

.embed-code {
    width: 100%;
    height: 100%;
    background: #fff;
    overflow: "hidden",
}

.tableContainer {
    min-width: 100%;
    max-width: 100%;
    position: relative;
    overflow-x: auto;
    display: flex;
    padding-top: 10px;
}

.custom-scroll::-webkit-scrollbar {
    height: .6rem;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
    cursor: pointer;
}

.custom-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scroll:hover::-webkit-scrollbar-thumb {
    background: #A7AEC1;
}

.signature-signed-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
}

.signature-signed-span {
    position: relative;
    width: 100%;
    height: 100%;
}

.signed-btn {
    text-align: left;
    background: #fff;
    border: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.signed-btn img {
    height: 70%;
    margin-bottom: 4px;
    width: 100%;
    flex-grow: 1;
    background-color: #fff;
}

.signed-text {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #000;
}

.divider {
    margin-top: 15px;
    border-width: 1px 0 0;
    border-color: rgba(55, 53, 47, .1607843137254902);
}

.navContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    /* min-height: 64px; */
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

.navContainer .title {
    display: inline-flex;
    align-items: center;
    justify-content: start;
    flex-grow: 1;
}

.navBar {
    display: block;
}

.navBar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: transparent;
    outline: 0;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.75;
    letter-spacing: 0.02857em;
    min-width: 64px;
    padding: 6px 8px;
    border-radius: 4px;
    text-decoration: none;
}

.lgNav {
    display: block;
    font-size: 0;
}

.smNav {
    display: none;
    padding-top: 12px;
    margin-right: 0px;
    font-size: 1.5rem;
    padding: 8px;
}

.menuButton {
    font-size: 1.5rem;
    padding: 8px;
    padding-top: 12px;
}

.menuButton svg {
    width: 1em;
    height: 1em;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1002;
    text-align: center;
}

.sidebar .title {
    margin: 16px 0px;
}

.sidebar ul {
    padding: 0px;
}

.sidebar a {
    text-decoration: none;
    color: #000;
    display: block;
}

.sidebar.open {
    left: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    display: none;
}

.overlay.show {
    display: block;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    padding: 15px 0;
    font-size: 16px;
    cursor: pointer;
}

.sidebar ul li:hover {
    color: #007BFF;
}

.formGridContainer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: row;
    margin-top: -16px;
    width: calc(100% + 16px);
    margin-left: -16px;
    justify-content: start;
}

.formGridContainer legend {
    padding-left: 16px;
    padding-top: 16px;
    width: 100%;
}

.formGridItem {
    padding-left: 16px;
    padding-top: 16px;
}

.formGridItem.formBtnWrapper {
    display: flex;
    justify-content: center !important;
}

.formBtnWrapper .formBtn {
    font-weight: 500;
    height: 44px;
}

.inputBox,
.textareaBox {
    font-family: sans-serif;
    font-size: 16px;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    color: #333;
    width: 100%;
    box-sizing: border-box;
}

.textareaBox {
    height: 150px;
    resize: both;
}

.inputBox::placeholder,
.textareaBox::placeholder {
    color: #888;
}

.pageSettings {
    margin: auto;
}

.pageSettings>div {
    width: 100%;
}

.themeElement.textBlock {
    margin: 0px;
}

.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
    min-width: 280px;
    display: none;
}

.alert-message {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
}

.signature-btn-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.signature-btn-container button {
  background-color: #0052cc;
  padding: 8px 12px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  opacity: 1;
  border-radius: 32px;
  text-transform: math-auto;
  height: 36px;
  padding: 0px 12px;
  width: fit-content;
  margin: 6px 0px;
}

.signature-btn-container button:hover {
  background-color: #0052cc;
}

.signature-btn-container .sign-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #E4E6E9;
  border-radius: 10px;
  background: white;
  box-shadow: 0px 4px 16px 0px #0000000D;
  gap: 10px;
  display: flex;
  width: 100%;
  flex-grow: 1;
}

.signature-text {
    color: rgb(162, 176, 185);
    margin: 0;
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
}

@media (max-width: 599px) {
    .freeGridContainer .freeGridItem {
        margin-left: calc((100% - 320px) * 0.5);
    }

    .xs-hidden {
        display: none;
    }

    .lgNav {
        display: none;
    }

    .smNav {
        display: block;
    }
}