/*body {
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            padding: 40px;
            background-color: #ffffff;
            color: #33383D;
        }*/
.btn-group_A {
    display: flex;
     gap: 14px; 
    /*margin-right: 14px;*/
    margin-top: 10px;
    align-items: center;
}
.li_A {
    font-size: 12px;
    color: #888;
    margin: 0px auto;
    /*font-size: 11pt;*/
    font-family: Arial, Sans-Serif, 微軟正黑體;
}
        .topic5 {
            width: 100%;
            max-width: 900px; /* Wider to fit side-by-side layout */
            display: flex;
            flex-direction: column;
            
        }

        .main-title5 {
            color: rgb(252, 139, 31);
            font-size: 28px;
            text-align: left;
        }
.backgroundframe{
    background: #ffffff;
    border-radius: 6px;
    padding: 34px 82px 34px 82px;
    gap: 14px;
    /*margin-right: 14px;*/
    justify-content: flex-start;
    position: relative;
    box-shadow: 0px 4px 8px 0px rgba(246, 246, 246, 1);
    backdrop-filter: blur(5px);
    /* 增加一點外距與底層背景區隔 */
    margin: 20px 0;
    border: 1px solid #f0f0f0;
}

        .form-section {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .sub-title5 {
            color: #233E83;
            font-weight: bold;
            margin-bottom: 20px;
            text-align: center;
            width: 100%;
        }

        /* CONTAINER FOR SIDE-BY-SIDE LAYOUT */
.content-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;  /*Space between inputs and image*/ 
    /*margin-right: 50px;*/
    width: 100%;
    margin-bottom: 30px;
}

        /* INPUT COLUMN STYLING */
.inputs-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /*margin-right: 12px;*/
}

.input-group_A {
    display: grid;
    grid-template-columns: 180px 120px; /* Fixed widths for perfect alignment */
    align-items: center;
    gap: 15px;
    /*margin-right: 15px;*/
}

    .input-group_A label {
        font-size: 14px;
        text-align: left;
        font-weight: 500;
    }

    .input-group_A input,
    .input-group_A select {
        padding: 6px;
        padding-left: 0px;
        padding-top: 3px;
        border: 1px solid #ccc;
        border-radius: 4px;
        outline: none;
        width: 100%;
    }

    /*.input-group_A select {
        border: 1px solid #E9C22A;
    }*/

        .diagram-container img {
            max-width: 230px;
            height: auto;
        }

.btn-group {
    display: flex;
    gap: 14px;
    /*margin-right: 14px;*/
    margin-top: 10px;
    align-items: center;
}
        .Execute-btn {
            background-color: #1A3A8A;
            color: white;
            padding: 10px 30px;
            border: none;
            height: 39px;
            border-radius: 8px; 
            cursor: pointer;
            font-size: 15px;
            font-weight: bold;
            transition: background 0.3s;
        }

        .Execute-btn:hover {
            background-color: #0d255f;
        }

        .Link-btn {
            background-color: #f0f0f0; /* 淺灰色背景，與主按鈕區隔 */
            color: #1A3A8A;            /* 使用與主按鈕相同的藍色文字 */
            padding: 10px 30px;        /* 稍微窄一點 */
            text-decoration: none;     /* 移除超連結下劃線 */
            border: 1px solid #1A3A8A; /* 加入邊框增加專業感 */
            border-radius: 8px; 
            font-size: 15px;
            font-weight: bold;
            transition: all 0.3s;
            display: inline-block;
            text-align: center;
        }

            .Link-btn:hover {
            background-color: #1A3A8A;
            color: white;
        }
        /* RESULT SECTION */
        .result-section {
            margin-top: 40px;
            text-align: center;
            font-size: 18px;
            font-weight: bold;
        }

        .result-section input {
            border: 1px solid #ccc;
            padding: 8px;
            width: 160px;
            border-radius: 4px;
            background-color: #fff;
            margin-left: 10px;
            text-align: center;
        }

        .references_A {
            font-size: 11px;
            font-style: italic;
            color: #888;
            align-self: flex-start;
        }

            .references_A a {
                color: #3c90ff;
            }