/* --- Container chính --- */
.bhr-container {
    font-family: Arial, sans-serif;
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

/* --- Form tra cứu (ĐÃ CHỈNH SỬA) --- */
.bhr-search-form {
    display: flex;
    margin-bottom: 30px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.bhr-search-form input[type="text"] {
    flex-grow: 1;
    border: none;
    padding: 15px;
    font-size: 16px;
    outline: none;
    background-color: #fff;
    color: #333;
}
.bhr-search-form button {
    background-color: #4A6C8C;
    color: white;
    border: none;
    padding: 0 25px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
    white-space: nowrap; /* Quan trọng: Ngăn chữ xuống dòng */
}
.bhr-search-form button:hover {
    background-color: #3a5670;
}
.bhr-search-form .bhr-search-icon-svg {
    fill: white; /* Đặt màu cho icon SVG */
    width: 20px;
    height: 20px;
}


/* --- Khu vực kết quả --- */
.bhr-result-wrapper {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.bhr-cards-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.bhr-card {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.bhr-card-info .bhr-card-header {
    background-color: #1a2a4e;
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}
.bhr-card-info .bhr-card-header img {
    height: 30px;
    width: auto;
}
.bhr-card-info .bhr-card-body {
    background-color: #f0f0f0;
    padding: 15px;
}
.bhr-card-info .bhr-card-body p {
    margin: 0 0 10px 0;
    font-size: 14px;
}
.bhr-card-info .bhr-card-body p:last-child {
    margin-bottom: 0;
}

.bhr-card-terms .bhr-card-header-terms {
    background-color: #1a2a4e;
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 18px;
    font-weight: bold;
}
.bhr-card-terms .bhr-card-body-terms {
    padding: 15px;
    font-size: 12px;
    line-height: 1.5;
}
.bhr-card-terms h4 {
    text-align: center;
    margin-top: 0;
    font-size: 13px;
}
.bhr-card-terms ul {
    padding-left: 20px;
    margin: 10px 0;
}
.bhr-company-info {
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
    font-size: 13px;
}
.bhr-lookup-note {
    text-align: center;
    font-style: italic;
    font-size: 11px;
    margin-top: 10px;
}

/* --- Thông tin chi tiết --- */
.bhr-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.bhr-detail-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    padding: 5px 0;
}
.bhr-label {
    color: #555;
    width: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.bhr-label i.dashicons {
    margin-right: 8px;
    font-size: 18px;
    color: #4A6C8C;
}
.bhr-value {
    font-weight: bold;
    color: #333;
}
.bhr-detail-vi-tri .bhr-value {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.bhr-vi-tri-box {
    background-color: #fde6d8;
    border: 1px solid #f9cba8;
    color: #d9534f;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 14px;
    min-width: 30px;
    text-align: center;
}

/* --- Không tìm thấy --- */
.bhr-no-result {
    text-align: center;
    padding: 20px;
    background-color: #fff1f1;
    border: 1px solid #ffc8c8;
    border-radius: 5px;
    color: #d9534f;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .bhr-cards-container {
        flex-direction: column;
    }
    .bhr-details-container {
        grid-template-columns: 1fr;
    }
}