/* Plugin-specific styles for guava/filament-clusters.
   Tailwind 3 preflight and compiled utility classes were stripped
   to stop clobbering Filament 5's default theme via CSS cascade. */

.guava-fi-cl-cluster.vertical > div > .fi-fo-component-ctn > div:not(:last-child) {
    border-inline-end-width: 0 !important;
    border-bottom-width: 1px !important;
}

.guava-fi-cl-cluster.horizontal > div > .fi-fo-component-ctn > div:not(:last-child) {
    border-bottom-width: 0 !important;
    border-inline-end-width: 1px !important;
}

.guava-fi-cl-cluster .fi-fo-component-ctn > div {
    --tw-border-opacity: 1 !important;
    border-color: rgba(var(--gray-200), var(--tw-border-opacity)) !important;
    padding-inline-end: 0 !important;
}

:is(.dark .guava-fi-cl-cluster .fi-fo-component-ctn > div) {
    border-color: #ffffff1a !important;
}

.guava-fi-cl-cluster:focus-within {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important;
    --tw-ring-color: rgba(var(--gray-950), 0.1) !important;
}

:is(.dark .guava-fi-cl-cluster:focus-within) {
    --tw-ring-color: #fff3 !important;
}

.guava-fi-cl-cluster .fi-input-wrp {
    background-color: initial !important;
}

.guava-fi-cl-cluster .fi-input-wrp:not(.ring-danger-600):not(.dark\:ring-danger-500) {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important;
}

.guava-fi-cl-cluster .fi-fo-component-ctn {
    gap: 0 !important;
}

.guava-fi-cl-cluster .fi-fo-component-ctn .fi-input-wrp {
    --tw-shadow: 0 0 #0000 !important;
    --tw-shadow-colored: 0 0 #0000 !important;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
}

.guava-fi-cl-cluster .fi-fo-component-ctn .fi-input-wrp:not(.guava-fi-cl-cluster):focus-within {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important;
}

@media (min-width: 640px) {
    .sm\:vertical.guava-fi-cl-cluster > div > .fi-fo-component-ctn > div:not(:last-child) {
        border-inline-end-width: 0 !important;
        border-bottom-width: 1px !important;
    }

    .sm\:horizontal.guava-fi-cl-cluster > div > .fi-fo-component-ctn > div:not(:last-child) {
        border-bottom-width: 0 !important;
        border-inline-end-width: 1px !important;
    }
}

@media (min-width: 768px) {
    .md\:vertical.guava-fi-cl-cluster > div > .fi-fo-component-ctn > div:not(:last-child) {
        border-inline-end-width: 0 !important;
        border-bottom-width: 1px !important;
    }

    .md\:horizontal.guava-fi-cl-cluster > div > .fi-fo-component-ctn > div:not(:last-child) {
        border-bottom-width: 0 !important;
        border-inline-end-width: 1px !important;
    }
}

@media (min-width: 1024px) {
    .lg\:vertical.guava-fi-cl-cluster > div > .fi-fo-component-ctn > div:not(:last-child) {
        border-inline-end-width: 0 !important;
        border-bottom-width: 1px !important;
    }

    .lg\:horizontal.guava-fi-cl-cluster > div > .fi-fo-component-ctn > div:not(:last-child) {
        border-bottom-width: 0 !important;
        border-inline-end-width: 1px !important;
    }
}

@media (min-width: 1280px) {
    .xl\:vertical.guava-fi-cl-cluster > div > .fi-fo-component-ctn > div:not(:last-child) {
        border-inline-end-width: 0 !important;
        border-bottom-width: 1px !important;
    }

    .xl\:horizontal.guava-fi-cl-cluster > div > .fi-fo-component-ctn > div:not(:last-child) {
        border-bottom-width: 0 !important;
        border-inline-end-width: 1px !important;
    }
}

@media (min-width: 1536px) {
    .\32xl\:vertical.guava-fi-cl-cluster > div > .fi-fo-component-ctn > div:not(:last-child) {
        border-inline-end-width: 0 !important;
        border-bottom-width: 1px !important;
    }

    .\32xl\:horizontal.guava-fi-cl-cluster > div > .fi-fo-component-ctn > div:not(:last-child) {
        border-bottom-width: 0 !important;
        border-inline-end-width: 1px !important;
    }
}
