/* === Date Picker Custom === */
.gf-date-picker-container {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0px 10px 14px 0px rgba(15, 42, 81, 0.03);
    padding: 10px;
    min-width: 260px;
}

.gf-date-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    margin-bottom: 8px;
}

.gf-date-picker-month {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #2c2d30;
    letter-spacing: -0.13px;
}

.gf-date-picker-nav {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 6px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.15s;
}

.gf-date-picker-nav:hover {
    background: #f5f5f5;
}

.gf-date-picker-days {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.gf-date-picker-day-header {
    width: 38px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #676a72;
    font-weight: 400;
}

.gf-date-picker-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 8px;
}

.gf-date-picker-day-empty {
    width: 38px;
    height: 32px;
}

.gf-date-picker-day {
    width: 38px;
    height: 32px;
    border-radius: 6px;
    background: #fff;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #2c2d30;
    font-weight: 400;
    cursor: pointer;
    margin: 0;
    padding: 0;
    transition: background 0.15s, color 0.15s;
}

.gf-date-picker-day.selected {
    background: #117050;
    color: #fff;
    font-weight: 500;
}

.gf-date-picker-day:hover {
    background: #f5f5f5;
}

.gf-date-picker-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 8px;
}

/* === Estilo para input de fecha en filtros === */
.gf-filter-date-input {
    width: 100%;
    padding: 8px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #393b40;
    background: #fff;
    border: 1px solid #dcddde;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.gf-filter-date-input:focus {
    border-color: #117050;
    box-shadow: 0 0 0 2px rgba(17, 112, 80, 0.1);
}

.gf-filter-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 10px 12px 0 12px;
}

.gf-filter-action-btn {
    padding: 6px 16px;
    background: #117050;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.gf-filter-action-btn:hover {
    background: #0e5c41;
}

/* ===============================================
   GF COMPONENTS - Global Styles
   Garces Fruit Design System
   =============================================== */

/* === GF DATA TABLE COMPONENT === */
.gf-data-table {
    background-color: #ffffff;
    border-radius: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: visible;
    border: 1px solid #eeeeee;
}

/* Table Header (Search + Filters) */
.gf-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #eeeeee;
    gap: 20px;
    flex-wrap: wrap;
}

.gf-search-container {
    display: flex;
    gap: 0;
    padding-right: 20px;
}

/* Search Field Selector */
.gf-search-field-selector {
    display: flex;
    align-items: center;
}

.gf-search-field-select {
    height: 34px;
    padding: 0 10px;
    border: 1px solid #eeeeee;
    border-right: none;
    border-radius: 6px 0 0 6px;
    background-color: #f8f8f8;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #393b40;
    cursor: pointer;
    outline: none;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
    transition: border-color 0.2s ease, background-color 0.2s ease;
    min-width: 140px;
}

.gf-search-field-select:hover {
    background-color: #f0f0f0;
}

.gf-search-field-select:focus {
    border-color: #117050;
    background-color: #ffffff;
}

/* Search Input when used with field selector */
.gf-search-field-selector+.gf-search-input {
    border-radius: 0 6px 6px 0;
}

.gf-search-input {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    padding: 10px 12px;
    width: 200px;
    height: 34px;
    box-sizing: border-box;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
    transition: border-color 0.2s ease;
}

.gf-search-input:focus-within {
    border-color: #117050;
}

.gf-search-icon {
    color: #8e9198;
    font-size: 16px;
}

.gf-search-input input {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 14px;
    color: #393b40;
    width: 100%;
}

.gf-search-input input::placeholder {
    color: #8e9198;
}

.gf-filters-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Table Container */
.gf-table-container {
    overflow-x: auto;
    overflow-y: hidden;
}

.gf-table-container::-webkit-scrollbar {
    height: 6px;
}

.gf-table-container::-webkit-scrollbar-track {
    background: #f9f9f9;
}

.gf-table-container::-webkit-scrollbar-thumb {
    background: #cbced3;
    border-radius: 3px;
}

/* Table */
.gf-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

/* Table Header Row */
.gf-table-header-row {
    background-color: #fafafa;
}

.gf-th {
    height: 40px;
    padding: 0 14px;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 14px;
    color: #393b40;
    border-bottom: 1px solid #eeeeee;
    white-space: nowrap;
}

