.view-query-bug-note {
    font-size: large;
    border: none;
}

.view-query-bug-spacer-top {
    margin-top: 10px;
}

.view-query-bug-btn-block {
    width: 100%;
    margin: 0px auto;
    text-align: center;
}

.view-query-bug-btn-query {
    font-size: large;
    padding: 5px 15px;
}

.view-query-bug-result-label {
    font-size: large;
    margin-left: 2px;
}

/* =========================================
Bug Query Frontend Refactoring Styles
========================================= */

/* Layout Fixes */
.search-condition-input .row {
    align-items: stretch;
}

.search-condition-input .col-4 {
    flex-basis: calc(25% - 30px);
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.search-condition-input .col-name {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #111827;
    border-bottom: 2px solid #01923b;
    padding-bottom: 5px;
    width: 100%;
}

.search-condition-input .col-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

/* RWD Adjustments */
@media screen and (max-width: 1200px) {
    .search-condition-input .col-4 {
        flex-basis: calc(50% - 30px);
    }
}

@media screen and (max-width: 992px) {
    .search-condition-input .col-4 {
        flex-basis: 100% !important;
    }
}

/* Readonly Textarea (Result Output) */
.readonly-textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #01923b;
    border-radius: 6px;
    background-color: #e9f1d6;
    color: #000;
    font-weight:bold;
    font-size: 1.5em;
    line-height: 1.7;
    text-decoration: underline; /* First, define the decoration */
    text-underline-offset: 3px; /* Then, specify the offset */
    text-decoration-style: solid;
    text-decoration-color: #01923b;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 10px;
}

    .label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.input-label {
    font-weight: 600;
    font-size: 1.2em;
    color: #374151;
}

.btn-clear {
    padding: 5px 10px;
    background-color: #ff6600;
    color: white;
    font-size: 1.2em;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-clear:hover {
    background-color: #b91c1c;
}

/* Radio Group Vertical */
.radio-group.vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    margin-bottom: 33px;
}

.radio-group.vertical label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 1.4em;
}

/* Dropdown Tree Container */
.dropdown-tree-container {
    position: relative;
    width: 100%;
}

.dropdown-tree-container .input-group {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.dropdown-tree-container .form-control {
    flex-grow: 1;
    border: 1px solid #01923b;
    border-radius:5px;
    padding: 8px 12px;
font-size:1.2em;
    outline: none;
    width: 100%;
}

/* Tree Dropdown Content */
.tree-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 95%;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #01923b;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px;
    font-size: 1.2em;
}

/* Tree List Styles & Lines */
.tree-list, .tree-sublist {
    list-style: none;
    padding-left: 24px;
    margin: 0;
}

.tree-list {
    padding-left: 0;
}

.tree-list li {
    position: relative;
    padding-left: 0;
    line-height: 36px;
}

/* Vertical Lines */
.tree-list ul li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -12px;
    bottom: 0;
    width: 1px;
    background-color: #d1d5db;
}

/* Horizontal Lines */
.tree-list ul li::after {
    content: '';
    position: absolute;
    top: 18px;
    left: -12px;
    width: 12px;
    height: 1px;
    background-color: #d1d5db;
}

.tree-list ul li:last-child::before {
    height: 18px;
}

/* Node Content Container */
.node-content {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 8px 0 4px;
    border-radius: 6px;
    transition: background-color 0.1s;
    position: relative;
    top: 3px;
}

.node-content:hover,
.node-content:focus {
    background-color: #eff6ff;
}

/* Toggle Button (+/-) */
.toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    padding: 0;
    border: 1px solid #d1d5db;
    background-color: #fff;
    color: #4b5563;
    font-size: 1.2em;
    line-height: 1;
    border-radius: 4px;
    z-index: 2;
    flex-shrink: 0;
    cursor: pointer;
}

.toggle-btn:hover {
    border-color: #01923b;
    color: #01923b;
    background-color: #f0f9ff;
}

.toggle-placeholder {
    display: inline-block;
    width: 24px;
    margin-right: 8px;
    visibility: hidden;
    flex-shrink: 0;
}

/* Tree Input (Checkbox/Radio) */
.tree-input {
    margin: 0 8px 0 0 !important;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #01923b;
    transform: none !important; /* Reset previous scale */
}

/* Label Text */
.label-text {
    cursor: pointer;
    font-size: 1.3em;
    color: #1f2937;
    line-height: 1.4;
    user-select: none;
}

.no-result {
    padding: 10px;
    color: #999;
    font-style: italic;
    font-size: 1.2em;
}

/* Accessibility: Focus styles */
.toggle-btn:focus-visible,
.tree-input:focus-visible,
.form-control:focus-visible {
    outline: 2px solid #01923b;
    outline-offset: 2px;
}

.node-content:focus {
    outline: 2px solid #01923b;
    outline-offset: 2px;
}

/*juice20260115*/
   .col-4 {
flex-basis: calc(25% - 30px);
display: -webkit-inline-box;
}
