/* 信息登记页面 - 手机H5样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 主容器 */
.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

/* 背景装饰元素 */
.section_1 {
    flex: 1;
    position: relative;
    min-height: 100vh;
    background: transparent;
}

.bg_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* 内容区域 */
.section_2 {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 100vh;
}

/* 表单容器 */
.group_1 {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.group_1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc143c 0%, #ff6b6b 50%, #dc143c 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 标题文字 */
.text_1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(220, 20, 60, 0.2);
    position: relative;
}

.text_1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #dc143c, transparent);
    margin: 15px auto 0;
}

/* 登录标题 */
.login_title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
    letter-spacing: 1px;
}

.login_title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dc143c, transparent);
}

/* 表单项 */
.text-wrapper {
    margin-bottom: 24px;
    position: relative;
}

.text-wrapper label {
    display: block;
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.text-wrapper label::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    transition: height 0.3s ease;
}

.text-wrapper label::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #cbd5e0;
    transition: all 0.3s ease;
}

.text-wrapper:hover label::after {
    background: #dc143c;
    transform: translateY(-50%);
}

.text_2 {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #d0d7de;
    border-radius: 4px;
    font-size: 15px;
    color: #1a1a2e;
    background: #ffffff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    position: relative;
}

.text_2:hover {
    border-color: #a0aec0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.text_2:focus {
    border-color: #dc143c;
    box-shadow: 0 0 0 2px rgba(220, 20, 60, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    background: #ffffff;
}

.text_2:focus + .input-icon,
.text-wrapper:focus-within .input-icon {
    color: #dc143c;
}

.text-wrapper:focus-within label::after {
    background: #dc143c;
}

.text-wrapper:focus-within label::before {
    height: 14px;
}

.text_2::placeholder {
    color: #8e959f;
    font-size: 14px;
    font-weight: 400;
}

/* 地区选择器 */
.mninput {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #d0d7de;
    border-radius: 4px;
    font-size: 15px;
    color: #1a1a2e;
    background: #ffffff;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    position: relative;
}

.mninput::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #8e959f;
    transition: all 0.2s ease;
    pointer-events: none;
}

.mninput:hover {
    border-color: #a0aec0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.mninput:hover::after {
    border-top-color: #dc143c;
}

.mninput:focus,
.mninput:active {
    border-color: #dc143c;
    box-shadow: 0 0 0 2px rgba(220, 20, 60, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    background: #ffffff;
}

.mninput:focus::after,
.mninput:active::after {
    border-top-color: #dc143c;
}

.font_color {
    color: #2d3748 !important;
}

.font_color::before {
    color: #a0aec0;
}

/* 按钮样式 */
.button {
    width: 100%;
    height: 54px;
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 
        0 8px 20px rgba(220, 20, 60, 0.4),
        0 4px 10px rgba(220, 20, 60, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.button:hover::before {
    left: 100%;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 28px rgba(220, 20, 60, 0.5),
        0 6px 15px rgba(220, 20, 60, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 15px rgba(220, 20, 60, 0.4),
        0 3px 8px rgba(220, 20, 60, 0.25);
}

/* 表单验证错误提示 */
.form-error {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
    padding-left: 2px;
    display: none;
    align-items: center;
    gap: 4px;
    min-height: 18px;
}

.form-error::before {
    content: '⚠';
    font-size: 14px;
}

.text-wrapper.error .form-error {
    display: flex;
    animation: errorSlideIn 0.3s ease;
}

@keyframes errorSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-wrapper.error .text_2 {
    border-color: #e53e3e;
    box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.1);
    animation: errorShake 0.4s ease;
}

.text-wrapper.error .text_2:focus {
    box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.15);
}

.text-wrapper.error label::after {
    background: #e53e3e;
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-4px);
    }
    40% {
        transform: translateX(4px);
    }
    60% {
        transform: translateX(-2px);
    }
    80% {
        transform: translateX(2px);
    }
}

/* 单选按钮组 */
.usertype {
    margin-right: 20px;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #2d3748;
    font-weight: 500;
}

.usertype input[type="radio"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: #dc143c;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.usertype input[type="radio"]:hover {
    transform: scale(1.1);
}

.usertype input[type="radio"]:checked {
    transform: scale(1.15);
}

/* 选择器弹窗样式 */
.picker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: flex-end;
    animation: fadeIn 0.3s ease;
}

.picker-modal.active {
    display: flex;
}

.picker-modal .picker-content {
    width: 100%;
    max-height: 70%;
    background: #fff;
    border-radius: 24px 24px 0 0;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.picker-modal .picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e8e8e8;
    background: #fafafa;
    border-radius: 24px 24px 0 0;
}

.picker-modal .picker-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.picker-modal .picker-btn.cancel {
    background: #e8e8e8;
    color: #4a5568;
}

.picker-modal .picker-btn.cancel:hover {
    background: #d8d8d8;
    transform: translateY(-1px);
}