.gf-th-content {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gf-th-text {
    flex: 1;
}

.gf-th-sortable {
    cursor: pointer;
    user-select: none;
}

.gf-th-sortable:hover {
    background-color: #f9f9f9;
}

.gf-sort-icon {
    display: flex;
    align-items: center;
    color: #a5a8ad;
}

.gf-sort-icon .material-icons {
    font-size: 14px;
}

.gf-sort-icon.sort-asc .material-icons {
    color: #117050;
}

.gf-sort-icon.sort-desc .material-icons {
    color: #117050;
    transform: rotate(180deg);
}

.gf-th-expander {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
    padding: 0;
}

.gf-th-selection {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
    text-align: center;
    padding: 0;
}

.gf-th-actions {
    text-align: left;
}

/* Table Rows */
.gf-table-row {
    transition: background-color 0.15s ease;
}

.gf-table-row:hover {
    background-color: #fafafa;
}

.gf-table-row.gf-row-expanded {
    background-color: #fafafa;
}

.gf-table-row.gf-row-selected {
    background-color: rgba(17, 112, 80, 0.05);
}

/* Table Cells */
.gf-td {
    height: 56px;
    padding: 0 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    color: #2c2d30;
    border-bottom: 1px solid #eeeeee;
    vertical-align: middle;
}

.gf-td-expander {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
    padding: 0;
    text-align: center;
}

.gf-td-selection {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
    text-align: center;
    padding: 0;
}

.gf-td-actions {
    text-align: left;
}

/* Cell Content */
.gf-cell-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gf-cell-content.datawithicon {
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.gf-cell-text {
    max-height: 28px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gf-cell-secondary {
    font-size: 12px;
    line-height: 12px;
    color: #676a72;
}

.gf-cell-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.gf-cell-icon img {
    max-width: 100%;
    max-height: 100%;
}

/* Tags */
.gf-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 12px;
}

.gf-tag.tag-success,
.tag-success {
    background-color: #e7f2ff !important;
    color: #0d4b94 !important;
}

.gf-tag.tag-danger,
.tag-danger {
    background-color: #fef2f4 !important;
    color: #ED143B !important;
}

.gf-tag.tag-warning,
.tag-warning {
    background-color: #fff8e6 !important;
    color: #b38600 !important;
}

.gf-tag.tag-info,
.tag-info {
    background-color: #e8f4fd !important;
    color: #0284c7 !important;
}

/* Checkbox */
.gf-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gf-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1px solid #dcddde;
    border-radius: 4px;
    background-color: #ffffff;
    cursor: pointer;
    accent-color: #117050;
}

/* Expand Button */
.gf-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #8e9198;
    transition: color 0.15s ease;
}

.gf-expand-btn:hover {
    color: #393b40;
}

.gf-expand-btn .material-icons {
    font-size: 16px;
}

/* Actions */
.gf-actions-default {
    display: flex;
    gap: 4px;
    align-items: center;
}

.gf-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 6px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gf-action-btn:hover {
    background-color: #f9f9f9;
}

.gf-action-btn .material-icons {
    font-size: 16px;
    color: #676a72;
}

.gf-action-delete .material-icons {
    color: #ED143B;
}

.gf-action-edit:hover {
    background-color: rgba(17, 112, 80, 0.1);
    border-color: #117050;
}

.gf-action-edit:hover .material-icons {
    color: #117050;
}

.gf-action-delete:hover {
    background-color: #fef2f4;
    border-color: #ED143B;
}

/* View Action - Diseño Figma exacto */
.gf-action-view {
    background-color: #ffffff;
    border: none;
    padding: 6px;
    border-radius: 6px;
}

.gf-action-view .material-icons {
    font-size: 16px;
    color: #676a72;
}

.gf-action-view:hover {
    background-color: #f4f4f4;
}

.gf-action-view:hover .material-icons {
    color: #2c2d30;
}

/* Download Action */
.gf-action-download {
    background-color: #ffffff;
    border: none;
    padding: 6px;
    border-radius: 6px;
}

.gf-action-download .material-icons {
    font-size: 16px;
    color: #676a72;
}

.gf-action-download:hover {
    background-color: #f4f4f4;
}

.gf-action-download:hover .material-icons {
    color: #2c2d30;
}

/* Detail Row */
.gf-detail-row {
    background-color: #fafafa;
}

.gf-detail-content {
    padding: 16px 24px;
}

/* Empty State - Diseño Figma */
.gf-empty-row td {
    padding: 0;
}

.gf-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    gap: 16px;
    min-height: 350px;
}

/* Contenedor del icono circular */
.gf-empty-icon-container {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #bcbfc5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gf-empty-icon-container .gf-empty-icon {
    font-size: 24px;
    color: #8e9198;
}

.gf-empty-message {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 14px;
    letter-spacing: -0.13px;
    color: #000000;
    text-align: center;
    margin: 0;
}

/* Botón Borrar filtros estilo Figma */
.gf-empty-clear-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    height: 28px;
    background-color: #117050;
    border: none;
    border-radius: 99px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 12px;
    color: #ffffff;
    transition: background-color 0.2s ease;
}

.gf-empty-clear-button:hover {
    background-color: #0d5a40;
}

