/* ==========================================================================
   SharedComponents.css - Reusable SearchBar & AddNewButton (Enterprise V2)
   ========================================================================== */
.searchbar-wrap {
    position: relative;
    flex: 0 1 300px;
    min-width: 220px;
}

.searchbar-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    pointer-events: none;
}

.searchbar-input {
    width: 100%;
    height: 40px;
    padding: 8px 14px 8px 38px;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    font-size: 0.875rem;
    font-family: inherit;
    color: #0F172A;
    background: #F8FAFC;
    outline: none;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}

.searchbar-input:focus {
    border-color: #4F46E5;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.searchbar-input::placeholder {
    color: #94A3B8;
}

/* AddNewButton */
.add-new-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.28);
    transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
    white-space: nowrap;
}

.add-new-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.36);
}

.add-new-btn:active {
    transform: translateY(0);
}
