/* =========================================
   1. 全体共通（ベース）
   ========================================= */
   body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: 90%;
    max-width: 600px; /* メイン画面に合わせて少し広めに */
}

h1 {
    color: #00d4ff;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 300;
    letter-spacing: 2px;
}

/* =========================================
   2. 入力欄・ボタン（ログイン＆メイン共通）
   ========================================= */
input[type="text"],
input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 12px 15px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #00d4ff;
}

button {
    background-color: #00d4ff;
    color: #121212;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

button:hover {
    background-color: #00a3cc;
}

button:disabled {
    background-color: #555;
    cursor: not-allowed;
}

/* =========================================
   3. メイン画面専用（URL入力とログパネル）
   ========================================= */

/* URL入力とボタンを横並びにする */
.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.input-group input {
    flex: 1; /* 入力欄を伸ばす */
}

/* ターミナル風ログパネル */
.log-panel {
    background-color: #000;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 15px;
    height: 300px;
    overflow-y: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #00ff41; /* ターミナルグリーン */
    box-shadow: inset 0 0 10px rgba(0,255,0,0.2);
    margin-top: 10px;
}

/* スクロールバーのデザイン */
.log-panel::-webkit-scrollbar {
    width: 8px;
}
.log-panel::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

/* メッセージ表示 */
#result-msg {
    margin-top: 10px;
    text-align: center;
    min-height: 20px;
}

.error { color: #ff4d4d; }
.success { color: #00ff88; }

/* --- フッターのスタイル --- */
.site-footer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #333; /* 上に細い線を引いて区切りを作る */
    text-align: center;
    font-size: 12px;
    color: #888;
    letter-spacing: 1px;
}

/* リンクがある場合に備えて */
.site-footer a {
    color: #888;
    text-decoration: none;
}
.site-footer a:hover {
    color: #00d4ff;
}