.gf-empty-clear-button:active {
    background-color: #094a34;
}

/* Skeleton Loading */
.gf-skeleton-row {
    animation: gf-skeleton-pulse 1.5s ease-in-out infinite;
}

.gf-skeleton {
    height: 14px;
    background: linear-gradient(90deg, #eeeeee 25%, #f9f9f9 50%, #eeeeee 75%);
    background-size: 200% 100%;
    animation: gf-skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
    width: 80%;
}

@keyframes gf-skeleton-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes gf-skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Horizontal Scrollbar */
.gf-horizontal-scrollbar {
    padding: 2px;
    background-color: #f9f9f9;
}

.gf-scrollbar-track {
    height: 4px;
    background-color: #eeeeee;
    border-radius: 2px;
}

.gf-scrollbar-thumb {
    height: 100%;
    background-color: #117050;
    border-radius: 2px;
}

/* Pagination */
.gf-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid #eeeeee;
}

.gf-pagination-left,
.gf-pagination-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gf-pagination-right {
    gap: 16px;
}

.gf-pagination-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 14px;
    color: #8e9198;
    letter-spacing: -0.13px;
}

.gf-pagination-info {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 14px;
    color: #8e9198;
    letter-spacing: -0.13px;
}

.gf-page-size-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.gf-page-size-selector select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fafafa;
    border: 1px solid #dcddde;
    border-radius: 6px;
    padding: 8px 30px 8px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 12px;
    color: #393b40;
    cursor: pointer;
    outline: none;
}

.gf-page-size-selector select:focus {
    border-color: #117050;
}

.gf-page-size-selector .material-icons {
    position: absolute;
    right: 6px;
    pointer-events: none;
    font-size: 14px;
    color: #8e9198;
}

.gf-pagination-buttons {
    display: flex;
    align-items: center;
    gap: 2px;
}

.gf-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 8px 12px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    color: #8e9198;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gf-page-btn:hover:not(:disabled) {
    background-color: #f9f9f9;
}

.gf-page-btn:disabled {
    cursor: not-allowed;
    color: #cbced3;
}

.gf-page-btn.active {
    background-color: #eeeeee;
    color: #393b40;
    font-weight: 500;
}

.gf-page-btn .material-icons {
    font-size: 16px;
}

/* === GF FILTER DROPDOWN COMPONENT === */
.gf-filter-dropdown {
    position: relative;
    display: inline-flex;
}

.gf-filter-button {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 10px 12px;
    background-color: #ffffff;
    border: 1px solid #dcddde;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 14px;
    color: #393b40;
    cursor: pointer;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    justify-content: space-between;
}

.gf-filter-button:hover {
    border-color: #cbced3;
}

.gf-filter-button:focus {
    outline: none;
    border-color: #117050;
    box-shadow: 0 0 0 2px rgba(17, 112, 80, 0.1);
}

.gf-filter-dropdown.open .gf-filter-button {
    border-color: #117050;
}

.gf-filter-icon {
    font-size: 16px;
    color: #8e9198;
}

.gf-filter-text {
    flex: 1;
}

.gf-filter-arrow {
    font-size: 14px;
    color: #8e9198;
    transition: transform 0.2s ease;
}

.gf-filter-dropdown.open .gf-filter-arrow {
    transform: rotate(180deg);
}

/* Filter Dropdown Menu */
.gf-filter-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    max-width: 300px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    overflow: visible;
    animation: gf-dropdownFadeIn 0.15s ease;
}

@keyframes gf-dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gf-filter-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #eeeeee;
}

.gf-filter-search .material-icons {
    font-size: 16px;
    color: #8e9198;
}

.gf-filter-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #393b40;
}

.gf-filter-search input::placeholder {
    color: #8e9198;
}

.gf-filter-options {
    max-height: 200px;
    overflow-y: auto;
}

.gf-filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 14px;
    color: #393b40;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease;
}

.gf-filter-option:hover {
    background-color: #fafafa;
}

.gf-filter-option.active {
    background-color: rgba(17, 112, 80, 0.1);
    color: #117050;
    font-weight: 500;
}

.gf-option-icon {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #8e9198;
}

.gf-filter-option.active .gf-option-icon {
    color: #117050;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .gf-table-header {
        flex-direction: column;
        align-items: stretch;
    }

    .gf-search-container {
        padding-right: 0;
    }

    .gf-search-input {
        width: 100%;
    }

    .gf-filters-container {
        flex-wrap: wrap;
    }

    .gf-pagination {
        flex-direction: column;
        gap: 16px;
    }

    .gf-pagination-left,
    .gf-pagination-right {
        width: 100%;
        justify-content: center;
    }

    .gf-filters-container {
        grid-template-columns: 1fr;
    }

    .gf-filters-container .gf-filter-dropdown {
        grid-column: 1 / -1;
        width: 100%;
    }

    .gf-filters-container .gf-filter-dropdown .gf-filter-button {
        width: 100% !important;
    }

    .gf-filters-container .gf-filter-button {
        width: 100% !important;
    }

    .gf-filters-container .rz-form-field.rz-variant-outlined {
        width: 100%;
    }
}

