/**
 * NFC Card Onboarding Styles - White Theme
 * 现代简洁的白底设计风格，适配NFC卡片创建流程
 */

.navbar-brand {
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}
.c8ke-co-logo {
    width: 145px;
    height: 40px;
    background: url(../images/c8ke-logo-3x.png) no-repeat center center;
    background-size: 140px;
}
.nfc-onboarding-nav-header-content{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 20px;
}
.module-reg-title{
    font-size: 18px;
    font-weight: 500;
}

/* 进度指示器样式 */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid #e0e0e0;
    background-color: #f5f5f5;
    color: #999;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.step-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s ease;
}

.progress-line {
    flex: 1;
    height: 2px;
    background-color: #e0e0e0;
    margin: 0 1rem;
    position: relative;
    top: -16px;
    transition: background-color 0.3s ease;
}

/* 激活状态 */
.progress-step.active .step-circle {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
}

.progress-step.active .step-label {
    color: #007bff;
    font-weight: 600;
}

/* 完成状态 */
.progress-step.completed .step-circle {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.progress-step.completed .step-label {
    color: #28a745;
    font-weight: 600;
}

.progress-line.completed {
    background-color: #28a745;
}

/* 响应式设计 */
@media (max-width: 480px) {

    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .step-label {
        font-size: 11px;
    }

    .progress-line {
        margin: 0 0.5rem;
        top: -12px;
    }
}

/* 全局样式 */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #f8fafc;
    color: #1e293b;
}

/* 容器样式 */
.nfc-onboarding-container-parent {
    display: flex;
    justify-content: center;
    /*min-height: 100vh;*/
    background: #f8fafc;
    padding: 1rem;
    flex: 1;
}

.nfc-onboarding-container {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: #1e293b;
    /*min-height: calc(100vh - 2rem);*/
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    position: relative;
    margin: 1rem 0;
}

/* 进度条样式 */
.nfc-progress-container {
    margin-bottom: 2.5rem;
    width: 100%;
}

