/* 全体レイアウト */
#pokemon-checker-ui {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.field-group { margin-bottom: 15px; }

/* テーブルのデザイン */
.pokemon-table {
    width: 100% !important;
    font-size: 14px;
}

.pokemon-table th {
    background-color: #333 !important;
    color: #fff !important;
}

.stat { text-align: center; width: 40px; }
.stat-total { text-align: center; background-color: #eee; }
.poke-name { font-weight: bold; color: #2c3e50; }

/* タイプバッジ */
.type-badge {
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    display: inline-block;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

/* タイプ別カラー例（一部） */
.ほのお { background-color: #ff4422; }
.みず { background-color: #3399ff; }
.くさ { background-color: #77cc55; }
.でんき { background-color: #ffcc33; color: #333; text-shadow: none; }
.こおり { background-color: #66ccff; }
.かくとう { background-color: #bb5544; }
.どく { background-color: #aa5599; }
.じめん { background-color: #ddbb55; }
.ひこう { background-color: #8899ff; }
.エスパー { background-color: #ff5599; }
.むし { background-color: #aabb22; }
.いわ { background-color: #bbaa66; }
/* ...必要に応じて追加してください */

/* ベースコンテナ */
#pokemon-checker-wrapper {
    background: #fff;
    border: 4px solid #333;
    border-radius: 15px;
    padding: 25px;
    max-width: 1000px;
    margin: 20px auto;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.checker-header h2 {
    color: #e3350d; /* モンスターボールの赤 */
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-weight: bold;
}

/* コントロール（横並びレイアウト） */
.checker-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 30px;
}

.control-item {
    flex: 1;
    min-width: 200px;
}

.control-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9em;
}

/* ドロップダウンのデザイン */
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: #fcfcfc;
    font-size: 16px;
    transition: border-color 0.3s;
}

select:focus {
    border-color: #e3350d;
    outline: none;
}

select:disabled {
    background-color: #eee;
    cursor: not-allowed;
}

/* 検索ボタン */
#pokemon-search-btn {
    width: 100%;
    padding: 14px 20px;
    background-color: #e3350d;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 0 #b12a0a;
}

#pokemon-search-btn:hover:not(:disabled) {
    background-color: #ff4422;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #b12a0a;
}

#pokemon-search-btn:active:not(:disabled) {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #b12a0a;
}

#pokemon-search-btn:disabled {
    background-color: #ccc;
    box-shadow: 0 4px 0 #999;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ローディング（くるくる） */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.season-description {
    background-color: #fff9e6; /* 薄い黄色 */
    border-left: 5px solid #ffcc33; /* ポケモンの黄色イメージ */
    padding: 15px;
    border-radius: 4px;
    color: #444;
    font-size: 0.95em;
    line-height: 1.5;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}

.season-description strong {
    color: #e3350d;
    display: block;
    margin-bottom: 5px;
}