/* ===============================================
   GF EDIT DRAWER COMPONENT
   =============================================== */

/* Overlay */
.gf-drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3.5px);
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    z-index: 1000;
    animation: gf-fadeIn 0.2s ease;
}

@keyframes gf-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Drawer Container */
.gf-drawer-container {
    display: flex;
    flex-direction: column;
    /*width: 65%;*/
    width: 80%;
    max-width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    box-shadow: 0px 10px 14px 0px rgba(15, 42, 81, 0.03);
    overflow: hidden;
    animation: gf-slideIn 0.3s ease;
}

@keyframes gf-slideIn {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Drawer Header */
.gf-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #f4f4f4;
    flex-shrink: 0;
}

.gf-drawer-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    color: #2c2d30;
    margin: 0;
}

.gf-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 7px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.gf-drawer-close:hover {
    background-color: #f4f4f4;
}

.gf-drawer-close .material-icons {
    font-size: 18px;
    color: #8e9198;
}

/* Drawer Body */
.gf-drawer-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Drawer Content (Form) */
.gf-drawer-content {
    flex: 1;
    overflow-y: auto;
    border-right: 1px solid #f4f4f4;
}

.gf-drawer-form-sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

.gf-form-help {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-line;
}

/* Drawer Summary Panel */
.gf-drawer-summary {
    width: 320px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    overflow-y: auto;
}

.gf-summary-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eeeeee;
}

.gf-summary-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 14px;
    color: #000000;
    letter-spacing: -0.13px;
}

.gf-summary-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Drawer Footer */
.gf-drawer-footer {
    display: flex;
    align-items: center;
    padding: 16px;
    border-top: 1px solid #f4f4f4;
    background-color: #ffffff;
    flex-shrink: 0;
}

.gf-drawer-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.gf-btn-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 13px 20px;
    background: transparent;
    border: none;
    border-radius: 99px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: -0.13px;
    color: #2c2d30;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.gf-btn-cancel:hover {
    background-color: #f4f4f4;
}

.gf-btn-cancel.disabled,
.gf-btn-cancel:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.gf-btn-save {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 13px 20px;
    background-color: #117050;
    border: none;
    border-radius: 99px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: -0.13px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.gf-btn-save:hover:not(.disabled) {
    background-color: #0d5a40;
}

.gf-btn-save.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gf-btn-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: gf-spin 0.8s linear infinite;
}

@keyframes gf-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===============================================
   GF ACCORDION COMPONENT
   =============================================== */

.gf-accordion {
    border: 1px solid #eeeeee;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
}

.gf-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eeeeee;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.gf-accordion.collapsed .gf-accordion-header {
    border-bottom: none;
}

.gf-accordion-header:hover {
    background-color: #f4f4f4;
}

.gf-accordion-header-disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.gf-accordion-header-disabled:hover {
    background-color: #f9f9f9;
}

.gf-accordion-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 14px;
    color: #000000;
    letter-spacing: -0.13px;
}

.gf-accordion-icon {
    font-size: 16px;
    color: #676a72;
    transition: transform 0.2s ease;
}

.gf-accordion-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.gf-accordion-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gf-accordion-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.gf-btn-next {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 11px 16px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 99px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    color: #676a72;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gf-btn-next:hover:not(.disabled) {
    border-color: #117050;
    color: #117050;
}

.gf-btn-next.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===============================================
   GF SUMMARY GROUP COMPONENT
   =============================================== */

.gf-summary-group {
    display: flex;
    flex-direction: column;
}

.gf-summary-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding-bottom: 8px;
}

.gf-summary-group-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 14px;
    color: #000000;
}

.gf-summary-group-icon {
    font-size: 16px;
    color: #676a72;
    transition: transform 0.2s ease;
}

.gf-summary-group-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ===============================================
   GF SUMMARY ITEM COMPONENT
   =============================================== */

.gf-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid #eeeeee;
}

.gf-summary-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    color: #2c2d30;
}

.gf-summary-value {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    color: #676a72;
}

.gf-summary-value.empty {
    color: #8e9198;
}

/* ===============================================
   GF FORM FIELD STYLES (for drawer forms)
   =============================================== */

.gf-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.gf-form-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.gf-form-row .gf-form-group {
    flex: 1;
}

.gf-form-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    color: #000000;
}

.gf-form-label .required {
    color: #ED143B;
}

