/**
 * field-extension-simple.css
 * 极简版视野扩展训练模块的样式
 */

/* 刺激点样式 */
.stimulus {
    position: absolute;
    background-color: red;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 5;
}

/* 注视点样式 */
.fixation-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: black;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: black;
}

/* 分数变化动画 */
.score-changed {
    animation: scoreChange 0.8s ease;
}

@keyframes scoreChange {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); color: #28a745; }
    100% { transform: scale(1); }
}

/* 训练区域样式 */
.stimulus-container {
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

/* 修复训练历史列表样式 */
.history-item {
    display: flex;
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.history-item:last-child {
    border-bottom: none;
}

.history-date {
    flex: 2;
    color: #666;
}

.history-difficulty {
    flex: 2;
    font-weight: 500;
}

.history-score, .history-accuracy {
    flex: 1;
    text-align: right;
}

/* 确保响应按钮在移动设备上也有合适的大小 */
@media (max-width: 768px) {
    .training-controls button {
        padding: 12px 8px;
        font-size: 14px;
    }
    
    #responseBtn {
        flex-grow: 2;
    }
}