.nfc-progress {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.nfc-progress-bar {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    height: 100%;
    width: 33.33%;
    transition: width 0.4s ease;
    border-radius: 8px;
}

.nfc-step-indicator {
    text-align: left;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
}

/* 通用步骤样式 */
.nfc-onboarding-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.nfc-step-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.nfc-step-header h2 {
    margin: 0 0 0.75rem 0;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.875rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.nfc-step-header p {
    color: #64748b;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

/* 搜索方式选择器 */
.search-method-selector {
    margin-bottom: 2rem;
}

.search-method-toggle {
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    color: #475569;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.search-method-toggle:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.search-method-toggle.active {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1e40af;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-method-toggle i {
    margin-right: 0.75rem;
    color: #3b82f6;
    font-size: 1.1rem;
}

.search-method-toggle:not(.active) i.fa-check {
    display: none;
}

.search-method-toggle:not(.active) i.fa-times {
    display: inline;
    color: #64748b;
}

.search-method-toggle.active i.fa-times {
    display: none;
}

.search-method-toggle.active i.fa-check {
    display: inline;
}

/* Account Verified 样式 */
.account-verified {
    text-align: center;
    padding: 2rem 1rem;
    background: #f0f9ff;
    border: 2px solid #e0f2fe;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.verified-icon {
    margin-bottom: 1rem;
}

.verified-icon i {
    font-size: 3rem;
    color: #10b981;
}

.account-verified p {
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.user-info {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    text-align: left;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.user-info p {
    margin: 0.5rem 0;
    color: #64748b;
    font-size: 0.95rem;
}

.user-info strong {
    color: #1e293b;
}

/* 搜索容器样式 */
.nfc-search-container {
    margin-bottom: 2rem;
    flex: 1;
}

.nfc-search-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 1rem;
    background: #ffffff;
    color: #0f172a;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.nfc-search-input::placeholder {
    color: #94a3b8;
}

.nfc-search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.business-results {
    margin-top: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.business-option,
.business-result-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.business-option:hover,
.business-result-item:hover {
    border-color: #3b82f6;
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.business-option.selected,
.business-result-item.selected {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.business-result-item .business-name {
    color: #1e293b;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.business-result-item .business-address {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0;
}

/* Google Places Autocomplete样式覆盖 */
.pac-container {
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    border: 1px solid #e0e0e0 !important;
    margin-top: 4px !important;
}

.pac-item {
    padding: 12px 16px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.pac-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.pac-item:hover .pac-item-query {
    color: white !important;
}

.pac-item:hover .pac-matched {
    color: rgba(255, 255, 255, 0.9) !important;
}

.pac-item-query {
    font-weight: 600 !important;
    font-size: 1rem !important;
}

.pac-matched {
    font-weight: 700 !important;
}

/* 商家信息窗口样式 */
.business-info-window {
    max-width: 320px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.business-header {
    margin-bottom: 12px;
}

.business-info-window .business-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.business-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.rating-stars {
    color: #ffa500;
    font-size: 0.9rem;
}

.rating-text {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.rating-count {
    color: #666;
    font-size: 0.85rem;
}

.business-details {
    margin-bottom: 0;
}

.business-details > div {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    line-height: 1.3;
}

.business-details i {
    color: #666;
    width: 12px;
    margin-top: 1px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.business-address span {
    color: #555;
    word-break: break-word;
}

.business-phone span {
    color: #555;
}

.business-website a {
    color: #1a73e8;
    text-decoration: none;
    word-break: break-word;
}

.business-website a:hover {
    text-decoration: underline;
}

/* InfoWindow 优化布局样式 - 无按钮，点击整个区域选中 */
.business-info-window {
    min-width: 320px;
    max-width: 450px;
    min-height: 120px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    overflow: hidden;
}

.business-info-window:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.info-window-content {
    padding: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* InfoWindow 行布局 */
.info-window-row {
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-window-row:last-child {
    margin-bottom: 0;
}

/* 第一行：图片、名字和点评 */
.info-window-main-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

/* 第二行及以后：地址、电话等 */
.info-window-address-row,
.info-window-phone-row,
.info-window-website-row {
    margin-bottom: 6px;
}

.c8ke-nfc-onboarding-root-container{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.nfc-onboarding-footer{
    display: flex;
    gap: 10px;
    padding-bottom: 10px;
    justify-content: center;
    align-items: center;
    background: white;
    max-width: 480px;
    margin: 0 auto;
    font-size: 12px;
}
.nfc-onboarding-footer a{
    text-decoration: none;
    color: gray;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .business-info-window {
        min-width: 280px;
        max-width: 350px;
        min-height: 100px;
    }
    
    .info-window-content {
        padding: 12px;
    }
    
    .info-window-main-row {
        gap: 10px;
    }
    
    .business-photo-small {
        width: 50px;
        height: 50px;
    }
    
    .photo-placeholder-small {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .business-name {
        font-size: 1rem;
    }
    
    .business-address,
    .business-phone,
    .business-website {
        font-size: 0.85rem;
    }
}

.business-photo-section {
    flex-shrink: 0;
    width: 60px;
}

.business-photo-small {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.photo-placeholder-small {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
}

.business-name-rating-section {
    flex: 1;
    min-width: 0;
}

.business-name {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.business-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
}

.rating-stars {
    color: #fbbf24;
}

.rating-text {
    font-weight: 600;
    color: #333;
}

.rating-count {
    color: #666;
}

/* 地址、电话、网站样式 */
.business-address,
.business-phone,
.business-website {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.business-address i,
.business-phone i,
.business-website i {
    color: #666;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.business-address span,
.business-phone span,
.business-website span {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.business-website a {
    color: #1976d2;
    text-decoration: none;
}

.business-website a:hover {
    text-decoration: underline;
}

/* 按钮样式已移除 - InfoWindow现在通过点击整个区域来选中商家 */

/* 旧版样式保持兼容 */
.business-photo {
    margin: 12px 0;
    text-align: center;
}

.business-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 加载状态 */
.business-results .loading {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.business-results .no-results {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    font-style: italic;
}

.business-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #3b82f6;
}

.business-details {
    flex: 1;
}

.business-details h4 {
    margin: 0 0 0.25rem 0;
    color: #1e293b;
    font-weight: 600;
    font-size: 1rem;
}

.business-details p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.3;
}

.manual-place-option {
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
}

.manual-place-option p {
    color: #64748b;
    margin: 0;
}

.manual-place-id-btn {
    color: #3b82f6;
    text-decoration: underline;
    cursor: pointer;
}

.manual-place-id-btn:hover {
    color: #1d4ed8;
}

/* 选中的商家信息容器 */
.selected-business-container {
    margin-top: 1rem;
    z-index: 999;
}

/* 选中的商家信息 */
.selected-business {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.selected-business h4 {
    color: #3b82f6;
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.business-info h5 {
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.business-info p {
    color: #64748b;
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.business-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating {
    font-weight: 600;
    color: #3b82f6;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.total {
    color: #64748b;
    font-size: 0.9rem;
}

/* 地图容器样式 */
.nfc-map-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.map-header {
    margin-bottom: 1rem;
    text-align: center;
}

.map-header h3 {
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.map-header p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

.business-map {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.business-map:hover {
    border-color: #cbd5e1;
}

/* 地图加载状态 */
.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #64748b;
    font-size: 0.9rem;
}

.map-loading::before {
    content: '🗺️';
    font-size: 2rem;
    margin-right: 0.5rem;
}

/* 地图标记信息窗口样式 */
.map-info-window {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    max-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
}

.map-info-window h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
}

.map-info-window p {
    margin: 0 0 0.5rem 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.3;
}

.map-info-window .rating {
    color: #f59e0b;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .business-map {
        height: 250px;
    }
    
    .map-header h3 {
        font-size: 1.1rem;
    }
    
    .map-header p {
        font-size: 0.85rem;
    }
}

/* 账户类型选择器 */
.account-type-selector {
    margin-bottom: 2rem;
}

.account-type-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.account-type-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.account-type-btn.active {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1e40af;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 顶部切换标签页样式 */
.auth-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 2rem;
    gap: 4px;
}

.auth-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.auth-tab:hover:not(.active) {
    color: #475569;
}

/* Business Search Section */
.business-search-section {
    margin-bottom: 1.5rem;
}

.search-input-container {
    position: relative;
    margin-bottom: 0.5rem;
}

.business-search-input {
    padding-right: 3rem !important;
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ef4444;
    font-size: 1.1rem;
    pointer-events: none;
}

.search-description {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
    text-align: left;
}

/* Google Map 占位区域 */
.google-map-placeholder {
    margin-bottom: 1.5rem;
}

.business-map {
    width: 100%;
    height: 200px;
    background: #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
}

.map-placeholder-content {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 500;
}

/* 表单字段样式 */
.form-fields {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.verification-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.verification-input {
    flex: 1;
}

.send-code-btn {
    padding: 0.875rem 1.5rem;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.send-code-btn:hover {
    background: #1f2937;
    transform: translateY(-1px);
}

/* Continue 按钮 */
.form-actions {
    margin-bottom: 1.5rem;
}

.continue-btn,.finish-btn {
    width: 100%;
    padding: 1rem;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-btn:hover,.finish-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* 表单容器 */
.register-form-container,
.login-form-container {
    width: 100%;
}

/* 忘记密码链接 */
.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* 顶部标签页样式 */
.auth-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 16px;
    padding: 0.25rem;
    margin-bottom: 2rem;
    gap: 0.25rem;
}

.auth-tab {
    flex: 1;
    padding: 0.875rem 1rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.auth-tab.active {
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.auth-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    color: #475569;
}

/* Business搜索区域样式 */
.business-search-section {
    margin-bottom: 1.5rem;
}

.search-input-container {
    position: relative;
    margin-bottom: 0.75rem;
}

.business-search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    color: #0f172a;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.business-search-input::placeholder {
    color: #94a3b8;
}

.business-search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ef4444;
    font-size: 1.1rem;
    pointer-events: none;
}

.search-description {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
    text-align: left;
}

/* Google Map占位区域样式 */
.google-map-placeholder {
    margin-bottom: 2rem;
}

.business-map {
    width: 100%;
    height: 200px;
    background: #e2e8f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #cbd5e1;
    position: relative;
    overflow: hidden;
}

.map-placeholder-content {
    color: #64748b;
    font-size: 1.125rem;
    font-weight: 500;
}

/* 当地图初始化后隐藏占位内容 */
.business-map.map-initialized .map-placeholder-content {
    display: none;
}

/* 表单字段样式 */
.form-fields {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    color: #0f172a;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* 验证码行样式 */
.verification-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.verification-input {
    flex: 1;
}

.send-code-btn {
    padding: 1rem 1.5rem;
    background: #1f2937;
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.send-code-btn:hover:not(:disabled) {
    background: #111827;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.send-code-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Continue按钮样式 */
.form-actions {
    margin-bottom: 1rem;
}

.continue-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.continue-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.continue-btn:active {
    transform: translateY(0);
}

/* 忘记密码链接样式 */
.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* 表单样式 */
.google-login-btn {
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.google-login-btn:hover {
    background: #f9fafb;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.google-login-btn i {
    color: #ea4335;
}

.divider {
    text-align: center;
    color: #64748b;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #e2e8f0;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: #ffffff;
    color: #1e293b;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input.input-error {
    border-color: #ef4444;
    background: #fef2f2;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.send-verification-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.send-verification-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.send-verification-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.verification-section {
    margin-top: 1.5rem;
}

.verification-info {
    color: #3b82f6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
}

.create-account-btn,
.login-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.create-account-btn:hover,
.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* 步骤操作按钮 */
.nfc-step-actions {
    margin-top: auto;
    padding-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.nfc-next-btn,
.nfc-prev-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.nfc-next-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
}

.nfc-next-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.nfc-next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.nfc-prev-btn {
    background: #ffffff;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.nfc-prev-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nfc-prev-btn i {
    margin-right: 0.5rem;
}

/* 成功页面样式 */
.nfc-onboarding-step.success {
    text-align: center;
    justify-content: center;
}

.success-header {
    margin-bottom: 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #10b981;
}

.success-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: #1e293b;
}

.success-content {
    margin-bottom: 2rem;
}

.success-content p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.success-actions {
    margin-bottom: 3rem;
}

.btn-primary,
.btn-secondary {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: #64748b;
    border: 2px solid #e2e8f0;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.8rem;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
}

/* 模态框样式 */
.manual-place-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    color: #1e293b;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.modal-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.modal-content p {
    color: #64748b;
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-actions button {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 错误页面样式 */
.nfc-error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f8fafc;
    color: #1e293b;
    text-align: center;
    padding: 2rem;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ef4444;
}

.nfc-error-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.nfc-error-container p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 400px;
}

.retry-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nfc-onboarding-container {
        padding: 1.5rem 1rem;
    }
    
    .nfc-step-header h2 {
        font-size: 1.6rem;
    }
    
    .business-map {
        height: 180px;
    }
    
    .verification-row {
        /*flex-direction: column;*/
        gap: 1rem;
    }
    
    .send-code-btn {
        /*width: 100%;*/
        padding: 1rem;
    }
    
    .auth-tab {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nfc-onboarding-container {
        padding: 1rem 0.75rem;
        margin: 0.5rem 0;
    }
    
    .nfc-step-header h2 {
        font-size: 1.4rem;
    }
    
    .business-map {
        height: 160px;
    }
    
    .business-search-input {
        padding: 0.875rem 2.5rem 0.875rem 0.875rem;
    }
    
    .search-icon {
        right: 0.875rem;
        font-size: 1rem;
    }
    
    .form-input {
        padding: 0.875rem;
    }
    
    .continue-btn {
        padding: 0.875rem 1.5rem;
    }
    
    .send-code-btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .auth-tabs {
        margin-bottom: 1.5rem;
    }
    
    .auth-tab {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
}

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

.nfc-onboarding-step {
    animation: fadeIn 0.3s ease-out;
}

/* 滚动条样式 */
.business-results::-webkit-scrollbar {
    width: 6px;
}

.business-results::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.business-results::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.business-results::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 自动完成下拉框样式 */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    margin-top: 0;
}

.autocomplete-item {
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    color: #1e293b;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: #f8fafc;
    color: #1e293b;
}

.autocomplete-main {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.autocomplete-secondary {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.3;
}

/* 搜索输入框容器需要相对定位 */
.nfc-search-container {
    position: relative;
}

/* 自动完成下拉框滚动条样式 */
.autocomplete-dropdown::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 认证表单样式 */
.auth-type-selector {
    display: flex;
    margin-bottom: 2rem;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 0.25rem;
}

.auth-type-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-type-btn.active {
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-type-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    color: #475569;
}

.login-form,
.register-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: #ffffff;
    color: #1e293b;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.login-btn,
.register-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.login-btn:hover,
.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.login-btn:active,
.register-btn:active {
    transform: translateY(0);
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.auth-divider span {
    background: #ffffff;
    padding: 0 1rem;
    color: #64748b;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.google-login-btn {
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.google-login-btn:hover {
    background: #f9fafb;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.google-login-btn i {
    color: #4285f4;
    font-size: 1.2rem;
}

.google-map-canvas{
    height: 100%;
}
.google-places-autocomplete.input-error{
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* ===== 移动端响应式设计 ===== */

/* 平板设备 (768px 及以下) */
@media (max-width: 768px) {
    .nfc-onboarding-container {
        padding: 1rem;
        margin: 0;
        /*min-height: 100vh;*/
        border-radius: 0;
        box-shadow: none;
    }
    
    .nfc-onboarding-container-parent {
        padding: 0;
        /*min-height: 100vh;*/
    }
    
    .nfc-step-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .nfc-step-header p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .business-map {
        height: 250px;
        margin-bottom: 1.5rem;
    }
    
    .form-input {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .continue-btn,
    .login-btn,
    .register-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .auth-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .autocomplete-dropdown {
        max-height: 250px;
    }
    
    .autocomplete-item {
        padding: 0.875rem;
    }
    
    .autocomplete-main {
        font-size: 0.95rem;
    }
    
    .autocomplete-secondary {
        font-size: 0.85rem;
    }
}

/* 手机设备 (480px 及以下) */
@media (max-width: 480px) {
    .nfc-onboarding-container {
        padding: 0.75rem;
    }
    
    .nfc-step-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .nfc-step-header p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .business-map {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .form-input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .continue-btn,
    .login-btn,
    .register-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .auth-tabs {
        margin-bottom: 1rem;
    }
    
    .auth-tab {
        padding: 0.625rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .form-group {
        margin-bottom: 0.875rem;
    }
    
    .autocomplete-dropdown {
        max-height: 200px;
        margin-top: 0.25rem;
    }
    
    .autocomplete-item {
        padding: 0.75rem;
    }
    
    .autocomplete-main {
        font-size: 0.9rem;
        margin-bottom: 0.125rem;
    }
    
    .autocomplete-secondary {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    /* 信息窗口在手机上的优化 */
    .info-window-content {
        max-width: 250px !important;
    }
    
    .info-window-content h3 {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }
    
    .info-window-content .rating,
    .info-window-content .address,
    .info-window-content .phone,
    .info-window-content .website {
        font-size: 12px !important;
        margin-bottom: 6px !important;
    }
    
    .info-window-image img {
        height: 120px !important;
    }
    
    /* 搜索指示器在手机上的优化 */
    .search-indicator {
        font-size: 11px !important;
        right: 8px !important;
    }
    
    .spinner {
        width: 10px !important;
        height: 10px !important;
    }
}

/* 超小屏幕设备 (360px 及以下) */
@media (max-width: 360px) {
    .nfc-onboarding-container {
        padding: 0.5rem;
    }
    
    .nfc-step-header h2 {
        font-size: 1.375rem;
    }
    
    .business-map {
        height: 180px;
    }
    
    .form-input {
        padding: 0.625rem;
        font-size: 0.875rem;
    }
    
    .continue-btn,
    .login-btn,
    .register-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .auth-tab {
        padding: 0.5rem 0.625rem;
        font-size: 0.8rem;
    }
    
    .autocomplete-dropdown {
        max-height: 180px;
    }
    
    .autocomplete-item {
        padding: 0.625rem;
    }
    
    .autocomplete-main {
        font-size: 0.875rem;
    }
    
    .autocomplete-secondary {
        font-size: 0.75rem;
    }
    
    /* 信息窗口进一步优化 */
    .info-window-content {
        max-width: 220px !important;
    }
    
    .info-window-image img {
        height: 100px !important;
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .nfc-onboarding-container {
        padding: 0.5rem;
    }
    
    .nfc-step-header {
        margin-bottom: 1rem;
    }
    
    .nfc-step-header h2 {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .nfc-step-header p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .business-map {
        height: 150px;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 0.75rem;
    }
    
    .autocomplete-dropdown {
        max-height: 120px;
    }

}