.gf-form-input {
    width: 100%;
    height: 34px;
    padding: 10px 12px;
    background-color: #ffffff;
    border: 1px solid #dcddde;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 14px;
    color: #393b40;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gf-form-input::placeholder {
    color: #8e9198;
}

.gf-form-input:focus {
    outline: none;
    border-color: #117050;
    box-shadow: 0 0 0 3px rgba(17, 112, 80, 0.1);
}

.gf-form-input.error {
    border-color: #ED143B;
}

.gf-form-input-readonly,
.gf-form-input[readonly],
.gf-form-select[disabled] {
    background-color: #f5f5f5 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.gf-form-select {
    width: 100%;
    height: 34px;
    padding: 10px 32px 10px 12px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%238e9198'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    border: 1px solid #dcddde;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 14px;
    color: #393b40;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.gf-form-select:focus {
    outline: none;
    border-color: #117050;
}

.gf-form-textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px 12px;
    background-color: #ffffff;
    border: 1px solid #dcddde;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: #393b40;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.gf-form-textarea:focus {
    outline: none;
    border-color: #117050;
}

.gf-form-error {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 14px;
    color: #ED143B;
}

/* Toggle/Switch field */
.gf-form-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gf-toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: #dcddde;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.gf-toggle-switch.active {
    background-color: #117050;
}

.gf-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.gf-toggle-switch.active::after {
    transform: translateX(20px);
}

.gf-toggle-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 14px;
    color: #393b40;
}

/* ===============================================
   RESPONSIVE DRAWER
   =============================================== */

@media (max-width: 1024px) {
    .gf-drawer-container {
        width: 100%;
        max-width: 100%;
    }

    .gf-drawer-summary {
        display: none;
    }
}

@media (max-width: 768px) {
    .gf-drawer-overlay {
        padding: 0;
    }

    .gf-drawer-container {
        border-radius: 0;
        height: 100vh;
    }

    .gf-drawer-title {
        font-size: 16px;
    }

    .gf-form-row {
        flex-direction: column;
    }
}

/* === GF MULTISELECT COMPONENT === */
.gf-multiselect-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gf-multiselect-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 0;
    padding: 0;
    border: none;
    background-color: transparent;
}


.gf-taginput-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.gf-multiselect-selected:empty {
    display: none;
}

.gf-multiselect-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #c8e6c9;
    transition: background-color 0.15s ease;
}

.gf-multiselect-tag:hover {
    background-color: #c8e6c9;
}

.gf-multiselect-tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: none;
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    color: #2e7d32;
    transition: color 0.15s ease;
    line-height: 1;
}

.gf-multiselect-tag-remove:hover {
    color: #1b5e20;
}

.gf-multiselect-tag-remove .material-icons {
    font-size: 14px;
}

.gf-multiselect-add {
    cursor: pointer;
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    color: #374151;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    transition: border-color 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.gf-multiselect-add:hover {
    border-color: #9ca3af;
}

.gf-multiselect-add:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.1);
}

/* === GF SUBTABLE (Expandable Rows) === */
.gf-subtable-container {
    padding: 16px;
    background-color: #f4f4f4;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.gf-subtable-inner {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    overflow: hidden;
}

.gf-subtable {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: fixed;
}

.gf-subtable-th {
    padding: 0 14px;
    height: 40px;
    text-align: left;
    font-weight: 400;
    color: #393b40;
    background-color: #fafafa;
    border-bottom: 1px solid #eeeeee;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
}

.gf-subtable-row {
    background-color: #ffffff;
    transition: background-color 0.15s ease;
}

.gf-subtable-row:hover {
    background-color: #fafafa;
}

.gf-subtable-row:not(:last-child) .gf-subtable-td {
    border-bottom: 1px solid #eeeeee;
}

.gf-subtable-td {
    padding: 0 14px;
    height: 48px;
    color: #2c2d30;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.gf-detail-row {
    background-color: transparent;
}

.gf-detail-row>td {
    padding: 0;
    border-bottom: none;
}

.gf-detail-content {
    padding: 5;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.gf-row-expanded {
    background-color: #ffffff;
}

.gf-row-expanded>td {
    border-bottom: none;
}

.gf-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 4px;
    color: #6b7280;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.gf-expand-btn:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.gf-expand-btn.expanded {
    color: #117050;
}

.gf-expand-btn .material-icons {
    font-size: 20px;
}

.gf-th-expander,
.gf-td-expander {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    padding: 0 8px !important;
}

/* ===============================================
   GF FILE UPLOAD COMPONENT
   =============================================== */

