* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, 'Microsoft YaHei';
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部欢迎条 */
.top-bar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e6e6e6;
    padding: 12px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-text {
    color: #666;
}

.top-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-links a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
}

.top-links a:hover {
    color: #0052a3;
}

.separator {
    color: #ddd;
}

/* 搜索栏 */
.search-section {
    background-color: #fff;
    border-bottom: 1px solid #e6e6e6;
    padding: 20px 0;
}

.search-wrapper {
    display: flex;
    gap: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.location-selector {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background-color: #f9f9f9;
    border-right: 1px solid #e6e6e6;
    min-width: 100px;
}

.location-icon {
    margin-right: 5px;
}

.city-select {
    border: none;
    background-color: transparent;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.search-input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
}

.search-btn {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 30px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #ee5a52;
}

.search-wrapper .logo {
    margin-left: 24px;
    margin-right: 0;
    font-size: 14px;
    font-weight: normal;
    color: #0066cc;
    min-width: auto;
    padding: 10px 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.search-wrapper .logo:hover {
    color: #0052a3;
}
.search-section .container {
    display: flex;
    align-items: center;
}

.search-wrapper {
    flex: 1;
}

.mall-entry {
    margin-left: 12px;
    font-size: 14px;
    color: #0066cc;
    text-decoration: none;
    line-height: 1;
    padding: 10px 0;
}

.mall-entry:hover {
    color: #0052a3;
}

.search-separator {
    width: 1px;
    height: 24px;
    background-color: #e6e6e6;
    margin-left: 12px;
    margin-right: 12px;
}

/* 导航栏 */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e6e6e6;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #ff6b6b;
    margin-right: 30px;
    min-width: 120px;
    text-decoration: none;
    display: inline-block;
}

.navbar .logo,
.navbar .logo:visited,
.navbar .logo:hover,
.navbar .logo:active,
.navbar .logo:focus {
    text-decoration: none;
    color: #ff6b6b;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    flex: 1;
}

.nav-menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    border-radius: 4px;
}

.nav-menu li a:hover {
    color: #ff6b6b;
    background-color: #f0f0f0;
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-login,
.btn-register {
    padding: 8px 15px;
    color: #0066cc;
    text-decoration: none;
    font-size: 13px;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-login:hover,
.btn-register:hover {
    color: #0052a3;
}

.btn-publish {
    padding: 8px 20px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-publish:hover {
    background-color: #ee5a52;
}

/* 主容器 */
.main-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    min-height: 400px;
}

/* 侧边栏分类 */
.sidebar-category {
    width: 200px;
    flex-shrink: 0;
}

.sidebar-category h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b6b;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.3s;
}

.category-list li a:hover {
    color: #fff;
    background-color: #ff6b6b;
    padding-left: 16px;
}

/* Banner区域 */
.banner {
    flex: 1;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
}

.banner-content {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.banner-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
}

.banner-content p {
    font-size: 18px;
    opacity: 0.95;
}

.banner-image {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.banner-image canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.banner-image img {
    width: 100%;
    height: 100%;
    display: block;
}

/* 楼层区域 */
.floor {
    padding: 40px 0;
    border-bottom: 1px solid #e6e6e6;
}

.floor-header {
    margin-bottom: 30px;
}

.floor-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 8px;
}

.floor-subtitle {
    font-size: 14px;
    color: #666;
}

/* 楼层内容 */
.floor-content {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.floor-main-image {
    flex: 0 0 45%;
}

.floor-main-image canvas {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
}

.floor-categories {
    flex: 1;
}

.floor-categories h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

/* 分类标签 */
.category-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tags li a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #e6e6e6;
    transition: all 0.3s;
}

.category-tags li a:hover {
    background-color: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

/* 商品/服务网格 */
.floor-items {
    margin: 30px 0;
}

.floor-items h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.item {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.item h5 {
    padding: 15px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    font-weight: normal;
}

.item:hover h5 {
    color: #ff6b6b;
}

/* 楼层页脚 */
.floor-footer {
    text-align: center;
    margin-top: 30px;
}

.btn-more {
    display: inline-block;
    padding: 10px 30px;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-more:hover {
    background-color: #ee5a52;
}

.service-list-page {
    padding: 40px 0;
}

.service-list-header {
    margin-bottom: 20px;
}

.service-list-header h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 8px;
}

.service-list-header p {
    font-size: 14px;
    color: #666;
}

.service-list {
    list-style: none;
    margin-top: 20px;
    border-top: 1px solid #e6e6e6;
}

.service-list-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-list-item-main {
    flex: 1;
    margin-right: 20px;
}

.service-list-item-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 6px;
}

.service-list-item-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
}

.service-list-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.service-list-item-tags span {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 12px;
    background-color: #f5f5f5;
    color: #666;
    border: 1px solid #e6e6e6;
}

.service-list-item-extra {
    font-size: 13px;
    color: #ff6b6b;
    white-space: nowrap;
}

.wb-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.wb-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
}

