.pill-identifier {
    max-width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    margin: 60px 0px;
    display: inline-block;
    width: 100%;
}
.pill-identifier h3 {
    margin-top: 0;
}

.pill-identifier .results {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.pill-card {
        border: 1px solid #e4e8ed;
    border-radius: 12px;
    padding: .75rem;
    background: #e4e8ed;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}
.pill-card h4 {
    margin: .25rem 0;
}
.pill-meta {
    font-size: .9em;
    color: #000000;
}

.pill-meta div {
    border-bottom: 1px solid #c0ccda;
    padding: 10px 0;
}

.pill-badges span {
    display: inline-block;
    margin-right: .4rem;
    padding: .2rem .5rem;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: .75em;
}
.pill-identifier .disclaimer {
    margin-top: .75rem;
    font-size: .85em;
    color: #6b7280;
}

.pill-search-form {
    background: #e4e8ed;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0%);
    max-width: 100%;
    margin: 1.5rem 0;
    width: 100%;
}

.pill-search-form form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    align-items: end;
}

.pill-search-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.pill-search-form input[type="text"],
.pill-search-form select {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
    height: 50px;
}

.pill-search-form input[type="text"]:focus,
.pill-search-form select:focus {
    outline: none;
    border-color: #2563eb; /* blue focus */
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}

.pill-search-form button {
    padding: 0.55rem 1.25rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pill-search-form button:hover {
    background: #1e40af;
}


.frmSearch {
    position: relative;
    width: 250px;
}

#search-box {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
}

#suggesstion-box {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    width: 100%;
    display: none;
    z-index: 9999;
}

#suggesstion-box div {
    padding: 10px;
    cursor: pointer;
}

#suggesstion-box div:hover {
    background-color: #e0e0e0;
}

/* Suggestion box styling */
#suggestion-box {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 9999;
    font-size: 14px;
    border-radius: 0 0 6px 6px;
}

/* Each suggestion item */
#suggestion-box div {
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* Hover effect */
#suggestion-box div:hover {
    background: #f0f0f0;
}

/* Parent container must be relative */
#pi_imprint {
    position: relative;
}

/* Ensure the form group wraps correctly */
.pill-search-form div {
    position: relative;
}