.picker-modal .picker-btn.confirm {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.4);
}

.picker-modal .picker-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 20, 60, 0.5);
}

.picker-modal .picker-options {
    max-height: 300px;
    overflow-y: auto;
    padding: 12px 0;
}

.picker-modal .picker-option {
    padding: 16px 24px;
    font-size: 15px;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    font-weight: 500;
}

.picker-modal .picker-option:hover {
    background: #f8f9fa;
    border-left-color: #dc143c;
    padding-left: 28px;
}

.picker-modal .picker-option.selected {
    color: #dc143c;
    font-weight: 600;
    background: rgba(220, 20, 60, 0.05);
    border-left-color: #dc143c;
    padding-left: 28px;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* 响应式适配 */
@media (max-width: 375px) {
    .group_1 {
        padding: 32px 20px;
        max-width: 100%;
    }

    .text_1 {
        font-size: 24px;
        letter-spacing: 1.5px;
    }

    .login_title {
        font-size: 20px;
    }

    .text_2 {
        height: 48px;
        font-size: 14px;
    }

    .button {
        height: 50px;
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .section_2 {
        padding: 80px 20px;
    }

    .group_1 {
        max-width: 480px;
        padding: 48px 36px;
    }

    .text_1 {
        font-size: 32px;
    }

    .login_title {
        font-size: 24px;
    }
}

/* 加载状态 */
.loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 表单输入框图标 */
.input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 18px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.start-btn {
    display: inline-block;
    width: 60%;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.start-btn>img{
    width: 100%;
    height: 100%;
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.start-btn:hover::before {
    left: 100%;
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(220, 20, 60, 0.5),
        0 6px 16px rgba(220, 20, 60, 0.4);
}

.start-btn:active {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 16px rgba(220, 20, 60, 0.4),
        0 2px 8px rgba(220, 20, 60, 0.25);
}

@media (max-width: 375px) {
    .start-btn {
        width: 85%;
        height: 50px;
        line-height: 50px;
        font-size: 16px;
    }
}

/* 答题欢迎页面样式 - 基于750x1440设计稿 */
.welcome-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: linear-gradient(180deg, #fff5f5 0%, #ffe8e8 50%, #ffd8d8 100%);
    overflow: hidden;
    position: relative;
}

/* 顶部图片区域 - 750设计稿占比 20.83% */
.welcome-container .top {
    width: 100%;
    height: 170px;
    background: linear-gradient(135deg, #dc143c 0%, #ff6b6b 100%);
    position: relative;
    flex-shrink: 0;
    min-height: 120px;
}

/* 导航栏 - 750设计稿占比 4.17% */
.welcome-container .nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fff;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-shrink: 0;
    height: 4.17vh;
    min-height: 60px;
}

.welcome-container .nav-item {
    text-align: center;
    cursor: pointer;
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-container .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc143c 0%, #ff0000 100%);
    transition: all 0.3s ease;
}

.welcome-container .nav-item:hover::after {
    width: 60%;
}

.welcome-container .nav-item.active::after {
    width: 80%;
}

.welcome-container .nav-item a {
    display: block;
    padding: 18px 15px;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-container .nav-item:hover a {
    color: #dc143c;
}

.welcome-container .nav-item.active a {
    color: #dc143c;
    font-weight: 600;
}

/* 主内容区域 */
.welcome-container .main {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.welcome-container .main::-webkit-scrollbar {
    width: 6px;
}

.welcome-container .main::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.welcome-container .main::-webkit-scrollbar-thumb {
    background: #dc143c;
    border-radius: 3px;
}

.welcome-container .content {
    display: none;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.4s ease;
}

.welcome-container .content.active {
    display: block;
}

/* 首页内容 */
.welcome-container .content-title {
    text-align: center;
    padding: 0px;
}

.welcome-container .content-title-text h2 {
    font-size: 28px;
    color: #dc143c;
    margin-bottom: 20px;
    font-weight: bold;
}

.welcome-container .content-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-all;
    text-align: left;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.welcome-container .content-desc::-webkit-scrollbar {
    width: 6px;
}

.welcome-container .content-desc::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.welcome-container .content-desc::-webkit-scrollbar-thumb {
    background: #dc143c;
    border-radius: 3px;
}

.welcome-container .content-desc::-webkit-scrollbar-thumb:hover {
    background: #b01030;
}

.welcome-container .bottom-btn {
    text-align: center;
    margin-top: 20px;
}

.welcome-container .bottom-btn .btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #dc143c 0%, #ff0000 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
    transition: all 0.3s ease;
}

.welcome-container .bottom-btn .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6);
}

.welcome-container .bottom-btn .btn:active {
    transform: translateY(0);
}

/* 表格样式 */
.welcome-container .content-header {
    text-align: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.welcome-container .content-header h3 {
    font-size: 24px;
    color: #333;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 3px solid #dc143c;
    display: inline-block;
}

.welcome-container .table-container {
    max-height: 620px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #fff;
}

.welcome-container .table-container::-webkit-scrollbar {
    width: 5px;
}

.welcome-container .table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.welcome-container .table-container::-webkit-scrollbar-thumb {
    background: #dc143c;
    border-radius: 4px;
}

.welcome-container .table-container::-webkit-scrollbar-thumb:hover {
    background: #b01030;
}

.welcome-container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

.welcome-container table thead {
    background: linear-gradient(135deg, #dc143c 0%, #ff0000 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

.welcome-container table thead th {
    color: #fff;
    font-weight: 600;
    padding: 14px 10px;
    text-align: center;
    font-size: 15px;
    border-bottom: 2px solid #b01030;
    white-space: nowrap;
}

.welcome-container table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.welcome-container table tbody tr:hover {
    background: rgba(220, 20, 60, 0.05);
    transform: translateX(4px);
}

.welcome-container table tbody td {
    padding: 12px 10px;
    text-align: center;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.welcome-container table tbody tr:last-child td {
    border-bottom: none;
}


.welcome-container .rank-table tbody .rank-1 {
    color: #ffd700;
    font-size: 20px;
}

.welcome-container .rank-table tbody .rank-2 {
    color: #c0c0c0;
    font-size: 18px;
}

.welcome-container .rank-table tbody .rank-3 {
    color: #cd7f32;
    font-size: 18px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .welcome-container .top {
        height: 170px;
    }

    .welcome-container .nav {
        height: 50px;
    }

    .welcome-container .nav-item a {
        padding: 15px 10px;
        font-size: 14px;
    }

    .welcome-container .main {
        padding: 10px;
    }

    .welcome-container .content {
        padding: 10px;
    }

    .welcome-container .content-title-text h3 {
        margin: 10px 0;
    }

    .welcome-container .content-header h3 {
        font-size: 20px;
    }

    .welcome-container table thead th {
        padding: 10px 6px;
        font-size: 13px;
    }

    .welcome-container table tbody td {
        padding: 10px 6px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .welcome-container .top {
        height: 185px;
    }

    .welcome-container .nav {
        height: 48px;
    }

    .welcome-container .nav-item a {
        padding: 14px 8px;
        font-size: 18px;
    }

    .welcome-container .main {
        padding: 8px;
    }

    .welcome-container .content-title-text h2 {
        font-size: 20px;
    }

    .welcome-container .content-desc {
        font-size: 14px;
    }

    .welcome-container .content-header h3 {
        font-size: 18px;
    }
}

@media (min-width: 769px) {
    .welcome-container .main {
        padding: 30px 20px;
    }

    .welcome-container .content {
        padding: 30px;
    }
}


.timer {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    border: 1px solid #d0d7de;
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.timer::before {
    content: '⏱';
    font-size: 14px;
}

.timer #timer {
    font-family: 'Courier New', monospace;
    font-size: 15px;
    letter-spacing: 1px;
    color: #dc143c;
    font-weight: 700;
}

.question-container {
    flex: 1;
    overflow-y: auto;
    padding: 70px 20px 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 46, 0.3);
}

.question-container::-webkit-scrollbar {
    width: 6px;
}

.question-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.question-container::-webkit-scrollbar-thumb {
    background: #dc143c;
    border-radius: 3px;
}

.question-item {
    display: none;
    background: #ffffff;
    border: 1px solid #d0d7de;
    border-radius: 4px;
    padding: 30px 28px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-item.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #dc143c;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.question-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 1px;
}

.question-answer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.question-answer-item {
    position: relative;
}

.question-answer-item-title {
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #d0d7de;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #2d3748;
    position: relative;
    font-weight: 500;
}

.question-answer-item-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #dc143c;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.question-answer-item-title:hover {
    border-color: #a0aec0;
    background: #f8f9fa;
}

.question-answer-item-title:hover::before {
    opacity: 0.3;
}

.question-answer-item-title.selected {
    border-color: #dc143c;
    background: #fff5f5;
    color: #dc143c;
    font-weight: 600;
}

.question-answer-item-title.selected::before {
    opacity: 1;
}

.question-answer-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.option-label {
    margin-left: 8px;
    flex: 1;
}

.navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.nav-btn.prev {
    background: #f0f0f0;
    color: #666;
}

.nav-btn.prev:hover:not(:disabled) {
    background: #e0e0e0;
}

.nav-btn.next,
.nav-btn.submit {
    background: linear-gradient(135deg, #dc143c 0%, #ff0000 100%);
    color: #fff;
}

.nav-btn.next:hover:not(:disabled),
.nav-btn.submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.nav-btn:disabled,
.nav-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.progress {
    flex: 1;
    text-align: center;
    margin: 0 20px;
    font-size: 15px;
    color: #666;
}

.progress-current {
    color: #dc143c;
    font-weight: 600;
}