@import url("tokens.css");
@import url("foundation.css");
@import url("layout.css");
@import url("components.css");
@import url("components/card.css");
@import url("components/button.css");
@import url("components/kpi-card.css");
@import url("components/badge.css");
@import url("components/search.css");
@import url("components/showcase.css");
@import url("components/code.css");

.ef-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid;
    border-radius: 0.75rem;
}

.ef-alert-info {
    color: #084298;
    background: #e7f3ff;
    border-color: #b6d4fe;
}

.ef-alert-success {
    color: #0f5132;
    background: #d1e7dd;
    border-color: #badbcc;
}

.ef-alert-warning {
    color: #664d03;
    background: #fff3cd;
    border-color: #ffecb5;
}

.ef-alert-danger {
    color: #842029;
    background: #f8d7da;
    border-color: #f5c2c7;
}

.ef-alert-close {
    margin-left: auto;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    font-weight: 600;
    cursor: pointer;
}
.ef-empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 0.75rem;
}

.ef-empty-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    color: #0d6efd;
    background: #e7f1ff;
    border-radius: 50%;
    font-size: 1.5rem;
}

.ef-empty-state-title {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.ef-empty-state-description {
    max-width: 34rem;
    margin: 0 auto 1.5rem;
    color: #6c757d;
}

.ef-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ef-pagination-pages {
    display: flex;
    gap: 0.25rem;
}

.ef-pagination .ef-pagination-page.is-active {
    color: #fff !important;
    background: #0d6efd !important;
    border-color: #0d6efd !important;
}

.ef-pagination .ef-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.ef-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid #dee2e6;
}

.ef-tab {
    padding: 0.75rem 1rem;
    color: #495057;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    cursor: pointer;
}

.ef-tab.is-active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
}

.ef-tab-panel {
    padding: 1.5rem 0;
}
.ef-stepper {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ef-step {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 0.5rem;
}

.ef-step:not(:last-child)::after {
    flex: 1;
    height: 2px;
    background: #dee2e6;
    content: "";
}

.ef-step.is-complete:not(:last-child)::after {
    background: #198754;
}

.ef-step-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    color: #6c757d;
    background: transparent;
    border: 0;
    font-weight: 600;
    cursor: pointer;
}

.ef-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #495057;
    background: #e9ecef;
    border-radius: 50%;
}

.ef-step.is-complete .ef-step-number {
    color: #fff;
    background: #198754;
}

.ef-step.is-active .ef-step-number {
    color: #fff;
    background: #0d6efd;
}

.ef-step.is-active .ef-step-button {
    color: #0d6efd;
}
.ef-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ef-timeline-item {
    position: relative;
    padding: 0 0 1.5rem 2.5rem;
}

.ef-timeline-item:not(:last-child)::before {
    position: absolute;
    top: 1.5rem;
    bottom: 0;
    left: 0.7rem;
    width: 2px;
    background: #dee2e6;
    content: "";
}

.ef-timeline-marker {
    position: absolute;
    top: 0.25rem;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
    background: #0d6efd;
    border-radius: 50%;
}

.ef-timeline-marker.is-success {
    background: #198754;
}

.ef-timeline-marker.is-warning {
    background: #d39e00;
}

