/**
 * 错误页面样式
 * 创建时间: 2026-03-06
 */

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.error-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.error-icon {
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease-out;
}

.error-icon .van-icon {
    font-size: 64px !important;
}

.error-code {
    font-size: 48px;
    font-weight: bold;
    color: #323233;
    margin-bottom: 10px;
    line-height: 1;
    animation: fadeInUp 0.5s ease-out 0.1s both;
}

.error-title {
    font-size: 18px;
    font-weight: 600;
    color: #323233;
    margin-bottom: 12px;
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.error-message {
    font-size: 14px;
    color: #646566;
    margin-bottom: 32px;
    line-height: 1.6;
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.error-detail {
    width: 100%;
    max-width: 400px;
    margin-bottom: 24px;
    text-align: left;
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

.error-actions {
    width: 100%;
    max-width: 320px;
    animation: fadeInUp 0.5s ease-out 0.5s both;
}

.error-actions .van-button {
    margin-bottom: 12px;
}

.error-actions .van-button--normal,
.error-actions .van-button--small {
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

.error-actions .van-button:first-child {
    margin-top: 8px;
}


.error-actions .van-button:last-child {
    margin-bottom: 0;
}

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

/* 响应式调整 */
@media (max-width: 375px) {
    .error-icon .van-icon {
        font-size: 56px !important;
    }

    .error-code {
        font-size: 40px;
    }

    .error-title {
        font-size: 16px;
    }

    .error-message {
        font-size: 13px;
    }
}