.wb-thumb {
    flex: 0 0 140px;
    width: 140px;
    height: 105px;
    border-radius: 4px;
    overflow: hidden;
    display: block;
    background: #f5f5f5;
}

.wb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wb-body {
    flex: 1;
    min-width: 0;
}

.wb-title {
    display: inline-block;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 6px;
}

.wb-title:hover {
    color: #ff6b6b;
}

.wb-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.wb-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wb-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.wb-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 12px;
    background-color: #f5f5f5;
    color: #666;
    border: 1px solid #e6e6e6;
}

.wb-origin {
    font-size: 12px;
    color: #0066cc;
    text-decoration: none;
}

.wb-origin:hover {
    text-decoration: underline;
}

.wb-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.wb-detail-page .service-list-header {
    margin-bottom: 16px;
}

.wb-detail-header h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 8px;
}

.wb-detail-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #888;
}

.wb-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
    margin-top: 16px;
}

.wb-detail-hero {
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
    padding: 12px;
}

.wb-detail-hero-main {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}

.wb-detail-hero-main img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.wb-detail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 48px;
    border: none;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.wb-detail-prev {
    left: 8px;
}

.wb-detail-next {
    right: 8px;
}

.wb-detail-thumbs {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.wb-detail-thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 54px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: #f5f5f5;
    cursor: pointer;
}

.wb-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wb-detail-thumb-active {
    border-color: #ff6b6b;
}

.wb-detail-section {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
}

.wb-detail-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.wb-detail-text {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    word-break: break-word;
    white-space: pre-wrap;
}

.wb-detail-side {
    position: sticky;
    top: 16px;
}

.wb-side-card {
    padding: 16px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
}

