* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter';
}

.note-editable ol {
    padding-left: revert;
}

.note-editable a {
   color: var(--btn-primary) !important;
   cursor: pointer;
}

ul {
    margin-left: 16px;
    padding: 0;
}
a {
    text-decoration: none;
}

.story-preview__block ol {
    padding-left: revert;
}
.story-preview__block li {
    padding-left: revert;
}

/* Custom Button */
.custom-button {
    padding: 8px 16px;
    min-height: 40px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--btn-secondary);
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    border-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-button img {
    filter: var(--icon-filter);
}

.custom-button__brand {
    padding: 8px 16px;
    min-height: 40px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--text-light);
    background-color: var(--btn-primary);
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    border-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-button.disable, .custom-button__brand.disable {
    pointer-events: none;
}

.custom-button:hover {
    color: white !important;
    background-color: var(--btn-primary);
    transition: 300ms;
}

.custom-button.disabled {
    pointer-events: none;
    color: var(--text-disable) !important;
}

.custom-button.disabled img {
    filter: contrast(0);
}

.custom-button__brand.disabled {
    cursor: not-allowed;
    background-color: #e38d8d !important;
}

/* DropDownButton */

.ddb-wrapper {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    width: 200px;
    background-color: var(--bg-secondary);
    z-index: 10;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
}

.ddb-menu-button {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-primary);
    font-size: 14px;
    line-height: 20px;
    color: #767E8F;
    cursor: pointer;
    transition: all .25s;
}

.ddb-menu-button:hover {
    background-color: var(--border-primary);
    color: var(--text-primary);
}

.ddb-menu-button:last-child {
    border-bottom: none;
}

.add-block-btn-wrapper {
    position: relative;
}

/* Ellipsis */

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
