/* style_inj.css */
/* 負責針劑網頁(綠色系)的視覺外觀與排版 */

body { font-family: "Microsoft JhengHei", -apple-system, sans-serif; background-color: #f0f2f5; margin: 0; padding: 0; color: #333; }
.container { max-width: 600px; margin: 0 auto; background: white; min-height: 100vh; display: flex; flex-direction: column; }

header { background: linear-gradient(135deg, #27ae60, #2ecc71); color: white; padding: 15px; text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
header h2 { margin: 0; font-size: 20px; display: flex; align-items: center; justify-content: center; gap: 10px; }

.nav-link { display: inline-block; margin-top: 8px; font-size: 13px; color: #fff; text-decoration: none; background: rgba(255,255,255,0.2); padding: 6px 15px; border-radius: 20px; transition: 0.2s; }
.nav-link:active { background: rgba(255,255,255,0.4); }
.icon-img { width: 35px; height: 35px; border-radius: 50%; border: 2px solid white; background: white; }

.content { padding: 15px; flex: 1; }

.input-section { background: #fff; padding: 15px; border-radius: 10px; border: 1px solid #e0e0e0; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: bold; color: #2c3e50; font-size: 15px; }
select, input { width: 100%; padding: 12px; border: 1px solid #bdc3c7; border-radius: 8px; font-size: 16px; background: #fff; box-sizing: border-box; }
select:focus, input:focus { border-color: #27ae60; outline: none; box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1); }

.calc-btn { width: 100%; padding: 14px; background: #e67e22; color: white; border: none; border-radius: 8px; font-size: 18px; font-weight: bold; cursor: pointer; box-shadow: 0 4px 0 #d35400; transition: all 0.1s; }
.calc-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #d35400; }

.result-card { display: none; margin-top: 20px; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; background: white; }
.res-header { background: #27ae60; color: white; padding: 10px 15px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; }

.stage-row { display: flex; border-bottom: 1px solid #eee; padding: 12px 15px; align-items: center; }
.stage-row:last-child { border-bottom: none; }
.stage-label { flex: 0 0 80px; font-weight: bold; color: #555; font-size: 14px; }
.stage-val { flex: 1; text-align: right; font-size: 18px; font-weight: bold; color: #2c3e50; }
.stage-freq { font-size: 13px; color: #e67e22; background: #fff3e0; padding: 2px 6px; border-radius: 4px; margin-left: 8px; white-space: nowrap; }
.unit-tag { font-size: 12px; color: #888; margin-left: 2px; font-weight: normal; }

.info-box { margin-top: 25px; font-size: 14px; color: #444; }
.info-block { background: #f8f9fa; border-left: 4px solid #95a5a6; padding: 12px; margin-bottom: 10px; border-radius: 4px; }
.info-label { font-weight: bold; display: block; margin-bottom: 5px; color: #2c3e50; }
.note-text { color: #c0392b; white-space: pre-line; }

footer { text-align: center; padding: 20px; background: #eee; font-size: 12px; color: #888; margin-top: auto; line-height: 1.6; }
.creator-footer { text-align: center; padding: 25px 0 20px 0; width: 100%; color: #888888; }
.creator-footer a { color: #888888; text-decoration: none; font-size: 13px; letter-spacing: 1px; transition: color 0.2s; }
.creator-footer a:active { color: #66b3ff; }
