:root {
    --custom-logo-url: url('../images/Logo.svg'); /* Default logo */
}

html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.xaf-navmenu a .xaf-nav-link {
    text-decoration: revert !important;
}

.edit-icon {
    background-image: url("data:image/svg+xml,...");
}

.clear-icon {
    background-image: url("data:image/svg+xml,...");
}

/* The following is for the custom field picker */
.field-picker-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.selected-value-display {
    padding: 4px 4px;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .selected-value-display:hover {
        border-color: #a8a8a8;
    }

.dropdown-arrow {
    font-size: 10px;
    color: #666;
}

.property-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.search-box-container {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1001;
    padding: 4px;
    border-bottom: 1px solid #eaeaea;
}

.search-input {
    width: 100%;
    padding: 2px 10px;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    box-sizing: border-box;
}

    .search-input:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    }

.property-tree-container {
    overflow-y: auto;
    max-height: 250px;
}

.property-node {
    padding: 6px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .property-node:hover {
        background-color: #f5f5f5;
    }

.expand-toggle, .expand-spacer {
    margin-right: 6px;
    width: 16px;
    text-align: center;
    font-size: 10px;
    color: #666;
}

.expand-toggle {
    cursor: pointer;
}

.property-name {
    flex-grow: 1;
    margin-right: 8px;
}

.property-type {
    font-size: 0.85em;
    color: #666;
    font-style: italic;
}
/* End of custom field picker markup */