/* 自定义全局样式 */
body {
    font-family: 'Noto Sans SC', sans-serif;
}

/* 隐藏滚动条 */
::-webkit-scrollbar {
    display: none;
}

/* 首页按钮的统一样式 */
.test-start-btn {
    text-align: left;
    width: 100%;
    color: white;
    font-weight: bold;
    padding: 1rem;
    border-radius: 0.75rem;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    transform-origin: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.test-start-btn:hover {
    transform: scale(1.05);
}
/* 为不同按钮应用在HTML中定义的背景色 */
[data-test-key="holland"] { background-color: #2563EB; }
[data-test-key="holland"]:hover { background-color: #1D4ED8; }
[data-test-key="bigfive"] { background-color: #0D9488; }
[data-test-key="bigfive"]:hover { background-color: #0F766E; }
[data-test-key="anchor"] { background-color: #4F46E5; }
[data-test-key="anchor"]:hover { background-color: #4338CA; }
[data-test-key="temperament"] { background-color: #E11D48; }
[data-test-key="temperament"]:hover { background-color: #BE123C; }


/* 页面和问题切换的动画效果 */
.page-enter {
    animation: fadeIn 0.5s ease-in-out forwards;
}

.question-fade-out {
    animation: fadeOut 0.2s ease-in-out forwards;
}

.question-fade-in {
    animation: fadeIn 0.2s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}