/* GIMP AI REMOTE 1.2 - Main Stylesheet */

:root {
    --bg-dark: #2A2A2A;
    --panel-dark: #3C3C3C;
    --item-bg: #1A1A1A;
    --accent-blue: #3498db;
    --accent-red: #E74C3C;
    --text-main: #EAEAEA;
    --text-dim: #888;
}

/* 全体レイアウト */
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 1024px) {
    .container {
        flex-direction: row;
        max-width: 1100px;
    }
}

.main-panel {
    flex: 2;
    background: var(--panel-dark);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #444;
}

/* 見出しとセクション */
h2 {
    color: var(--accent-red);
    font-size: 1.4em;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.control-section {
    margin-bottom: 25px;
}

.control-section label {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: bold;
}

/* ボタンの基本デザイン */
.gimp-btn {
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    background: var(--item-bg);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 4px solid #555;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gimp-btn:hover {
    background: #252525;
    transform: translateX(4px);
    filter: brightness(1.2);
}

.gimp-btn:active {
    transform: scale(0.98);
}

/* 特別なボタン色 */
.btn-main { border-left-color: var(--accent-blue); background: #1a2a3a; }
.btn-undo { border-left-color: #f39c12; background: #2c210d; margin-top: 10px; }

/* 横並びボタン */
.btn-group-horizontal {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-group-horizontal .gimp-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 12px 5px;
    font-size: 13px;
}

/* 強弱切り替えスイッチ */
.mode-selector {
    display: flex;
    background: #111;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 15px;
}

.mode-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
    border-radius: 6px;
    color: var(--text-dim);
    transition: 0.3s;
}

.mode-btn.active {
    background: var(--accent-blue);
    color: white;
    font-weight: bold;
}

/* 広告サイドバー */
.ad-sidebar-container {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ad-vertical-box {
    background: var(--item-bg);
    border: 1px solid #444;
    border-radius: 8px;
    height: 800px;
}