/* Dropzone State (sin archivo) */
.gf-file-upload-dropzone {
    background-color: #ffffff;
    border: 1px dashed #dcddde;
    border-radius: 8px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.gf-file-upload-dropzone:hover {
    border-color: #117050;
    background-color: rgba(17, 112, 80, 0.02);
}

.gf-file-upload-dropzone.dragging {
    border-color: #117050;
    background-color: rgba(17, 112, 80, 0.05);
}

.gf-file-upload-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.gf-file-upload-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gf-file-upload-icon::before {
    content: '';
    position: absolute;
    width: 44px;
    height: 38px;
    background-color: #ffffff;
    border: 2px solid #117050;
    border-radius: 6px;
    transform: rotate(-6deg);
}

.gf-file-upload-icon .material-icons {
    position: relative;
    z-index: 1;
    font-size: 18px;
    color: #117050;
}

.gf-file-upload-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.gf-file-upload-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    color: #2c2d30;
    text-align: center;
}

.gf-file-upload-hint {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #676a72;
}

.gf-file-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 8px 12px;
    background-color: #ffffff;
    border: 1px solid #dcddde;
    border-radius: 99px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 12px;
    color: #2c2d30;
    cursor: pointer;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.gf-file-upload-btn:hover {
    background-color: #f8f8f8;
    border-color: #c0c0c0;
}

/* Card State (archivo cargado) */
.gf-file-upload-card {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
}

.gf-file-upload-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.gf-file-upload-file-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gf-file-icon-pdf {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ed143b 0%, #ff6b6b 100%);
    border-radius: 4px;
}

.gf-file-icon-pdf span {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 7px;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.gf-file-upload-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gf-file-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    color: #2c2d30;
}

.gf-file-size {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #676a72;
}

.gf-file-delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.gf-file-delete-btn:hover {
    background-color: #fff5f5;
    border-color: #ed143b;
}

.gf-file-delete-btn .material-icons {
    font-size: 18px;
    color: #ed143b;
}

/* Progress state */
.gf-file-upload-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.gf-file-progress-bar {
    flex: 1;
    height: 4px;
    background-color: rgba(17, 112, 80, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.gf-file-progress-fill {
    height: 100%;
    background-color: #117050;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.gf-file-progress-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #676a72;
    min-width: 35px;
    text-align: right;
}

/* Error state */
.gf-file-upload-dropzone.error {
    border-color: #ed143b;
    background-color: rgba(237, 20, 59, 0.02);
}

.gf-file-upload-error {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #ed143b;
    margin-top: 4px;
}

/* ===============================================
   GF PROFILE DROPDOWN STYLES
   =============================================== */

/* Overlay para cerrar al hacer click fuera */
.gf-profile-dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

/* Contenedor principal del dropdown */
.gf-profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background-color: #ffffff;
    border: 1px solid #dcddde;
    border-radius: 12px;
    box-shadow: 0px 3px 11px 0px rgba(45, 72, 126, 0.1);
    overflow: hidden;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    animation: gf-dropdown-fade-in 0.15s ease-out;
}

@keyframes gf-dropdown-fade-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header con información del usuario */
.gf-profile-dropdown-header {
    padding: 16px;
    border-bottom: 1px solid #eeeeee;
}

.gf-profile-dropdown-user {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
}

.gf-profile-dropdown-avatar {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 100px;
    border: 1px solid #1379f0;
    overflow: hidden;
    padding: 0;
}

.gf-profile-dropdown-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gf-profile-dropdown-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.gf-profile-dropdown-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 14px;
    letter-spacing: -0.13px;
    color: #2c2d30;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gf-profile-dropdown-email {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 12px;
    color: #676a72;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gf-profile-dropdown-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gf-profile-dropdown-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 5px;
    background-color: #e7f2ff;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 10px;
    line-height: 10px;
    letter-spacing: -0.3px;
    color: #0d4b94;
}

/* Sección de opciones */
.gf-profile-dropdown-section {
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
}

.gf-profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background-color 0.15s ease;
}

.gf-profile-dropdown-item:hover {
    background-color: #f8f8f8;
}

.gf-profile-dropdown-item-icon {
    font-size: 18px;
    color: #676a72;
}

.gf-profile-dropdown-item-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #393b40;
    flex: 1;
}

/* Footer con botón de cerrar sesión */
.gf-profile-dropdown-footer {
    padding: 16px;
    padding-top: 8px;
    border-top: 1px solid #eeeeee;
}

.gf-profile-dropdown-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 34px;
    padding: 11px 16px;
    background-color: #ffffff;
    border: 1px solid #dcddde;
    border-radius: 99px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 12px;
    color: #2c2d30;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.gf-profile-dropdown-logout:hover {
    background-color: #f8f8f8;
    border-color: #c0c0c0;
}

/* ===============================================
   GF HTML VIEWER MODAL STYLES
   =============================================== */

