body { 
    font-family: Arial, sans-serif; 
    /*display: flex; 
    justify-content: center; 
    padding: 20px; 
    background-color: #fafbfc;
    margin: 0;*/
}

.topic-7 {
    width: 100%;
    max-width: 950px;
    margin: 0 auto; 
    /*display: flex;
    flex-direction: column;
    align-items: flex-start;*/ 


}

.topic-7::before { 
  content: ""; 
  position: fixed; 
  right: -50px; 
  bottom: -30px; 
  width: 700px; 
  height: 500px; 
  background-image: url("Block\ stacked\ core\ flux\ simulation-1.png"); 
  background-size: contain; 
  background-position: bottom right; 
  background-repeat: no-repeat; 
  
  opacity: 0.10; 
  
  /* 2. 混合模式：過濾掉圖片白底，讓背景板色彩與網頁底色自然融為一體 */
  mix-blend-mode: multiply; 

  /* 3. 確保絕對不會壓在文字、輸入框或表格上方 */
  z-index: -1; 
  pointer-events: none; 
  user-select: none; 
}



.headline1 {
    color: rgb(252, 139, 31);
    font-size: 28px;
    text-align: left;
    margin-bottom: 5px; 
    width: 100%; 
    font-weight: bold;
}


.description {
    font-size: 14px;
    color: #333333;
    line-height: 1.45;
    margin-bottom: 20px;
    text-align: left;
}

.diagram-top {
    text-align: center;
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.diagram-top img {
    width: 320px;
    max-width: 100%; 
    height: auto; 
    display: block;
    flex-shrink: 0; 
}

.input-title {
    color: #1a3b7a; 
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
}

.card {
    background: #ffffff;
    border-radius: 6px;
    padding: 34px 30px; 
    display: flex; 
    flex-direction: column;
    width: 100%; 
    box-sizing: border-box; 
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.03);
    margin: 10px 0 20px 0; 
    border: 1px solid #f0f0f0;
}

table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

th {
    background-color: #1a3b7a;
    color: #ffffff;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: normal;
    border-right: 1px solid rgba(255, 255, 255, 0.2); 
}

th:last-child {
    border-right: none; 
}

td {
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #edf2f7;
    background-color: #ffffff;
    padding: 10px 4px; 
    text-align: center;
}

td:last-child {
    border-right: none;
}

table input[type="number"] {
    width: 80%;
    max-width: 90px;
    padding: 6px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    color: #334155;
    background-color: #ffffff;
    outline: none;
}

.middle-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    width: 100%;
    margin: 15px 0;
    
}

.middle-right {
    flex: 1;
    max-width: 480px;
    
}

.input-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333333;
}

.input-group label {
    text-align: left;
    padding-right: 10px;
}

.middle-right input[type="number"] {
    width: 70px;
    padding: 5px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    background-color: #ffffff;
    outline: none;
}

select#material {
    width: 82px;
    background-color: #ffffff;
    border: 1px solid #d4a300; 
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    padding: 5px;
    text-align: center;
}

select#permeability {
    width: 82px;
    background-color: #ffffff;
    border: 1px solid #d4a300; 
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    padding: 5px;
    text-align: center;
}

.button-container {
    text-align: center;
    margin: 25px auto 15px auto;
    display: flex;
    justify-content: center;
    gap: 15px; 
}

.btn-execute {
    background-color: #1a3b7a;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-execute:hover {
    background-color: #112959;
}

.btn-execute:active {
    transform: scale(0.98);
}

.btn-secondary-report {
    background-color: #1a3b7a; 
}

.chart-section {
    text-align: center;
    margin-top: 20px;
}

.chart-title {
    font-size: 16px;
    font-family: Arial, sans-serif;
    color: #111111;
    margin-bottom: 10px;
    font-weight: bold;
}


.output-section {
    width: 100%;
    margin-top: 15px;
    border-top: 1px solid #eeeeee;
    padding-top: 15px;
}

.output-sub-title {
    color: #333333;
    font-size: 14px;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: 15px;
    margin-bottom: 12px;
}

.output-grid-custom {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 核心：切分為三等份 */
  gap: 12px 30px;
}

.output-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 30px;
}

.output-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 20px;
}

.output-item {
    display: flex;
    align-items: center;
    font-size: 13.5px;
    color: #333333;
}

.output-label {
    min-width: 40px;
    text-align: left;
}

.output-box {
    width: 80px;
    height: 26px;
    background-color: #ededed; 
    border: 1px solid #cccccc;
    border-radius: 4px;
    margin: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #000000;
}

.output-unit {
    font-size: 12.5px;
    color: #555555;
}


.dc-bias-calculate {
    max-width: 480px;
    margin-top: 21px;
}

.dc-bias-calculate input[type="number"] {
    width: 70px;
    padding: 5px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    background-color: #ffffff;
    outline: none;
}

.chart-section {
    width: 100%;
    margin-top: 25px;
    border-top: 1px solid #e2e8f0;
    padding-top: 25px;
}


