@tailwind base;
@tailwind components;
@tailwind utilities;


button[type="button"], button[type="submit"], button.primary{
    @apply bg-[#164863] text-white p-2 text-sm font-semibold rounded-md flex w-full justify-center items-center text-center
}
button[type="submit"], button.primary{
    @apply bg-[#427D9D] rounded-md
}

/* Give a remote user a caret */
.collaboration-cursor__caret{
    border-left: 1px solid #0d0d0d;
    border-right: 1px solid #0d0d0d;
    margin-left: -1px;
    margin-right: -1px;
    pointer-events: none;
    position: relative;
    word-break: normal;
}
/* Render the username above the caret */
.collaboration-cursor__label {
    font-style: normal;
    font-weight: 600;
    left: -1px;
    line-height: normal;
    position: absolute;
    user-select: none;
    white-space: nowrap;
    font-size: 14px;
    color: #fff;
    top: -1.4em;
    border-radius: 6px;
    border-bottom-left-radius: 0;
    padding: 2px 6px;
    pointer-events: none;
}

.editor-btn{
    @apply mt-2 mb-4 border shadow-sm bg-gray-200 p-1
}
.editor-btn.active{
    @apply bg-gray-400 
}

.tiptap{
    &:focus-visible{
        outline: 0;
        @apply p-2
    }
    h2{
        @apply text-2xl
    }
}