/* ============================================
   POS - Contact Dropdown Styles (Indigo Theme)
   ============================================ */

/* Dropdown container */
.pos-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    margin-top: 4px;
}

/* Each item row */
.pos-suggestion-item {
    padding: 4px 8px;
    cursor: pointer;
    border-bottom: 1px solid #F1F5F9;
    font-size: 12px;
    line-height: 1.4;
    transition: all .12s;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pos-suggestion-item:hover {
    background: #F5F3FF;
    border-left-color: #6366F1;
}

.pos-suggestion-item:last-child {
    border-bottom: none;
}

/* Horizontal layout row */
.pos-suggestion-row {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
}

/* Contact name */
.pos-suggestion-name {
    font-weight: 600;
    color: #0F172A;
    flex-shrink: 0;
}

/* Separator */
.pos-suggestion-sep {
    color: #CBD5E1;
    font-size: 11px;
}

/* Phone / meta */
.pos-suggestion-phone {
    color: #64748B;
    flex-shrink: 0;
}

/* Pets info */
.pos-suggestion-pets {
    color: #6366F1;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.pos-suggestion-pets i {
    font-size: 10px;
    color: #6366F1;
}

/* More pets indicator */
.pos-suggestion-more {
    color: #94A3B8;
    font-size: 10px;
    flex-shrink: 0;
}

/* Scrollbar styling */
.pos-suggestions::-webkit-scrollbar {
    width: 5px;
}
.pos-suggestions::-webkit-scrollbar-track {
    background: #F8FAFC;
    border-radius: 0 8px 8px 0;
}
.pos-suggestions::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
.pos-suggestions::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* ============================================
   POS Layout Overrides
   ============================================ */

.pos-contact-search-wrap {
    position: relative;
    margin-bottom: 12px;
}

.pos-contact-search-wrap .form-control {
    padding-left: 36px;
}

.pos-contact-search-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 13px;
}

#pos-contact-info {
    background: #F5F3FF;
    border: 1.5px solid #C4B5FD;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
}

#pos-contact-name {
    font-weight: 600;
    color: #0F172A;
    font-size: 14px;
}

#pos-contact-detail {
    font-size: 12px;
    color: #64748B;
    margin-top: 2px;
}

#pos-contact-pets {
    font-size: 12px;
    color: #6366F1;
    margin-top: 4px;
    font-weight: 500;
}

#pos-contact-add-btn {
    margin-top: 8px;
}
