/* /Components/MenuBar.razor.rz.scp.css */
/* VSCode風メニューバーのスタイル */
.vscode-menubar[b-czzn5tyix3] {
    background-color: #2d2d30;
    border-bottom: 1px solid #3e3e42;
    height: 30px;
    color: #cccccc;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    user-select: none;
    position: relative;
    z-index: 1000;
}

.vscode-menu-container[b-czzn5tyix3] {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 12px;
}

.vscode-brand[b-czzn5tyix3] {
    color: #cccccc;
    font-weight: 600;
    margin-right: 24px;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.vscode-menu-items[b-czzn5tyix3] {
    display: flex;
    align-items: center;
    height: 100%;
}

.vscode-menu-item[b-czzn5tyix3] {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.vscode-menu-title[b-czzn5tyix3] {
    padding: 0 12px;
    cursor: pointer;
    color: #cccccc;
    transition: background-color 0.1s ease;
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 0;
    background: none;
    border: none;
    font-size: 13px;
    font-family: inherit;
}

.vscode-menu-title:hover[b-czzn5tyix3] {
    background-color: #37373d;
    color: #cccccc;
}

.vscode-dropdown[b-czzn5tyix3] {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #252526;
    border: 1px solid #454545;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.15s ease;
    padding: 4px 0;
    border-radius: 3px;
}

.vscode-dropdown.show[b-czzn5tyix3] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vscode-dropdown-item[b-czzn5tyix3] {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: #cccccc;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.1s ease;
    justify-content: flex-start;
    font-family: inherit;
    white-space: nowrap;
    position: relative;
}

.vscode-dropdown-item:hover[b-czzn5tyix3] {
    background-color: #094771;
    color: #ffffff;
}

.vscode-dropdown-item:focus[b-czzn5tyix3] {
    outline: none;
    background-color: #094771;
    color: #ffffff;
}

.vscode-dropdown-item i[b-czzn5tyix3] {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    margin-right: 8px;
    font-size: 14px;
    line-height: 1;
}

.vscode-dropdown-item>span:first-of-type[b-czzn5tyix3] {
    flex: 1;
    min-width: 0;
}

.vscode-shortcut[b-czzn5tyix3] {
    color: #969696;
    font-size: 11px;
    margin-left: 16px;
    flex-shrink: 0;
}

.vscode-separator[b-czzn5tyix3] {
    height: 1px;
    background-color: #454545;
    margin: 4px 8px;
}

/* 隠しファイル入力 */
.vscode-menubar input[type="file"][b-czzn5tyix3] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Bootstrap Icons のスタイル調整 */
.vscode-dropdown-item .bi[b-czzn5tyix3] {
    font-size: 14px;
    line-height: 1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .vscode-brand[b-czzn5tyix3] {
        font-size: 12px;
        margin-right: 12px;
    }

    .vscode-menu-title[b-czzn5tyix3] {
        padding: 0 8px;
        font-size: 12px;
    }

    .vscode-dropdown[b-czzn5tyix3] {
        min-width: 180px;
        left: -50px;
    }

    .vscode-shortcut[b-czzn5tyix3] {
        display: none;
    }
}

@media (max-width: 480px) {
    .vscode-menu-container[b-czzn5tyix3] {
        padding: 0 8px;
    }

    .vscode-brand[b-czzn5tyix3] {
        display: none;
    }

    .vscode-menu-title[b-czzn5tyix3] {
        padding: 0 6px;
        font-size: 11px;
    }
}

/* フォーカス時のアウトライン */
.vscode-dropdown-item:focus-visible[b-czzn5tyix3] {
    outline: 1px solid #007acc;
    outline-offset: -1px;
}

/* サブメニューのスタイル */
.vscode-submenu[b-czzn5tyix3] {
    position: relative;
}

.vscode-submenu-trigger[b-czzn5tyix3] {
    position: relative;
}

.vscode-submenu-arrow[b-czzn5tyix3] {
    margin-left: auto;
    font-size: 10px;
    opacity: 0.7;
    transition: transform 0.15s ease;
}

.vscode-submenu:hover .vscode-submenu-arrow[b-czzn5tyix3] {
    opacity: 1;
}

.vscode-submenu-dropdown[b-czzn5tyix3] {
    left: 100%;
    top: -5px;
    margin-left: -1px;
}

.vscode-submenu-dropdown.show[b-czzn5tyix3] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* アクセシビリティの改善 */
.vscode-dropdown-item:focus-visible[b-czzn5tyix3] {
    outline: 2px solid #007acc;
    outline-offset: -2px;
}

/* キーボードナビゲーション用のスタイル */
.vscode-menu-title:focus-visible[b-czzn5tyix3] {
    outline: 2px solid #007acc;
    outline-offset: -2px;
}

/* レスポンシブ改善 - ボタンの枠からはみ出し防止 */
@media (max-width: 768px) {
    .vscode-dropdown-item[b-czzn5tyix3] {
        padding: 6px 12px;
        font-size: 12px;
    }

    .vscode-dropdown-item i[b-czzn5tyix3] {
        width: 14px;
        font-size: 12px;
        margin-right: 6px;
    }

    .vscode-submenu-dropdown[b-czzn5tyix3] {
        left: 0;
        top: 100%;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .vscode-dropdown-item[b-czzn5tyix3] {
        padding: 4px 8px;
        font-size: 11px;
    }

    .vscode-dropdown-item i[b-czzn5tyix3] {
        width: 12px;
        font-size: 10px;
        margin-right: 4px;
    }

    .vscode-shortcut[b-czzn5tyix3] {
        display: none;
    }
}

/* 高コントラストアクセシビリティ対応 */
@media (prefers-contrast: high) {
    .vscode-menubar[b-czzn5tyix3] {
        background-color: #000000;
        border-bottom: 2px solid #ffffff;
    }

    .vscode-dropdown[b-czzn5tyix3] {
        background-color: #000000;
        border: 2px solid #ffffff;
    }

    .vscode-dropdown-item:hover[b-czzn5tyix3] {
        background-color: #ffffff;
        color: #000000;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* メインレイアウト */
.script-runner-layout[b-zy952j2reh] {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.main-content[b-zy952j2reh] {
    flex: 1;
    overflow: hidden;
    padding: 0;
}

/* ダークテーマの調整 */
body[b-zy952j2reh] {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Script runner container styles */
.script-runner-container[b-zy952j2reh] {
    height: 100%;
    padding: 0;
    margin: 0;
}

.script-runner-container .row[b-zy952j2reh] {
    height: 100%;
    margin: 0;
}

.script-runner-container .col-md-6[b-zy952j2reh] {
    height: 100%;
    padding: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .script-runner-container .col-md-6[b-zy952j2reh] {
        height: 50vh;
    }
}

/* Dark theme adjustments */
body[b-zy952j2reh] {
    background-color: #1e1e1e;
    color: #e0e0e0;
}
