/* H5 移动端专用样式 */

.h5-app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    background: #f3f4f6;
}

.h5-safe-top {
    padding-top: env(safe-area-inset-top, 0);
}

.h5-safe-bottom {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.h5-header {
    background: linear-gradient(135deg, #0A1628 0%, #132238 55%, #0B5FFF 120%);
}

.h5-tabbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -4px 24px rgba(10, 22, 40, 0.06);
}

.h5-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 0 4px;
    color: #9ca3af;
    font-size: 11px;
    transition: color 0.2s;
}

.h5-tab-item i {
    font-size: 20px;
    line-height: 1;
}

.h5-tab-item.active {
    color: #0B5FFF;
}

.h5-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(11, 95, 255, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.h5-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.h5-entry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.h5-entry-item:active {
    transform: scale(0.98);
}

.h5-entry-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 8px;
}

.h5-list-card {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
}

.h5-list-card:last-child {
    border-bottom: none;
}

.h5-status-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.h5-sticky-btn {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(64px + env(safe-area-inset-bottom, 0) + 12px);
    width: calc(100% - 32px);
    max-width: 448px;
    z-index: 40;
}

.h5-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    transition: all 0.3s;
}

.h5-step-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #0B5FFF;
}

.h5-form-step {
    display: none;
}

.h5-form-step.active {
    display: block;
    animation: h5FadeIn 0.3s ease;
}

@keyframes h5FadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.h5-search-bar {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}
