/* ==================== VC固有スタイル ==================== */
/* 共通スタイルは /tools/shared/styles/common.css を参照 */

/* コンテナのoverflow上書き（position: stickyを有効にするため） */
.container {
    overflow: visible;
}

/* ステップのoverflow上書き（position: stickyを有効にするため） */
.step {
    overflow: visible;
}

/* デザイン設定レイアウト */
.design-container {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.design-settings {
    flex: 1;
}

.design-preview {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: 16px;
    border: 2px solid rgba(145, 70, 255, 0.2);
    position: sticky;
    top: 20px;
    align-self: flex-start;
    height: fit-content;
    max-height: calc(100vh - 40px);
    overflow: auto;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 50px rgba(145, 70, 255, 0.15);
}

.preview-area {
    background: radial-gradient(circle at center, #000000 0%, #0a0a0f 100%);
    padding: 40px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
    border: 1px solid rgba(145, 70, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.preview-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(145, 70, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.preview-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

/* HTML deprecation notice */
.deprecation-notice {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    color: #ffc107;
}

.deprecation-notice h4 {
    margin: 0 0 8px 0;
    color: #ffc107;
    font-size: 16px;
}

.deprecation-notice p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .design-container {
        flex-direction: column;
    }

    .design-preview {
        position: static;
    }
}