/* Overlay */
.gf-html-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(3.5px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    z-index: 10000;
    padding: 20px;
}

/* Container */
.gf-html-modal-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 10px 14px 0px rgba(15, 42, 81, 0.03);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 803px;
    height: calc(100vh - 40px);
    overflow: hidden;
}

/* Header */
.gf-html-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    padding-right: 10px;
    border-bottom: 1px solid #f4f4f4;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 10;
}

.gf-html-modal-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    color: #2c2d30;
    margin: 0;
}

.gf-html-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #2c2d30;
    transition: background-color 0.2s ease;
}

.gf-html-modal-close:hover {
    background-color: #f4f4f4;
}

.gf-html-modal-close .material-icons {
    font-size: 18px;
}

/* HTML Viewer Container */
.gf-html-viewer-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #dcddde;
}

/* Toolbar */
.gf-html-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    gap: 16px;
    min-height: 44px;
}

.gf-html-toolbar-left,
.gf-html-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gf-html-toolbar-center {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gf-html-document-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #2c2d30;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gf-html-toolbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #5c5f66;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.gf-html-toolbar-btn:hover:not(:disabled) {
    background-color: #e9ecef;
    color: #2c2d30;
}

.gf-html-toolbar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gf-html-toolbar-btn .material-icons {
    font-size: 18px;
}

/* Zoom Control */
.gf-html-zoom-control {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 2px;
}

.gf-html-zoom-value {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #2c2d30;
    min-width: 40px;
    text-align: center;
}

/* Content Area */
.gf-html-content {
    flex: 1;
    overflow: auto;
    padding: 24px;
    display: flex;
    justify-content: center;
}

.gf-html-viewer {
    width: 100%;
    max-width: 100%;
    transition: transform 0.2s ease;
}

.gf-html-document {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 400px;
    height: 100%;
}

.gf-html-iframe {
    width: 100%;
    min-height: 500px;
    height: auto;
    border: none;
    background-color: #ffffff;
    height: 100%;
}

/* Loading State */
.gf-html-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #5c5f66;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 48px;
    background-color: #ffffff;
    border-radius: 4px;
}

.gf-html-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e9ecef;
    border-top-color: #117050;
    border-radius: 50%;
    animation: gf-html-spin 1s linear infinite;
}

@keyframes gf-html-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error State */
.gf-html-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #5c5f66;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 48px;
    background-color: #ffffff;
    border-radius: 4px;
}

.gf-html-error .material-icons {
    font-size: 48px;
    color: #ed143b;
}

/* ── Collapsible field types (CollapsibleMultiSelect, CollapsibleTagInput) ── */

.gf-collapsible-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gf-collapsible-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    color: #007D32;
    border: none;
    padding: 4px 0;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.gf-collapsible-add-btn:hover {
    opacity: 0.8;
}

.gf-collapsible-add-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background-color: #007D32;
    border-radius: 8px;
}

.gf-collapsible-add-icon svg {
    width: 20px;
    height: 20px;
}

.gf-collapsible-add-text {
    font-size: 14px;
    font-weight: 500;
    color: #007D32;
}

.gf-collapsible-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.gf-collapsible-tags {
    margin-top: 0;
}

.gf-collapsible-input-wrapper {
    flex: 1;
    min-width: 0;
}

.gf-collapsible-input {
    flex: 1;
    min-width: 0;
}

.gf-collapsible-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex-shrink: 0;
    padding: 0;
    background-color: #007D32;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #ffffff;
    transition: background-color 0.15s ease;
}

.gf-collapsible-submit-btn:hover {
    background-color: #0d5a3e;
}

.gf-collapsible-submit-btn svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

/* Selected text display in trigger */
.gf-ss-selected-display {
    color: #1a1a1a;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Locked items in dropdown (already committed) */
.gf-ss-item.locked {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.7;
    cursor: default;
}

.gf-ss-lock-icon {
    font-size: 16px;
    color: #007D32;
}

/* Empty State */
.gf-html-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #8e9198;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 48px;
    background-color: #ffffff;
    border-radius: 4px;
}

.gf-html-empty .material-icons {
    font-size: 48px;
    color: #dcddde;
}

/* Footer */
.gf-html-modal-footer {
    display: flex;
    align-items: center;
    padding: 20px;
    border-top: 1px solid #f4f4f4;
    background-color: #ffffff;
}

