/* 極簡分析頁面樣式 */

/* 分析類型標籤 */
.analysis-tabs {
    display: flex;
    margin: 30px 0 20px 0;
    border-bottom: 1px solid #333;
    gap: 2px;
}

.analysis-tab {
    background-color: #111;
    color: #999;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px 4px 0 0;
}

.analysis-tab:hover {
    background-color: #1a1a1a;
    color: #ccc;
}

.analysis-tab.active {
    background-color: #222;
    color: #fff;
    border-bottom-color: #fff;
}

/* 標籤內容 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 統計網格 */
.minimal-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

/* 位置分組樣式 */
.position-group {
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
}

.position-group h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #ccc;
    font-weight: 500;
}

.position-group .minimal-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 分析注釋 */
.analysis-note {
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 13px;
    color: #aaa;
    font-style: italic;
}

.minimal-stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background-color: #111;
    border: 1px solid #222;
    border-radius: 4px;
    font-size: 12px;
}

.minimal-stats-label {
    color: #999;
    margin-bottom: 4px;
}

.minimal-stats-value {
    color: #fff;
    font-weight: 500;
}

/* 分析結果區域 */
.minimal-results {
    margin-top: 40px;
}

/* 區塊樣式 */
.minimal-section {
    margin-bottom: 40px;
    border-bottom: 1px solid #222;
    padding-bottom: 30px;
}

.minimal-section:last-child {
    border-bottom: none;
}

.minimal-section-title {
    font-size: 20px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.minimal-section-content {
    padding: 0;
}

/* 子標題 */
.minimal-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #ccc;
    margin-bottom: 15px;
}

/* 網格佈局 */
.minimal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

/* 號碼顯示 */
.minimal-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.minimal-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.minimal-number.hot {
    background-color: #222;
    color: #fff;
    border: 1px solid #444;
}

.minimal-number.cold {
    background-color: #111;
    color: #888;
    border: 1px solid #333;
}

.minimal-number.normal {
    background-color: #1a1a1a;
    color: #ccc;
    border: 1px solid #333;
}

/* 統計數據 */
.minimal-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #222;
    font-size: 15px;
}

.minimal-stat:last-child {
    border-bottom: none;
}

.minimal-value {
    font-weight: 500;
    color: #fff;
}

/* 模式列表 */
.minimal-patterns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.minimal-pattern {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background-color: #111;
    border: 1px solid #222;
    border-radius: 4px;
    font-size: 14px;
}

.minimal-pattern-name {
    color: #ccc;
}

.minimal-pattern-value {
    color: #fff;
    font-weight: 500;
}

/* 圖表容器 */
.minimal-chart-container {
    position: relative;
    height: 250px;
    margin-top: 20px;
    background-color: #111;
    border: 1px solid #222;
    border-radius: 4px;
    padding: 15px;
}

/* 區間表格 */
.minimal-table {
    width: 100%;
    border-collapse: collapse;
}

.minimal-table th {
    background-color: #1a1a1a;
    padding: 12px;
    text-align: left;
    font-weight: 400;
    color: #ccc;
    border-bottom: 1px solid #333;
}

.minimal-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #222;
    color: #e8e8e8;
}

.minimal-table tr:last-child td {
    border-bottom: none;
}

.minimal-table tr:hover {
    background-color: #1a1a1a;
}

/* 控制元件 */
.minimal-input {
    background-color: #111;
    color: #fff;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    min-width: 100px;
}

.minimal-input:focus {
    outline: none;
    border-color: #444;
    background-color: #1a1a1a;
}

.minimal-button {
    background-color: #222;
    color: #fff;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.minimal-button:hover {
    background-color: #333;
    border-color: #444;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .minimal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .minimal-control-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .minimal-controls {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* 隱藏類 */
.d-none {
    display: none !important;
}