@charset "UTF-8";
:root {
  --success-green: #2ecc71;
  --error-red: #e74c3c;
  --warn-yellow: #f1c40f; }

.card {
  max-width: 900px; }

/* 診断結果表示エリア */
.status-box {
  padding: 1em;
  border-radius: 0.5em;
  margin-bottom: 1.5em;
  font-weight: 600;
  display: none;
  line-height: 1.6;
  white-space: pre-wrap;
  border: 1px solid transparent; }

.status-success {
  display: block;
  background: #d4edda;
  color: #155724;
  border-color: #c3e6cb; }

.status-error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb; }

.status-warn {
  display: block;
  background: #fff3cd;
  color: #856404;
  border-color: #ffeeba; }

textarea {
  width: 100%;
  height: 400px;
  padding: 1em;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
  line-height: 1.5; }
  textarea:focus {
    border-color: var(--primary-color); }

.btn-group {
  display: flex;
  gap: 0.75em;
  margin-top: 1.5em; }
  .btn-group .btn {
    flex: 1;
    padding: 1em;
    border: none;
    border-radius: 0.5em;
    font-size: 100%;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease; }
  .btn-group .btn-check {
    flex: 2;
    background: var(--primary-color);
    color: #FFF; }
    .btn-group .btn-check:hover {
      background: var(--primary-hover); }

.btn-clear {
  background: #eee;
  color: #666; }

.btn-clear:hover {
  background: #ddd; }
