﻿/* ImslotSearch Component Styles */

.imslot-container {
    position: relative;
    width: 100%;
}

.imslot-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .imslot-input:focus {
        outline: none;
        border-color: #80bdff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

.imslot-results {
    position: absolute;
    width: 100%;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 4px 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 250px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    /* Hide dropdown when empty */
    .imslot-results:empty {
        display: none;
    }

    .imslot-results li {
        padding: 10px 12px;
        cursor: pointer;
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.15s ease-in-out;
    }

        .imslot-results li:last-child {
            border-bottom: none;
        }

        .imslot-results li:hover {
            background-color: #f8f9fa;
        }

    /* Scrollbar styling for the results list */
    .imslot-results::-webkit-scrollbar {
        width: 8px;
    }

    .imslot-results::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .imslot-results::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

        .imslot-results::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
