﻿.bondFormItem {
    margin-bottom: 0;
}

    .bondFormItem.editing {
        margin-bottom: 10px;
    }

.bondFormRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 0;
    padding: 10px 20px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fcfcfc;
    transition: box-shadow .15s ease-in-out;
}

.bondFormItem:not(.editing) .bondFormRow:hover {
    border-color: #0f8b8d;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.bondFormMain {
    flex: 1;
    min-width: 0;
}

.bondFormTitle {
    font-size: 18px;
    font-weight: 600;
    color: #2c2c2c;
}

.bondFormActions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.bondFormAction {
    width: 38px;
    height: 38px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    transition: all .15s ease-in-out;
}

    .bondFormAction:hover {
        transform: translateY(-1px);
    }

    .bondFormAction i {
        font-size: 15px;
    }

.editAction:hover {
    border-color: #0f8b8d;
}

.editAction i {
    color: #0f8b8d;
}

.deleteAction:hover {
    border-color: #d9534f;
}

.deleteAction i {
    color: #d9534f;
}

.bondFormListHeader {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.bondFormListTitle {
    margin: 0;
    white-space: nowrap;
    flex: 0 0 auto;
}

.bondFormSearchContainer {
    flex: 1 1 auto;
}

.bondFormSearchInput {
    width: 100%;
    height: 44px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 2px 14px 0 14px;
    font-size: 14px;
    line-height: 44px;
}

    .bondFormSearchInput:focus {
        border-color: #0f8b8d;
        box-shadow: none;
        outline: none;
    }

.bondFormEditPanel {
    display: block;
    height: 0;
    overflow: hidden;
    opacity: 0;
    background: #fcfcfc;
    border-left: 1px solid #d9d9d9;
    border-right: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    padding: 6px 20px;
    transition: height .30s linear, opacity .20s ease-in-out;
}

    .bondFormItem.editing .bondFormRow {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom: none;
    }

.bondFormEditFooter {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 0;
    padding-bottom: 10px;
}

.bondFormSaveBtn {
    min-width: 140px;
}

.bondFormCancelBtn {
    min-width: 120px;
}

.bondFormAddHeader {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 40px;
    padding: 0;
}

.bondFormAddTitle {
    margin: 0;
}

.bondFormAddToggle {
    min-width: 140px;
}

.bondFormAddPanel {
    display: block;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height .30s linear, opacity .20s ease-in-out;
}

.bondFormPageTitle {
    margin-bottom: -10px;
    margin-top: 0;
    padding-bottom: 0;
    padding-top: 10px;
}