.brought-customer-group-wrapper {
    background-color: #f9f9fb;
    border: 1px solid #e3e6f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease;
}

.brought-customer-group-wrapper:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.brought-customer-index {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 16px;
    color: #5f6368;
    text-align: right;
}

.brought-customer-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    /* flex-direction: row-reverse; */
}

.form-floating-input {
    position: relative;
    flex: 1 1 45%;
}

.form-floating-input input {
    width: 100%;
    padding: 12px 10px 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    background: #fff;
    direction: rtl;
    transition: border-color 0.2s;
}

.form-floating-input input:focus {
    border-color: #6c5ce7;
}

.form-floating-input label {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 13px;
    color: #777;
    background: white;
    padding: 0 4px;
    pointer-events: none;
    transition: all 0.2s ease;
}

.form-floating-input input:focus + label,
.form-floating-input input:not(:placeholder-shown):valid + label {
    top: -8px;
    font-size: 11px;
    color: #6c5ce7;
}

@media (max-width: 600px) {
    .brought-customer-group {
        flex-direction: column-reverse;
    }

    .form-floating-input {
        flex: 1 1 100%;
    }
}
