.company-claim-search__group {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.company-claim-search__group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.company-claim-search__group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.company-claim-search__input:focus {
    border-color: #80bdff;
}

.company-claim-search__btn {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .company-claim-search__btn {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.input-validation-error {
    border-left: 1px solid #e80c4d !important;
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

.border-end-md {
    border-inline-end: 1px solid #e9ecef;
}

@media (max-width: 767.98px) {
    .border-end-md {
        border-inline-end: none;
        border-bottom: 1px solid #e9ecef;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.company-modal-toolbar > * {
    margin-right: 0.5rem;
}

.company-modal-toolbar > *:last-child {
    margin-right: 0;
}

.company-request-remark {
    width: 180px;
    max-width: 100%;
}

/* Company List Enhancements */
.company-filter-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    background: #fff;
    padding: 1.5rem;
}

.company-filter-form .form-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 1rem;
}

.company-filter-form .btn {
    border-radius: 8px;
    height: calc(1.5em + 1rem + 2px);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-list-group {
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
}

.company-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 1.5rem;
    text-decoration: none !important;
    display: flex;
    align-items: flex-start;
}

.company-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    background: #fff;
    z-index: 1;
}

.company-item:focus {
    outline: 2px solid rgba(49, 130, 206, 0.55);
    outline-offset: 3px;
}

.company-item:focus-visible {
    outline: 2px solid rgba(49, 130, 206, 0.55);
    outline-offset: 3px;
}

.company-logo-box {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-right: 1.5rem;
}

.company-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-content {
    flex-grow: 1;
    min-width: 0; /* Fix flex text overflow */
}

.company-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.company-item:hover .company-title {
    color: #3182ce;
}

.company-tags {
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge-company-type {
    background-color: #ebf8ff;
    color: #2b6cb0;
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 6px;
    font-size: 0.85rem;
}

.badge-service-type {
    background-color: #f7fafc;
    color: #4a5568;
    border: 1px solid #edf2f7;
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 6px;
    font-size: 0.85rem;
}

.company-biz-scope {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.company-biz-intro {
    font-size: 0.875rem;
    color: #718096;
    line-height: 1.6;
}

.company-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 12px;
    color: #a0aec0;
}

.company-empty-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .company-item {
        flex-direction: column;
        padding: 1.25rem;
    }
    
    .company-logo-box {
        width: 64px;
        height: 64px;
        margin-bottom: 1rem;
    }
    
    .company-filter-form .col-lg-5,
    .company-filter-form .col-lg-2 {
        margin-bottom: 1rem;
    }
}
