@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--bs-primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0);
    }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

label[required]:after {
    content: ' *';
    color: #EF4444;
}

.bg-legalio {
    background: linear-gradient(135deg, #1b2430, #1a1e27) !important;
}

.bg-legalio-dark {
    background: linear-gradient(135deg, #1b2430, #1a1e27) !important;
}

.sidebar {
    width: 60px !important;
}

.sidebar-wrapper {
    width: 60px;
    z-index: 1040;
    transition: width 0.2s ease;
    will-change: width;
}

.sidebar-wrapper.expanded,
.sidebar-wrapper.hover-expanded {
    width: 244px !important;
}

.main-content {
    transition: margin-left 0.2s ease;
    margin-left: 244px; /* Default to expanded state to match sidebar */
    will-change: margin-left;
}

/* Collapsed state - only when sidebar is not expanded */
.main-content.sidebar-collapsed {
    margin-left: 60px;
}

.main-content.no-transition,
.main-content.no-transition * {
    transition: none !important;
}

.sidebar-wrapper.no-transition,
.sidebar-wrapper.no-transition * {
    transition: none !important;
}

/* Prevent flash of unstyled content during initialization */
.sidebar-wrapper.expanded {
    width: 244px !important;
}

.sidebar-wrapper.expanded .sidebar {
    width: 244px !important;
}

@media (max-width: 1199.98px) {
    .sidebar-wrapper {
        width: 244px !important;
        transform: translateX(-100%);
    }

    .main-content,
    .main-content.sidebar-collapsed {
        margin-left: 0 !important;
    }
}

.text-primary {
    color: #007bff;
}

.text-dark {
    color: #333;
}

.bg-light {
    background-color: #f8f9fa;
}

.rounded {
    border-radius: 0.25rem;
}

.p-3 {
    padding: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
}

.bg-success-subtle {
    background-color: #e8f5e9 !important;
}

.bg-warning-subtle {
    background-color: #fff3e0 !important;
}

.text-success {
    color: #2e7d32 !important;
}

.text-warning {
    color: #f57c00 !important;
}

/* Matter index specific styles */
.table > :not(caption) > * > * {
    padding: 1rem 0.75rem;
}

.table tbody tr {
    cursor: pointer;
}

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.progress {
    background-color: #e9ecef;
    border-radius: 1rem;
}

.progress-bar {
    border-radius: 1rem;
}

.form-select, .form-control {
    border-color: #dee2e6;
}

.input-group-text {
    border-color: #dee2e6;
}

.table > thead.table-light {
    background-color: #f8f9fa;
}

.table > thead.table-light th {
    font-weight: 500;
    color: #6c757d;
    border-bottom-width: 1px;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: var(--bs-nav-pills-link-active-bg) !important;
    color: var(--bs-nav-pills-link-active-color) !important;
}

.nav-pills .nav-link.active {
    background-color: rgb(219 234 254) !important;
    color: rgb(37 99 235) !important;
}

.bg-linear-gradient-light {
    background: linear-gradient(to bottom, #ebf5ff, #ffffff);
}

[data-bs-theme=dark] .bg-linear-gradient-light {
    background: linear-gradient(to bottom, #1a1e27, #1c212b);
}

.opacity-0 {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rate Obfuscation Styles for Non-Customers */
.obfuscated-rate {
    filter: blur(4px);
    -webkit-filter: blur(4px);
    user-select: none;
    pointer-events: none;
    transition: filter 0.3s ease;
}

.obfuscated-range {
    filter: blur(2px);
    -webkit-filter: blur(2px);
    opacity: 0.6;
    user-select: none;
    pointer-events: none;
    transition: filter 0.3s ease;
}

.role-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.role-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resource-card {
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: scale(1.02);
}

.ais-Breadcrumb-list,.ais-CurrentRefinements-list,.ais-HierarchicalMenu-list,.ais-Hits-list,.ais-InfiniteHits-list,.ais-InfiniteResults-list,.ais-Menu-list,.ais-NumericMenu-list,.ais-Pagination-list,.ais-RatingMenu-list,.ais-RefinementList-list,.ais-Results-list,.ais-ToggleRefinement-list {
    margin: 0;
    padding: 0;
    list-style: none
}

.ais-ClearRefinements-button,.ais-CurrentRefinements-delete,.ais-CurrentRefinements-reset,.ais-GeoSearch-redo,.ais-GeoSearch-reset,.ais-HierarchicalMenu-showMore,.ais-InfiniteHits-loadMore,.ais-InfiniteHits-loadPrevious,.ais-InfiniteResults-loadMore,.ais-Menu-showMore,.ais-RangeInput-submit,.ais-RefinementList-showMore,.ais-SearchBox-reset,.ais-SearchBox-submit,.ais-VoiceSearch-button {
    padding: 0;
    overflow: visible;
    font: inherit;
    line-height: normal;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.ais-ClearRefinements-button::-moz-focus-inner,.ais-CurrentRefinements-delete::-moz-focus-inner,.ais-CurrentRefinements-reset::-moz-focus-inner,.ais-GeoSearch-redo::-moz-focus-inner,.ais-GeoSearch-reset::-moz-focus-inner,.ais-HierarchicalMenu-showMore::-moz-focus-inner,.ais-InfiniteHits-loadMore::-moz-focus-inner,.ais-InfiniteHits-loadPrevious::-moz-focus-inner,.ais-InfiniteResults-loadMore::-moz-focus-inner,.ais-Menu-showMore::-moz-focus-inner,.ais-RangeInput-submit::-moz-focus-inner,.ais-RefinementList-showMore::-moz-focus-inner,.ais-SearchBox-reset::-moz-focus-inner,.ais-SearchBox-submit::-moz-focus-inner,.ais-VoiceSearch-button::-moz-focus-inner {
    padding: 0;
    border: 0
}

.ais-ClearRefinements-button[disabled],.ais-CurrentRefinements-delete[disabled],.ais-CurrentRefinements-reset[disabled],.ais-GeoSearch-redo[disabled],.ais-GeoSearch-reset[disabled],.ais-HierarchicalMenu-showMore[disabled],.ais-InfiniteHits-loadMore[disabled],.ais-InfiniteHits-loadPrevious[disabled],.ais-InfiniteResults-loadMore[disabled],.ais-Menu-showMore[disabled],.ais-RangeInput-submit[disabled],.ais-RefinementList-showMore[disabled],.ais-SearchBox-reset[disabled],.ais-SearchBox-submit[disabled],.ais-VoiceSearch-button[disabled] {
    cursor: default
}

.ais-HierarchicalMenu-showMore,.ais-InfiniteHits-loadMore,.ais-InfiniteHits-loadPrevious,.ais-Menu-showMore,.ais-RefinementList-showMore {
    overflow-anchor: none
}

.ais-Breadcrumb-item,.ais-Breadcrumb-list,.ais-Pagination-list,.ais-PoweredBy,.ais-RangeInput-form,.ais-RatingMenu-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.ais-GeoSearch,.ais-GeoSearch-map {
    height: 100%
}

.ais-HierarchicalMenu-list .ais-HierarchicalMenu-list {
    margin-left: 1em
}

.ais-PoweredBy-logo {
    display: block;
    height: 1.2em;
    width: auto
}

.ais-RatingMenu-starIcon {
    display: block;
    width: 20px;
    height: 20px
}

.ais-SearchBox-input::-ms-clear,.ais-SearchBox-input::-ms-reveal {
    display: none;
    width: 0;
    height: 0
}

.ais-SearchBox-input::-webkit-search-cancel-button,.ais-SearchBox-input::-webkit-search-decoration,.ais-SearchBox-input::-webkit-search-results-button,.ais-SearchBox-input::-webkit-search-results-decoration {
    display: none
}

.ais-RangeSlider .rheostat {
    overflow: visible;
    margin-top: 40px;
    margin-bottom: 40px
}

.ais-RangeSlider .rheostat-background {
    height: 6px;
    top: 0;
    width: 100%
}

.ais-RangeSlider .rheostat-handle {
    margin-left: -12px;
    top: -7px
}

.ais-RangeSlider .rheostat-background {
    position: relative;
    background-color: #fff;
    border: 1px solid #aaa
}

.ais-RangeSlider .rheostat-progress {
    position: absolute;
    top: 1px;
    height: 4px;
    background-color: #333
}

.rheostat-handle {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 50%;
    cursor: -webkit-grab;
    cursor: grab
}

.rheostat-marker {
    margin-left: -1px;
    position: absolute;
    width: 1px;
    height: 5px;
    background-color: #aaa
}

.rheostat-marker--large {
    height: 9px
}

.rheostat-value {
    padding-top: 15px
}

.rheostat-tooltip,.rheostat-value {
    margin-left: 50%;
    position: absolute;
    text-align: center;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
}

.rheostat-tooltip {
    top: -22px
}
