/* 基本レイアウト */
body {
    font-family: sans-serif;
    padding: 20px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.hidden {
    display: none;
}

/* ステータス表示エリア */
.status-box {
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 4px;
    background-color: #fff;
}

#log {
    font-weight: bold;
    color: #007bff;
}

.current-tenant {
    font-weight: bold;
    color: #d63384;
}

/* セクション共通 */
.section {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 5px solid #28a745;
    border-radius: 4px;
}

.tenant-section {
    border-left-color: #6f42c1;
}

/* フォーム・ボタン要素 */
button {
    cursor: pointer;
    padding: 5px 10px;
}

input {
    padding: 5px;
}

.input-row {
    margin-bottom: 10px;
}

#theme-name-input {
    width: 200px;
}

.manual-input-group {
    font-size: 0.9em;
}

/* テナントリスト */
ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 5px;
    padding: 5px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tenant-info-sub {
    font-size: 0.8em;
    color: #666;
}

.selected-badge {
    color: green;
    font-weight: bold;
    margin-left: 5px;
}

#tenant-list-container {
    margin-top: 10px;
}

/* 区切り線 */
.separator {
    margin: 15px 0;
    border: 0;
    border-top: 1px dashed #ccc;
}

/* データ・メッセージ表示 */
.data-display {
    background: #eee;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    margin-top: 10px;
    min-height: 50px;
}

.status-ok {
    color: green;
}

.status-error {
    color: red;
}

.status-info {
    font-size: 0.9em;
    color: #666;
}

#btn-logout {
    margin-bottom: 30px;
}