.wb-side-row {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.wb-side-row:last-child {
    border-bottom: none;
}

.wb-side-label {
    color: #777;
    flex: 0 0 auto;
}

.wb-side-value {
    color: #333;
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.wb-alert {
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px solid #ffe0b2;
    background: #fff8e1;
    border-radius: 6px;
}

.wb-alert-title {
    font-size: 13px;
    color: #b26a00;
    font-weight: 600;
    margin-bottom: 6px;
}

.wb-alert-body {
    font-size: 12px;
    color: #8a5a00;
    line-height: 1.7;
}

.wb-license-row {
    display: flex;
    gap: 10px;
    font-size: 13px;
    padding: 4px 0;
}

/* 弹框 */
.wb-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.wb-modal.open { display: flex; }

.wb-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.wb-modal-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    width: min(92vw, 420px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
}

.wb-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.wb-modal-title { font-size: 16px; font-weight: 600; color: #333; }

.wb-modal-close {
    border: none; background: transparent; font-size: 20px; cursor: pointer; color: #999;
}

.wb-modal-close:hover { color: #666; }

.wb-modal-body { padding: 16px; }

.wb-modal-row { display: flex; gap: 10px; padding: 8px 0; font-size: 14px; }

.wb-modal-footer { padding: 12px 16px; border-top: 1px solid #eee; }

/* 楼层背景色 */
.floor-1f {
    background-color: #fff;
}

.floor-2f {
    background-color: #fafafa;
}

.floor-3f {
    background-color: #fafafa;
}

.floor-4f {
    background-color: #fafafa;
}

.floor-5f {
    background-color: #fafafa;
}

/* 底部 */
.footer {
    background-color: #333;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff6b6b;
}

.footer-section p {
    font-size: 13px;
    margin-bottom: 5px;
}

.phone {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

.address {
    font-size: 12px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .sidebar-category {
        width: 100%;
    }
    
    .banner {
        flex-direction: column;
    }
    
    .banner-content {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        padding: 30px;
        text-align: center;
    }
    
    .banner-content h1 {
        font-size: 24px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .floor-content {
        flex-direction: column;
    }
    
    .floor-main-image {
        flex: 1;
    }
    
    .nav-menu {
        display: none;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .search-wrapper {
        flex-direction: column;
    }
    
    .location-selector {
        border-right: none;
        border-bottom: 1px solid #e6e6e6;
    }

    .wb-card {
        padding: 12px;
        gap: 12px;
    }

    .wb-thumb {
        flex-basis: 110px;
        width: 110px;
        height: 82px;
    }

    .wb-detail-grid {
        grid-template-columns: 1fr;
    }

    .wb-detail-side {
        position: static;
    }

    .wb-detail-hero-main img {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 18px;
    }
    
    .floor-header h2 {
        font-size: 20px;
    }
    
    .category-tags {
        gap: 5px;
    }
    
    .category-tags li a {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ==================== 登录注册页面样式 ==================== */

/* 页面容器 */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 页面头部 */
.auth-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.auth-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-logo h1 {
    font-size: 28px;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 5px;
    line-height: 1.4;
}

.auth-tagline {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.btn-back-home {
    padding: 8px 20px;
    background-color: transparent;
    color: #0066cc;
    border: 1px solid #0066cc;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.btn-back-home:hover {
    background-color: #0066cc;
    color: white;
}

/* 主体内容区域 */
.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

/* 表单卡片 */
.auth-card {
    width: 420px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.auth-card-wide {
    width: 520px;
}

.auth-card-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* 表单容器 */
.auth-form {
    width: 100%;
}

/* 表单项 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.6;
}

.required {
    color: #f5222d;
    margin-left: 2px;
}

/* 输入框 */
.form-input {
    width: 100%;
    height: 42px;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s;
    line-height: 1.6;
}

.form-input:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.1);
}

.form-input.error {
    border-color: #f5222d;
}

.form-input::placeholder {
    color: #999;
}

select.form-input {
    cursor: pointer;
}

/* 密码输入框包装器 */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    font-size: 18px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.password-toggle:hover {
    opacity: 1;
}

/* 错误提示 */
.form-error {
    display: block;
    font-size: 12px;
    color: #f5222d;
    margin-top: 5px;
    min-height: 18px;
    line-height: 1.5;
}

/* 表单选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 6px;
    cursor: pointer;
}

.link-forgot,
.link-policy {
    font-size: 13px;
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.6;
}

.link-forgot:hover,
.link-policy:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* 提交按钮 */
.btn-submit {
    width: 100%;
    height: 42px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    transition: background-color 0.3s;
    line-height: 1.6;
}

.btn-submit:hover {
    background-color: #ee5a52;
}

.btn-submit:disabled {
    background-color: #d9d9d9;
    color: #999;
    cursor: not-allowed;
}

/* 提示文本 */
.form-tip {
    text-align: center;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.link-register,
.link-login {
    color: #ff6b6b;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s;
}

.link-register:hover,
.link-login:hover {
    color: #ee5a52;
    text-decoration: underline;
}

/* 用户类型选择 */
.user-type-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.user-type-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border: 2px solid #e6e6e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.user-type-item:hover {
    border-color: #ff6b6b;
    background-color: #fff5f5;
}

.user-type-item input[type="radio"] {
    margin-right: 10px;
    margin-top: 2px;
    cursor: pointer;
}

.user-type-item input[type="radio"]:checked + .user-type-label {
    color: #ff6b6b;
}

.user-type-item:has(input[type="radio"]:checked) {
    border-color: #ff6b6b;
    background-color: #fff5f5;
}

.user-type-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-type-label strong {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.user-type-label small {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

/* 验证码输入组 */
.verify-code-group {
    display: flex;
    gap: 10px;
}

.verify-code-group .form-input {
    flex: 1;
}

.btn-get-code {
    width: 120px;
    height: 42px;
    padding: 10px 15px;
    background-color: #fff;
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    line-height: 1.6;
}

.btn-get-code:hover {
    background-color: #ff6b6b;
    color: white;
}

.btn-get-code:disabled {
    background-color: #f5f5f5;
    color: #999;
    border-color: #e6e6e6;
    cursor: not-allowed;
}

/* 密码强度指示器 */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background-color: #e6e6e6;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-bar-fill {
    height: 100%;
    width: 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.strength-bar-fill.weak {
    width: 33%;
    background-color: #f5222d;
}

.strength-bar-fill.medium {
    width: 66%;
    background-color: #faad14;
}

.strength-bar-fill.strong {
    width: 100%;
    background-color: #52c41a;
}

.strength-text {
    font-size: 12px;
    line-height: 1.5;
}

.strength-text.weak {
    color: #f5222d;
}

.strength-text.medium {
    color: #faad14;
}

.strength-text.strong {
    color: #52c41a;
}

/* 服务类型复选框 */
.service-type-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.service-type-checkboxes label {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    line-height: 1.6;
}

.service-type-checkboxes input[type="checkbox"] {
    margin-right: 6px;
    cursor: pointer;
}

/* 页脚 */
.auth-footer {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    margin-top: auto;
}

.footer-simple {
    text-align: center;
}

.footer-info {
    margin-bottom: 15px;
}

.footer-contact,
.footer-time {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    line-height: 1.6;
}

.footer-copyright {
    border-top: 1px solid #e6e6e6;
    padding-top: 15px;
}

.footer-copyright p {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

/* 响应式设计 - 登录注册页面 */
@media (max-width: 1024px) {
    .auth-card {
        width: 90%;
    }
    
    .auth-card-wide {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .auth-header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .auth-logo h1 {
        font-size: 24px;
    }
    
    .auth-card {
        width: 100%;
        padding: 20px;
    }
    
    .auth-card-wide {
        width: 100%;
        padding: 20px;
    }
    
    .user-type-group {
        grid-template-columns: 1fr;
    }
    
    .service-type-checkboxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .auth-logo h1 {
        font-size: 20px;
    }
    
    .auth-card-title {
        font-size: 20px;
    }
    
    .verify-code-group {
        flex-direction: column;
    }
    
    .btn-get-code {
        width: 100%;
    }
}