.gf-html-modal-footer .gf-btn-cancel {
    padding: 13px 20px;
    background: none;
    color: #2c2d30;
    border: none;
    border-radius: 99px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.gf-html-modal-footer .gf-btn-cancel:hover {
    background-color: #f4f4f4;
}

/* Responsive */
@media (max-width: 768px) {
    .gf-html-modal-overlay {
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
    }

    .gf-html-modal-container {
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .gf-html-toolbar {
        flex-wrap: wrap;
        padding: 8px;
    }

    .gf-html-toolbar-left,
    .gf-html-toolbar-center,
    .gf-html-toolbar-right {
        flex: none;
    }

    .gf-html-document-name {
        max-width: 100px;
        font-size: 12px;
    }

    .gf-html-content {
        padding: 16px;
    }
}

/* === Application Preview Styles (Collapsed View) === */
.gf-accordion-preview {
    padding: 16px;
    background: #fff;
}

.gf-application-preview-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.gf-application-preview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #fff;
    border: 1px solid #dcddde;
    border-radius: 8px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.gf-application-preview-item:hover {
    box-shadow: 0px 4px 8px rgba(15, 42, 81, 0.08);
    border-color: #117050;
}

.gf-application-preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gf-application-preview-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #676a72;
    letter-spacing: -0.12px;
}

.gf-application-preview-info {
    /*display: flex;*/
    display: table-column;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.gf-application-product-name {
    font-weight: 600;
    color: #2c2d30;
    letter-spacing: -0.14px;
    word-break: break-word;
}

.gf-application-separator {
    color: #dcddde;
}

.gf-application-date {
    font-weight: 400;
    color: #393b40;
    letter-spacing: -0.14px;
}

.gf-application-preview-carencia {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 24px;
}

@media (max-width: 600px) {
    .gf-application-preview-carencia {
        display: none;
    }
}

.gf-application-preview-actions {
    display: flex;
    gap: 8px;
}

.gf-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.gf-icon-btn:hover {
    background-color: transparent;
}

.gf-icon-btn .material-icons {
    font-size: 18px;
    color: #676a72;
}

.gf-icon-btn-delete:hover {
    background-color: transparent;
}

.gf-icon-btn-delete:hover .material-icons {
    color: #dc3545;
}

.gf-accordion-preview .gf-btn-secondary,
button.gf-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #dcddde;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #2c2d30;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.gf-accordion-preview .gf-btn-secondary:hover,
button.gf-btn-secondary:hover {
    background-color: #f5f5f5;
    border-color: #117050;
}

.gf-accordion-preview .gf-btn-secondary .material-icons,
button.gf-btn-secondary .material-icons {
    font-size: 18px;
}

button.gf-btn-add-application {
    display: flex;
    height: 34px;
    padding: 9px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: fit-content;
    border-radius: 20px;
}

.gf-add-application-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

/* =====================================================
   GFSearchableSelect – Dropdown de búsqueda
   ===================================================== */
.gf-ss-wrapper {
    position: relative;
    width: 100%;
}

.gf-ss-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 34px;
    padding: 0 10px 0 12px;
    background-color: #ffffff;
    border: 1px solid #dcddde;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #393b40;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gf-ss-trigger:hover {
    border-color: #9ca3af;
}

.gf-ss-trigger.open {
    border-color: #117050;
    box-shadow: 0 0 0 3px rgba(17, 112, 80, 0.1);
}

.gf-ss-trigger.error {
    border-color: #ED143B;
}

.gf-ss-trigger.disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.gf-ss-value {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gf-ss-value.gf-ss-placeholder {
    color: #8e9198;
}

.gf-ss-arrow {
    font-size: 18px !important;
    color: #8e9198;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.gf-ss-trigger.open .gf-ss-arrow {
    transform: rotate(180deg);
}

.gf-ss-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1998;
    background: transparent;
}

.gf-ss-dropdown {
    position: fixed;
    z-index: 1999;
    background-color: #ffffff;
    border: 1px solid #dcddde;
    border-radius: 6px;
    box-shadow: 0px 6px 16px 0px rgba(45, 72, 126, 0.15);
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-sizing: border-box;
    min-width: 180px;
}

.gf-ss-search-row {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    background-color: #f9fafb;
    border: 1px solid #dcddde;
    border-radius: 6px;
    flex-shrink: 0;
    box-sizing: border-box;
    margin-bottom: 2px;
}

.gf-ss-search-icon {
    font-size: 16px !important;
    color: #8e9198;
    flex-shrink: 0;
}

.gf-ss-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #2c2d30;
    padding: 0;
}

.gf-ss-search-input::placeholder {
    color: #8e9198;
}

.gf-ss-list {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.gf-ss-item {
    display: flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #2c2d30;
    cursor: pointer;
    transition: background-color 0.1s ease;
}

.gf-ss-item:hover {
    background-color: #f3f4f6;
}

.gf-ss-item.selected {
    background-color: #e6f2eb;
    color: #117050;
    font-weight: 500;
}

.gf-ss-item.selected:hover {
    background-color: #d4e9db;
}

.gf-ss-empty {
    padding: 10px 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #8e9198;
    text-align: center;
}