/* /Shared/IconPicker.razor.rz.scp.css */
/* NetSpark/Shared/IconPicker.razor.css */

.icon-picker-container[b-j55dnu3dv3] {
    position: relative;
}

.icon-picker-dropdown[b-j55dnu3dv3] {
    position: absolute;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: .375rem;
    padding: 10px;
    margin-top: 5px;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    left: 0;
    top: 100%;
}

.icon-grid[b-j55dnu3dv3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 5px;
    padding: 5px 0;
}

.icon-item[b-j55dnu3dv3] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: .25rem;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    text-align: center;
}

    .icon-item i[b-j55dnu3dv3] {
        font-size: 1.25rem;
        color: #333;
    }

    .icon-item:hover[b-j55dnu3dv3] {
        background-color: #e9ecef;
        border-color: #007bff;
    }

    .icon-item.selected[b-j55dnu3dv3] {
        background-color: #007bff;
        color: #fff;
        border-color: #007bff;
    }

        .icon-item.selected i[b-j55dnu3dv3] {
            color: #fff;
        }

.icon-search-bar input[b-j55dnu3dv3] {
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
}
/* /Shared/IconPickerModal.razor.rz.scp.css */
/* NetSpark/Shared/IconPickerModal.razor.css */

.modal-backdrop[b-rakgm10cfx] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: 1040; /* Standard Bootstrap z-index for backdrop */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.modal-content-custom[b-rakgm10cfx] {
    background-color: #f8f9fa; /* Light gray background, like Bootstrap's bg-light */
    border-radius: .75rem; /* Slightly more rounded corners */
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2); /* Stronger shadow for pop-up feel */
    padding: 20px;
    width: 90%; /* Responsive width */
    max-width: 500px; /* Smaller max-width for a compact feel */
    max-height: 80vh; /* Max height to fit viewport, allows scroll for content */
    display: flex;
    flex-direction: column; /* Stack header, body, footer vertically */
    z-index: 1050; /* Standard Bootstrap z-index for modal content */
    border: 1px solid rgba(0,0,0,.2); /* Subtle border */
}

.modal-header-custom[b-rakgm10cfx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef; /* Lighter border */
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.modal-title-custom[b-rakgm10cfx] {
    margin-bottom: 0;
    font-size: 1.5rem; /* Slightly larger title */
    color: #343a40; /* Darker text for title */
}

.modal-body-custom[b-rakgm10cfx] {
    flex-grow: 1; /* Allows it to take available space within the modal */
    overflow-y: auto; /* Enable vertical scrolling for the icon grid */
    padding-right: 10px; /* Space for scrollbar if present */
    padding-left: 5px; /* Adjust padding to match on both sides */
}

.modal-footer-custom[b-rakgm10cfx] {
    border-top: 1px solid #e9ecef; /* Lighter border */
    padding-top: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.icon-grid[b-rakgm10cfx] {
    display: grid;
    /* Create responsive columns: 50px min, 1fr max, auto-fill to fill row */
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); /* Adjusted for name below icon */
    gap: 8px; /* Space between icons */
    padding: 5px; /* Padding inside the grid container */
}

.icon-item[b-rakgm10cfx] {
    display: flex;
    flex-direction: column; /* Icon and text vertically aligned */
    justify-content: center;
    align-items: center;
    padding: 10px 5px;
    background-color: #fff; /* White background for each icon item */
    border: 1px solid #ced4da; /* Light gray border */
    border-radius: .375rem; /* Slightly rounded corners */
    cursor: pointer;
    transition: all 0.2s ease-in-out; /* Smooth transitions for hover/selection */
    text-align: center;
    word-break: break-word; /* Allow long icon names to wrap */
    height: 100px; /* Fixed height for consistent thumbnail grid */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Subtle shadow */
}

    .icon-item:hover[b-rakgm10cfx] {
        background-color: #e9ecef; /* Lighter gray on hover */
        border-color: #007bff; /* Bootstrap primary color on hover */
        transform: translateY(-2px); /* Slight lift on hover */
        box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* More pronounced shadow */
    }

    .icon-item i[b-rakgm10cfx] {
        font-size: 2.2rem; /* Larger icon size */
        color: #495057; /* Dark gray for icons */
        margin-bottom: 5px;
    }

    .icon-item span[b-rakgm10cfx] {
        font-size: 0.75rem;
        color: #6c757d; /* Medium gray for text */
        line-height: 1.2;
        overflow: hidden; /* Hide overflow text */
        text-overflow: ellipsis; /* Add ellipsis for long names */
        white-space: nowrap; /* Keep name on single line (if desired, or remove for wrapping) */
        display: block; /* Ensure span takes full width */
        max-width: 100%; /* Ensure it respects parent width */
    }

    .icon-item.selected[b-rakgm10cfx] {
        background-color: #007bff; /* Bootstrap primary blue for selected */
        color: #fff; /* White text for selected */
        border-color: #007bff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

        .icon-item.selected i[b-rakgm10cfx], .icon-item.selected span[b-rakgm10cfx] {
            color: #fff; /* White icon and text for selected */
        }

.icon-search-bar input[b-rakgm10cfx] {
    width: 100%;
    padding: 0.6rem 0.9rem; /* Slightly larger padding */
    font-size: 1rem;
    border-radius: 0.375rem; /* More rounded */
    border: 1px solid #ced4da;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.075); /* Subtle inset shadow */
}