.ef-timeline-title {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.ef-timeline-time {
    display: block;
    margin-bottom: 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.ef-file-upload {
    padding: 2rem;
    text-align: center;
    background: #fff;
    border: 2px dashed #cbd5e1;
    border-radius: 0.75rem;
}

.ef-file-upload.is-dragover {
    background: #e7f1ff;
    border-color: #0d6efd;
}

.ef-file-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.ef-file-upload-icon {
    margin-bottom: 1rem;
    color: #0d6efd;
    font-size: 2rem;
}

.ef-file-upload-files {
    max-width: 32rem;
    margin: 1.5rem auto 0;
    text-align: left;
}

.ef-filter-bar {
    display: flex;
    align-items: end;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
}

.ef-filter-field {
    min-width: 12rem;
    flex: 1 1 12rem;
}

.ef-filter-actions {
    display: flex;
    gap: 0.5rem;
}

.ef-accordion {
    overflow: hidden;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
}

.ef-accordion-item + .ef-accordion-item {
    border-top: 1px solid #dee2e6;
}

.ef-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
    color: #212529;
    background: #fff;
    border: 0;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.ef-accordion-trigger[aria-expanded="true"] {
    color: #0d6efd;
    background: #f8fafc;
}

.ef-accordion-icon {
    transition: transform 0.2s ease;
}

.ef-accordion-trigger[aria-expanded="true"] .ef-accordion-icon {
    transform: rotate(180deg);
}

.ef-accordion-panel {
    padding: 0 1rem 1rem;
}

.ef-progress {
    width: 100%;
    height: 1rem;
    overflow: hidden;
    background: #e9ecef;
    border-radius: 999px;
}

.ef-progress-bar {
    height: 100%;
    background: #0d6efd;
    border-radius: inherit;
    transition: width 0.25s ease;
}

.ef-progress-bar.is-success {
    background: #198754;
}

.ef-progress .ef-progress-bar.is-success {
    background: #198754 !important;
}
.ef-avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    overflow: hidden;
    color: #fff;
    background: #0d6efd;
    border-radius: 50%;
    font-weight: 600;
}

.ef-avatar-sm {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.ef-avatar-lg {
    width: 4rem;
    height: 4rem;
    font-size: 1.25rem;
}

.ef-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ef-avatar-status {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0.75rem;
    height: 0.75rem;
    background: #6c757d;
    border: 2px solid #fff;
    border-radius: 50%;
}

.ef-avatar-status.is-online {
    background: #198754;
}

.ef-skeleton {
    background: linear-gradient(
        90deg,
        #e9ecef 25%,
        #f8f9fa 50%,
        #e9ecef 75%
    );
    background-size: 200% 100%;
    border-radius: 0.375rem;
    animation: ef-skeleton-loading 1.5s infinite;
}

.ef-skeleton-title {
    width: 45%;
    height: 1.5rem;
}

.ef-skeleton-text {
    width: 100%;
    height: 1rem;
}

.ef-skeleton-text-short {
    width: 70%;
}

.ef-skeleton-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
}

@keyframes ef-skeleton-loading {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ef-skeleton {
        animation: none;
    }
}

.ef-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ef-breadcrumb-item {
    display: flex;
    align-items: center;
    color: #6c757d;
}

.ef-breadcrumb-item + .ef-breadcrumb-item::before {
    margin: 0 0.75rem;
    color: #adb5bd;
    content: "/";
}

.ef-breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
}

.ef-breadcrumb-item a:hover {
    text-decoration: underline;
}

.ef-breadcrumb-item[aria-current="page"] {
    color: #495057;
    font-weight: 600;
}
.ef-tooltip-wrapper {
    position: relative;
    display: inline-flex;
}

.ef-tooltip {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    left: 50%;
    z-index: 10;
    width: max-content;
    max-width: 16rem;
    padding: 0.5rem 0.75rem;
    color: #fff;
    background: #212529;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 0.25rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
    visibility: hidden;
}

.ef-tooltip-wrapper:hover .ef-tooltip,
.ef-tooltip-wrapper:focus-within .ef-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

.ef-form-field {
    max-width: 32rem;
}

.ef-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ef-form-help {
    display: block;
    margin-top: 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.ef-form-error {
    display: block;
    margin-top: 0.5rem;
    color: #dc3545;
    font-size: 0.875rem;
    font-weight: 600;
}

.ef-form-field.has-error .form-control {
    border-color: #dc3545;
}

.ef-notification-center {
    overflow: hidden;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
}

.ef-notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.ef-notification {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
}

.ef-notification + .ef-notification {
    border-top: 1px solid #dee2e6;
}

.ef-notification.is-unread {
    background: #f8fbff;
}

.ef-notification-marker {
    flex: 0 0 auto;
    width: 0.625rem;
    height: 0.625rem;
    margin-top: 0.4rem;
    background: transparent;
    border-radius: 50%;
}

.ef-notification.is-unread .ef-notification-marker {
    background: #0d6efd;
}

.ef-notification-title {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.ef-notification-time {
    color: #6c757d;
    font-size: 0.875rem;
}

.ef-drawer {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(100%, 28rem);
    max-width: none;
    height: 100dvh;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: -0.5rem 0 1.5rem rgb(0 0 0 / 15%);
}

.ef-drawer::backdrop {
    background: rgb(0 0 0 / 45%);
}

.ef-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #dee2e6;
}

.ef-drawer-body {
    padding: 1.25rem;
}

.ef-dropdown {
    position: relative;
    display: inline-block;
}

.ef-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 20;
    display: none;
    min-width: 12rem;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
}

.ef-dropdown.is-open .ef-dropdown-menu {
    display: block;
}

.ef-dropdown-item {
    display: block;
    width: 100%;
    padding: 0.625rem 0.75rem;
    color: #212529;
    background: transparent;
    border: 0;
    border-radius: 0.375rem;
    text-align: left;
    cursor: pointer;
}

.ef-dropdown-item:hover,
.ef-dropdown-item:focus {
    background: #f1f5f9;
    outline: 0;
}

.ef-dropdown-item.is-danger {
    color: #dc3545;
}

.ef-card:has(.ef-dropdown) {
    overflow: visible;
}

