/* MBTI测试网站主样式 */

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: #007bff;
}

/* 卡片样式 */
.card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
    font-weight: 600;
}

/* 按钮样式 */
.btn {
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 10px 25px;
}

.btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* 测试问题样式 */
.question-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.question-item h3 {
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

.form-check {
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.form-check:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}

.form-check-input:checked ~ .form-check-label {
    font-weight: 500;
    color: #007bff;
}

/* 进度条样式 */
.progress {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 10px;
    margin-bottom: 20px;
}

.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

/* 结果页面样式 */
.lead {
    font-size: 1.1rem;
    line-height: 1.7;
}

.bg-primary {
    background-color: #0066cc !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card {
        margin-bottom: 20px;
    }
    
    .btn-lg {
        padding: 8px 16px;
        font-size: 0.95rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .question-item, .btn {
    animation: fadeIn 0.5s ease-out;
} 