/* Hide assistants when attaching documents to entities */
[dusk="entity-types-search-input-result-0"],
[dusk="entity-types-search-input-result-1"],
[dusk="entity-types-search-input-result-2"] {
  display: none;
}


[dusk="documents-index-component"] [dusk="attach-button"],
[dusk="property-types-index-component"] [dusk="attach-button"],
[dusk="entity-documents-index-component"] [dusk="attach-button"],
[dusk="transactions-index-component"] [dusk="attach-button"] {
    display: none;
}

/* Repeater fixes */
[dusk="dropdown-teleported"] div div{
    min-width:200px !important;
}

[dusk="row-move-down-button"],
[dusk="row-move-up-button"]{
    display: none !important;
}

/* Header hide search and License */
header .inline-block.text-red-500.text-xs.font-bold.mt-1.text-center.uppercase,  [dusk="global-search-component"] {
    display: none !important;
}

/* titlos.com Nova UI branding */

[class*=rounded],
.form-input{
    border-radius: 0 !important;
}

body.bg-gray-100 {
    background: #F1F1F2;
}

header {
    height: 80px !important;
    /* background: #E6E7E8 !important; */
}

html:not(.dark) .text-gray-500{
    color: #000;
}

@media (min-width: 1024px) {
    .lg\:top-\[56px\] {
      top: 76px !important;
    }
}

[dusk="sidebar-menu"] button{
    padding-bottom: 8px;
    font-weight: 700;
    /* border-bottom: 1px solid; */
    border-radius: 0;

}

html:not(.dark) .hover\:bg-gray-200:hover {
    background-color: #E5E5E6 !important;
}

html:not(.dark) .group:hover .group-hover\:bg-gray-50 {
    background: #f2f2f2 !important;
}

html:not(.dark) [data-active-link="true"]{
    background: #FFED00 !important;
}

html:not(.dark) .link-default,
html:not(.dark) a.text-primary-500,
html:not(.dark) button.text-primary-500 span {
    border-radius:0;
    color: #000 !important;
    background: #FFED00;
}

html:not(.dark) .link-default:hover {
    opacity:0.7;
}

html:not(.dark) .bg-primary-500{
    background-color: #FFED00;
    color: #000;
    border:none !important;
}

html:not(.dark) .bg-primary-500:hover{
    background-color: #000 !important;
    color: #fff !important;
}

html:not(.dark) .bg-primary-500:hover .text-white{
    color: #fff !important;
}

html:not(.dark) [dusk="create-button"].text-primary-500{
    color: #000;
}

html:not(.dark) [dusk="create-button"].text-primary-500:hover{
    background-color: #FFED00;
}

html:not(.dark) .bg-gray-50 {
    background: #f2f2f2;
}

html:not(.dark) .bg-gray-100 {
    background-color: rgb(244, 244, 244);
}

html:not(.dark) .hover\:bg-gray-50:hover {
    background-color: #f2f2f2;
}

.group[data-state="checked"] svg [fill="currentColor"]{
    fill:#000;
}

html:not(.dark) [dusk="conditions"] + div button,
html:not(.dark) [dusk="options_list-add-key-value"]{
    color: #000 !important;
    background-color: #f2f2f2;
}

html:not(.dark) .bg-gray-50 .text-primary-500{
    color: #000;
}

html:not(.dark) .nova-translatable-locale-tabs .locale-tag.-active {
    border: none;
    color: #000 !important;
    background: #FFED00;
}

html:not(.dark) .text-primary-600.bg-primary-50{
    background-color: #000;
    color: #fff;
}

.bg-primary-500.text-white,
.bg-primary-500.text-white .text-white{
    color: #000;
}

td.o1-whitespace-nowrap,
td.o1-whitespace-nowrap .whitespace-nowrap{
    white-space: break-spaces;
}

.sidebar-menu [href^="http://app"],
.sidebar-menu [href^="https://app"] {
    font-weight: bolder;
    background: #fff;
}


html.dark .sidebar-menu [href^="http://app"],
html.dark .sidebar-menu [href^="https://app"] {
    background: #FFED00 !important;
    color: #000;
}

html:not(.dark) .checkbox:checked, html:not(.dark) .fake-checkbox-checked {
    background-color: rgba(var(--colors-primary-500));
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M0 0h16v16H0z'/%3E%3Cpath fill='%230F172A' fill-rule='nonzero' d='M5.695 7.28A1 1 0 0 0 4.28 8.696l2 2a1 1 0 0 0 1.414 0l4-4A1 1 0 0 0 10.28 5.28L6.988 8.574 5.695 7.28Z'/%3E%3C/g%3E%3C/svg%3E");
  }

[dusk="document-search-input-selected"]{
    align-items: start !important;
    overflow: hidden !important;
}

[dusk="document-search-input-results"]{
    max-height: 300px !important;
}

.o1-px-2.o1-py-2.o1-whitespace-nowrap.o1-cursor-pointer.dark\:bg-gray-800.group-hover\:bg-gray-50.dark\:group-hover\:bg-gray-900 {
    max-width: 200px;
}

.help-text {
    font-size: 0.875rem !important;
}