.ef-dropdown.is-open {
    z-index: 30;
}
@media (min-width: 992px) {
    .efds-component-nav {
        position: sticky;
        top: 1rem;
        max-height: calc(100vh - 2rem);
        padding-right: 0.25rem;
        overflow-y: auto;
    }
}
.ef-date-picker {
    max-width: 20rem;
}

.ef-date-picker-summary {
    margin-top: 1rem;
    color: #495057;
}

.ef-time-picker {
    max-width: 20rem;
}

.ef-time-picker-summary {
    margin-top: 1rem;
    color: #495057;
}

.ef-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.ef-toggle-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.ef-toggle-control {
    position: relative;
    flex: 0 0 auto;
    width: 3rem;
    height: 1.5rem;
    background: #6c757d;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ef-toggle-control::after {
    position: absolute;
    top: 0.1875rem;
    left: 0.1875rem;
    width: 1.125rem;
    height: 1.125rem;
    background: #fff;
    border-radius: 50%;
    content: "";
    transition: transform 0.2s ease;
}

.ef-toggle-input:checked + .ef-toggle-control {
    background: #0d6efd;
}

.ef-toggle-input:checked + .ef-toggle-control::after {
    transform: translateX(1.5rem);
}

.ef-toggle-input:focus-visible + .ef-toggle-control {
    outline: 3px solid rgb(13 110 253 / 35%);
    outline-offset: 3px;
}

.ef-quantity-input {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ef-quantity-input .form-control {
    width: 5rem;
    text-align: center;
}

.ef-segmented-control {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
}

.ef-segmented-option + .ef-segmented-option {
    border-left: 1px solid #ced4da;
}

.ef-segmented-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.ef-segmented-label {
    display: block;
    padding: 0.625rem 0.875rem;
    color: #495057;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

.ef-segmented-input:checked + .ef-segmented-label {
    color: #fff;
    background: #0d6efd;
}

.ef-segmented-input:focus-visible + .ef-segmented-label {
    outline: 3px solid rgb(13 110 253 / 35%);
    outline-offset: -3px;
}

.ef-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.ef-page-header-title {
    margin-bottom: 0.5rem;
}

.ef-page-header-description {
    margin-bottom: 0;
    color: #6c757d;
}

.ef-page-header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ef-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
}

.ef-toolbar-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ef-toolbar-search {
    min-width: 14rem;
}

.ef-date-range-picker {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 34rem;
}

.ef-date-range-picker-field {
    flex: 1 1 14rem;
}

.ef-tree,
.ef-tree-group {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ef-tree-group {
    padding-left: 1.5rem;
}

.ef-tree-node {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ef-tree-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.ef-tree-toggle[aria-expanded="true"] i {
    transform: rotate(90deg);
}

.ef-tree-toggle i {
    transition: transform 0.2s ease;
}

.ef-tree-label {
    padding: 0.375rem 0.5rem;
    color: #212529;
    background: transparent;
    border: 0;
    border-radius: 0.375rem;
    text-align: left;
    cursor: pointer;
}

.ef-tree-label:hover,
.ef-tree-label:focus {
    background: #f1f5f9;
    outline: 0;
}

.ef-tree-label.is-active {
    color: #fff;
    background: #0d6efd;
}

.ef-calendar {
    overflow: hidden;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
}

.ef-calendar-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.ef-calendar-weekdays,
.ef-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.ef-calendar-weekdays {
    background: #f8fafc;
    border-bottom: 1px solid #dee2e6;
}

.ef-calendar-weekday {
    padding: 0.75rem 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.ef-calendar-day {
    min-height: 6rem;
    padding: 0.5rem;
    color: #212529;
    background: #fff;
    border: 0;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    text-align: left;
    cursor: pointer;
}

.ef-calendar-day:hover,
.ef-calendar-day:focus {
    background: #f1f5f9;
    outline: 0;
}

.ef-calendar-day.is-selected {
    background: #e7f1ff;
    box-shadow: inset 0 0 0 2px #0d6efd;
}

.ef-calendar-day-number {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ef-calendar-event {
    display: block;
    overflow: hidden;
    padding: 0.25rem 0.375rem;
    color: #084298;
    background: #cfe2ff;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ef-kanban-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(16rem, 1fr));
    gap: 1rem;
    overflow-x: auto;
}

.ef-kanban-column {
    min-height: 18rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
}

.ef-kanban-column-title {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.ef-kanban-cards {
    display: grid;
    gap: 0.75rem;
}

.ef-kanban-card {
    padding: 1rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 5%);
}

.ef-kanban-card-title {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ef-bulk-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.875rem 1rem;
    color: #084298;
    background: #e7f1ff;
    border: 1px solid #b6d4fe;
    border-radius: 0.5rem;
}

.ef-bulk-action-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}