/* 西洋占星排盤前台樣式 */

.wa-app { max-width: 960px; margin: 0 auto; }

/* ---------- 表單 ---------- */
.wa-form { background: #f5f4fb; border: 1px solid #d8d5ec; border-radius: 10px; padding: 16px 20px; margin-bottom: 20px; }
.wa-form-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-bottom: 10px; position: relative; }
.wa-form-row:last-child { margin-bottom: 0; }
.wa-form label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; color: #33305a; }
.wa-form input[type="date"], .wa-form input[type="time"], .wa-form input[type="text"], .wa-form input[type="number"], .wa-form select {
	padding: 6px 10px; border: 1px solid #c2bee0; border-radius: 6px; background: #fff; font-size: 0.95rem;
}
.wa-btn { background: #453a8c; color: #fff; border: 0; border-radius: 8px; padding: 9px 26px; font-size: 1rem; cursor: pointer; }
.wa-btn:hover { background: #362e70; }
.wa-btn-sm { padding: 5px 14px; font-size: 0.88rem; }
.wa-btn-danger { background: #b0483f; }
.wa-btn-danger:hover { background: #93382f; }
a.wa-btn { text-decoration: none; display: inline-block; }

.wa-city-field { position: relative; flex: 1; min-width: 220px; }
.wa-city-field input[type="text"] { width: 100%; box-sizing: border-box; }
.wa-city-suggest {
	position: absolute; top: 100%; left: 0; right: 0; z-index: 10; background: #fff;
	border: 1px solid #c2bee0; border-radius: 6px; margin-top: 2px; max-height: 220px; overflow-y: auto;
	box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.wa-city-suggest-item { padding: 6px 12px; cursor: pointer; font-size: 0.9rem; color: #33305a; }
.wa-city-suggest-item:hover, .wa-city-suggest-item.wa-active { background: #eeecfa; }
.wa-place-info { font-size: 0.85rem; color: #2762ba; background: #eef3fb; border-radius: 6px; padding: 8px 12px; margin: 4px 0 0; }
.wa-error { color: #a03d2d; }

/* ---------- 命盤輪 ---------- */
.wa-chart-wrap { overflow-x: auto; margin-bottom: 24px; text-align: center; }
.wa-chart-wrap svg { max-width: 100%; height: auto; }
.wa-wheel-sign-label { font-size: 11px; fill: #6d6455; }
.wa-wheel-house-label { font-size: 10px; fill: #a89fce; }
.wa-wheel-planet { font-size: 15px; font-weight: 700; }
.wa-wheel-aspect { stroke-width: 1; opacity: 0.55; }

/* ---------- 解讀 ---------- */
.wa-interpret-title { color: #33305a; border-bottom: 2px solid #d8d5ec; padding-bottom: 6px; margin: 24px 0 12px; }
.wa-interpret-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 20px; }
.wa-interpret-card { background: #f9f8fd; border: 1px solid #e0deef; border-left: 4px solid #453a8c; border-radius: 10px; padding: 12px 16px; }
.wa-interpret-card h3 { margin: 0 0 6px; font-size: 1rem; color: #33305a; }
.wa-interpret-card p { margin: 0; color: #4a4470; }
.wa-interpret-card .wa-orb { font-size: 0.78rem; color: #8a84af; }
.wa-empty-text { color: #8a84af; font-style: italic; }

.wa-transit-card { border-left-color: #b06a1f; background: #fdf6ec; }

/* ---------- 命盤紀錄 ---------- */
.wa-readings { display: flex; flex-direction: column; gap: 10px; }
.wa-reading-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #f9f8fd; border: 1px solid #e0deef; border-radius: 8px; padding: 10px 14px; flex-wrap: wrap; }
.wa-reading-meta { color: #33305a; font-size: 0.92rem; }
.wa-reading-actions { display: flex; gap: 8px; }
.wa-loading { color: #8a84af; }

.wa-disclaimer { font-size: 0.82rem; color: #8a84af; margin-top: 16px; }
.wa-save-label { font-size: 0.9rem; }
