.e2vq-app {
	max-width: 640px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.6;
}

/* テーマ側の共通ボタンスタイル（大文字変換など）がボタン内の英単語・選択肢に
   影響してしまうのを防ぐため、明示的に上書きする */
.e2vq-app button,
.e2vq-app .e2vq-button,
.e2vq-app .e2vq-option-btn {
	text-transform: none !important;
	letter-spacing: normal !important;
}

.e2vq-loading,
.e2vq-error {
	text-align: center;
	padding: 2em 0;
}

.e2vq-error {
	color: #c0392b;
}

/* 出題範囲選択 */

.e2vq-section-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 1em 0;
}

.e2vq-section-item {
	display: block;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 10px 14px;
	cursor: pointer;
}

.e2vq-section-count {
	color: #777;
	font-size: 0.9em;
}

.e2vq-progress-bar {
	background: #eee;
	border-radius: 4px;
	overflow: hidden;
	height: 18px;
	margin-top: 6px;
}

.e2vq-progress-bar-inner {
	background: #3498db;
	color: #fff;
	font-size: 0.75em;
	text-align: center;
	line-height: 18px;
	white-space: nowrap;
}

.e2vq-exclude-toggle {
	display: block;
	margin: 1em 0;
}

.e2vq-button {
	background: #2c7be5;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 10px 20px;
	font-size: 1em;
	cursor: pointer;
}

.e2vq-button:hover {
	background: #1a5cbf;
}

/* 出題画面 */

.e2vq-progress-text {
	color: #777;
	margin-bottom: 0.2em;
}

.e2vq-phrase {
	font-size: 1.6em;
	margin: 0.3em 0 0.8em;
}

.e2vq-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 1em;
}

.e2vq-option-btn {
	text-align: left;
	padding: 12px 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	font-size: 1em;
	cursor: pointer;
}

.e2vq-option-btn:hover {
	background: #f5f8ff;
}

.e2vq-option-btn.e2vq-correct {
	border-color: #27ae60;
	background: #eafaf1;
	font-weight: bold;
}

.e2vq-option-btn.e2vq-incorrect {
	border-color: #c0392b;
	background: #fdecea;
}

.e2vq-example {
	background: #f7f7f7;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 1em;
}

.e2vq-example-en {
	font-style: italic;
	margin: 0 0 0.4em;
}

.e2vq-example-ja {
	color: #555;
	margin: 0;
}

/* 結果画面 */

.e2vq-result-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
}

.e2vq-result-table th,
.e2vq-result-table td {
	border: 1px solid #ddd;
	padding: 8px 10px;
	text-align: left;
}

.e2vq-result-table th {
	background: #f5f5f5;
}

.e2vq-mastered-checkbox {
	width: 20px;
	height: 20px;
}

.e2vq-login-wrap {
	max-width: 400px;
	margin: 0 auto;
}

/* 単語テスト⇔模擬試験の相互リンク */

.e2vq-cross-link {
	max-width: 640px;
	margin: 0 auto 1em;
	text-align: right;
}

.e2vq-cross-link a {
	display: inline-block;
	background: #eef4ff;
	color: #2c7be5 !important;
	padding: 8px 16px;
	border-radius: 999px;
	text-decoration: none !important;
	font-size: 0.9em;
	font-weight: bold;
}

.e2vq-cross-link a:hover {
	background: #dbe8ff;
}

/* 模擬試験画面 */

.e2vq-select-screen h4 {
	margin: 1.2em 0 0.4em;
}

/* 成績推移グラフ */

.e2vq-history-section {
	background: #f7f9fc;
	border: 1px solid #e0e6f0;
	border-radius: 8px;
	padding: 14px 16px;
	margin: 1em 0 1.4em;
}

.e2vq-history-section h4 {
	margin: 0 0 0.5em !important;
}

.e2vq-history-empty {
	color: #777;
	margin: 0;
}

.e2vq-history-summary {
	margin: 0 0 0.6em;
	color: #444;
	font-size: 0.95em;
}

.e2vq-trend-svg {
	width: 100%;
	height: auto;
	display: block;
}

.e2vq-chart-grid {
	stroke: #e0e0e0;
	stroke-width: 1;
}

.e2vq-chart-line {
	stroke: #2c7be5;
	stroke-width: 2;
}

.e2vq-chart-dot {
	fill: #2c7be5;
}

.e2vq-chart-axis-label {
	fill: #999;
	font-size: 10px;
}

.e2vq-chart-value-label {
	fill: #2c7be5;
	font-size: 11px;
	font-weight: bold;
}

.e2vq-sentence {
	font-size: 1.25em;
	line-height: 1.7;
	margin: 0.3em 0 1em;
}

.e2vq-blank {
	display: inline-block;
	border-bottom: 2px solid #2c7be5;
	color: #2c7be5;
	font-weight: bold;
	padding: 0 4px;
}

.e2vq-option-btn.e2vq-selected {
	border-color: #2c7be5;
	background: #eef4ff;
	font-weight: bold;
}

.e2vq-nav-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.e2vq-nav-buttons .e2vq-button {
	flex: 1 1 auto;
	min-width: 140px;
	white-space: normal;
}

.e2vq-button.e2vq-secondary {
	background: #fff;
	color: #2c7be5;
	border: 1px solid #2c7be5;
}

.e2vq-button.e2vq-secondary:hover {
	background: #eef4ff;
}

.e2vq-button:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.e2vq-review-item {
	background: #fdecea;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 12px;
}

.e2vq-review-no {
	font-weight: bold;
	margin: 0 0 0.4em;
	color: #c0392b;
}

.e2vq-review-answer {
	margin: 0.6em 0 0;
	font-size: 0.9em;
	color: #555;
}
