.note-toolbar .note-style, .note-toolbar .note-para, .note-toolbar .note-color {
    display: inline-block;
}

.note-editor {
    .modal {
        color: #222 !important;
    }

    .modal-title {
        color: #222 !important;
    }

    label.note-form-label {
        color: #222 !important;
    }

    label.form-check-label {
        color: #222 !important;
    }
}

.message-modal {
    background-color: var(--blue-two);
    color: #fff;

    &.rfq {
        background-color: var(--green-logo);
    }

    .modal-title {
        color: #fff;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: normal;
    }

    .modal-header {
        padding: .5rem 1rem;
        border: none;
    }

    button.close {
        border-radius: 50%;
        background-color: #fff;
        color: var(--blue-two);
        border: none;
        font-size: 1.5rem;
        font-weight: 700;
        aspect-ratio: 1;
        padding-bottom: 2px;
        width: 25px;
        height: 25px;

        &:hover {
            background: var(--orange);
        }
    }

    .biz-button {
        display: inline-block;
        color: var(--purple);
        background-color: #fff;
        padding: .25rem .5rem;
        border: none;
        border-radius: 5px;
        font-size: .8rem;
        font-weight: 700;
        text-decoration: none;
    }

    .button {
        display: inline-block;
        color: #fff;
        background-color: var(--orange);
        padding: .25rem .5rem;
        border: none;
        border-radius: 5px;
        font-size: .8rem;
        font-weight: 700;
        text-decoration: none;
    }

    .title, .amount {
        font-size: 1.25rem;
        font-weight: 700;
    }

    .user-location {
        margin-left: 20%;
    }

    .info-wrapper {
        margin-bottom: .5rem;
    }

    .email-website-wrapper {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
    }

    .user-website {
        margin-left: auto;
    }

    .buyer {
        display: none;
    }

    .seller {
        display: none;
    }

    .messages-wrapper {
        position: relative;
    }

    .messages {
        display: flex;
        flex-flow: column nowrap;
        max-height: 20rem;
        min-height: 5rem;
        overflow-y: scroll;
        position: relative;
        scroll-behavior: smooth;
        padding: 1rem .5rem 0;
    }

    .messages-gradient {
        content: '';
        position: absolute;
        z-index: 10;
        top: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        background: /* top fade */ linear-gradient(to bottom, var(--blue-two), #00000000 .5rem),
            /* bottom fade */ linear-gradient(to top, var(--blue-two), #00000000 .5rem),
            /* fallback for message background */ #00000000;
        background-repeat: no-repeat;
        background-size: 100% 2rem, 100% 2rem, 100% 100%;
        background-position: top, bottom, center;
    }

    &.rfq .messages-gradient {
        background: /* top fade */ linear-gradient(to bottom, var(--green-logo), #00000000 .5rem),
            /* bottom fade */ linear-gradient(to top, var(--green-logo), #00000000 .5rem),
            /* fallback for message background */ #00000000;
    }

    .message {
        padding: .5rem 1rem;
        background-color: #fff;
        color: #000;
        margin-bottom: 1rem;
    }

    .message.me {
        margin-left: 2rem;
        background-color: #dbf4ff;
    }

    .message.them {
        margin-right: 2rem;
        background-color: #dbfff4;
    }

    .message-user {
        display: flex;
        flex-flow: column nowrap;
    }

    .message-user-time {
        font-size: .8rem;
        color: #444;
        margin-bottom: .75rem;
    }

    .message-user-state {
        display: inline-block;
        font-size: .8rem;
        color: #444;
        margin-top: .5rem;
    }

    hr {
        opacity: 1;
        border-color: #fff;
        width: 100%;
    }

    form {
        width: 100%;
    }

    .form-title {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: .5rem;
        color: #fff !important;
    }

    label {
        color: #fff !important;
    }

    .form-actions {
        display: flex;
        justify-content: space-between;
    }

    ol li, ul li {
        list-style: unset !important;
    }
}

.hide {
    display: none;
}

.float-right {
    float: right;
}

.offer {
}

.offer label {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.25rem;
}

.modal-footer-btn {
    display: inline-block;
    color: var(--purple);
    background-color: #fff;
    padding: .25rem .5rem;
    border: none;
    border-radius: 5px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}

#offer-input {
    padding: .25rem .5rem;
    border-radius: 5px;
    border: 1px solid #ced4da;
    min-width: 15rem;
    max-width: 100%;
}

#offer-form button[type='submit'] {
    display: block;
    margin-left: auto;
    color: #fff;
    background-color: var(--orange);
    border: none;
    border-radius: 5px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 1rem;
    padding: .25rem .5rem;
}

.offer-amount-label {
    display: block;
    margin-bottom: .5rem;
}

.message-content {
    word-wrap: break-word;
}

.message-modal .message a {
    color: var(--blue-two);
    text-decoration: underline;
}

.message-modal iframe {
    max-width: 100%;
}

.priority-select {
    padding: .25rem .5rem;
    border-radius: 5px;
    border: none;
    font-weight: 600;
    text-align: center;
    color: #fff;

    &.hot {
        background-color: #A81515;
    }

    &.high {
        background-color: var(--orange);
    }

    &.okay {
        background-color: var(--blue-two);
    }

    &.none {
        background-color: transparent;
        color: #222;
    }
}

.types {
    font-weight: 700;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.rfq .notes-modal {
    background: var(--green-logo);
}

.notes-modal {
    background: var(--blue-two);
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.notes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.notes-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    font-weight: 700;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    aspect-ratio: 1;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fff;
    color: var(--blue-two);
}

.modal-close:hover {
    background: var(--orange);
}

.notes-content {
    padding: 0 1rem 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-title {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.notes-buttons {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.submit-btn {
    flex: 1;
    padding: 0.75rem;
    background: var(--orange);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.save-close-btn {
    flex: 1.2;
}

.submit-btn:hover {
    opacity: 0.9;
}

.hide {
    display: none;
}

.limited-dealer-badge {
    color: #FFF200;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: .5rem;
    text-transform: uppercase;
}

.messaging-blocked-notice {
    padding: 1rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, .2);
    border-radius: 4px;
    margin: 0 1rem 1rem;
}
