.text-danger {
    color: #d63638;
}

.text-success {
    color: #198754;
}

.bg-spoki {
    background-color: #16D46D !important;
    color: black !important;
}

.color-spoki {
    color: #16D46D !important;
}

.bg-spoki-secondary {
    background-color: #C3AAE2 !important;
}

.text-bold {
    font-weight: bold;
}

.d-flex{
    display: flex;
}

.w-50 {
    width: 50%;
}

.w-100 {
    width: 100%;
}

.flex-direction-column {
    flex-direction: column;
}

.align-items-center {
    align-items: center;
}

.align-items-baseline {
    align-items: baseline;
}

.spoki-admin .title {
    display: flex;
    align-items: center;
}

.spoki-admin .title img:not(.emoji) {
    filter: brightness(0);
    height: 2rem;
    margin-left: 0.5rem;
}

.spoki-admin h2 {
    margin-bottom: 0.5em;
}

.spoki-admin h2 + p {
    margin-top: 0.5em;
}

.spoki-admin .form-table td,
.spoki-admin .form-table th {
    padding-bottom: 0;
}

.spoki-admin img.example {
    height: 100px;
    max-width: 100%;
    margin-top: 0.5em;
    border: 1px solid #c3c4c7;
    object-fit: cover;
}

.spoki-admin .cover-image {
    max-width: 100%;
    max-height: 30vh;
    object-fit: cover;
}

.spoki-admin code {
    line-height: 21px;
}

.spoki-admin .notifications-status-message {
    background-color: #16D46D;
    padding: 8px 16px;
    margin: 2rem 0 0.5rem;
    box-shadow: 0 1px 1px #0000000a;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.spoki-admin .notifications-status-message p {
    margin: 0;
    color: black;
    font-weight: 500;
    text-align: center;
}

.spoki-admin .notifications-status-message a {
    font-weight: normal;
    cursor: pointer;
    margin-left: 0.5rem;
    text-decoration: underline;
}

.spoki-admin .notifications-status-message.bg-danger {
    background-color: #d63638;
}

.spoki-admin .notifications-status-message.bg-danger p {
    color: white;
    font-weight: normal;
}

.spoki-admin .notifications-status-message.bg-danger a {
    color: white;
    font-weight: normal;
}

.spoki-admin .nav-tab .nav-tab-content {
    display: flex;
    align-items: center;
}

.spoki-admin .spoki-upgrade-card {
    position: relative;
    margin-top: 2rem;
    padding: 16px 16px 16px;
    background: white;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 800px;
    max-width: 100%;
}

.spoki-admin .spoki-upgrade-card img {
    filter: brightness(0.75);
    height: 1.5rem;
    position: absolute;
    right: 16px;
    top: 10px;
}

.spoki-admin .spoki-upgrade-card h3 {
    margin-bottom: 0;
}

.spoki-admin .spoki-upgrade-card h3 + p {
    margin-top: 0.5rem;
}


.spoki-admin .spoki-upgrade-card button {
    margin-top: 0.75rem;
    font-size: 14px;
    padding: 2px 32px;
    border-radius: 0;
}

.spoki-admin ::-webkit-input-placeholder { /* Edge */
    opacity: 0.5;
}

.spoki-admin :-ms-input-placeholder { /* Internet Explorer 10-11 */
    opacity: 0.5;
}

.spoki-admin ::placeholder {
    opacity: 0.5;
}

.spoki-admin .button-info {
    text-decoration: none !important;
    border: 1px solid #3C88C3 !important;
    background-color: #3C88C3 !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    line-height: 12px !important;
    margin-left: 0.5rem !important;
    height: 16px;
    width: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spoki-admin .spacing-items {
    display: flex;
    flex-direction: row;
    row-gap: 0.5rem;
    column-gap: 0.5rem;
}

.spoki-admin .spacing-items label {
    display: flex;
    flex-direction: column;
}

.spoki-admin .spacing-items label input {
    max-width: 50px;
}

#spoki-bottom-badges {
    position: fixed;
    bottom: 0;
    right: 15px;
    display: flex;
    z-index: 99999;
}

#spoki-feedback, #spoki-support {
    background-color: #FAC54B;
    padding: 6px 12px;
    height: 28px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
}

/* ---------- Spoki Card ---------- */

.spoki-card {
    position: relative;
    margin: 2rem 0.5rem 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border: 1px solid #c3c4c7;
    background-color: white;
}

.spoki-card-header {
    height: 50px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #c3c4c7;
    box-sizing: border-box;
}

.spoki-card-header .title {
    text-align: left;
    margin: 0;
}

.spoki-card-header .button {
    margin-top: 0 !important;
}

.spoki-card-body {
    padding: 16px;
    box-sizing: border-box;
}

.spoki-card-footer {
    padding: 16px;
    box-sizing: border-box;
}

#spoki-support {
    right: 130px;
    background-color: #C3AAE2;
}

#spoki-feedback img {
    filter: brightness(0);
    margin-right: 5px;
}

#spoki-support svg {
    margin-right: 5px;
    height: 14px;
}

#spoki-feedback a, #spoki-support a {
    color: black;
    font-weight: normal;
    text-decoration: none;
    line-height: 1;
    height: auto;
    display: flex;
    align-items: center;
}

#spoki-support a {
    color: white;
    font-weight: normal;
}

#spoki-feedback a:hover, #spoki-support a:hover {
    opacity: 0.75;
}

.spoki-phone-container {
    display: flex;
    max-width: 350px;
}

.spoki-phone-container input:first-child {
    width: 70px !important;
}

.spoki-badge {
    font-size: 10px;
    border-radius: 12px;
    padding: 0 8px;
    background-color: #16D46D;
    margin: 0 0 0 0.5rem;
    color: black;
    font-weight: normal;
    white-space: nowrap;
    width: max-content;
    box-sizing: border-box;
}

@media only screen and (max-width: 767px) {
    .flex-direction-xs-column {
        flex-direction: column;
    }

    .w-xs-100 {
        width: 100%;
    }
}