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

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
}
a {
  outline: 0;
  color: #666;
  text-decoration: none;
  transition: all ease 0.3s;
}

a:hover {
  text-decoration: none;
  color: #0f5aa5;
}

:focus {
  outline: 0;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background: url(../images/header.jpg) top center no-repeat;
    padding: 16px;
    padding-top: calc(16px + env(safe-area-inset-top));
    background-size: cover;
}

.header-search {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 25px;
    padding: 0 16px;
    height: 44px;
}

.search-icon {
    color: #999;
    margin-right: 8px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.search-btn {
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.header-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 160px;
}
.header-banner li{
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.tabs {
    display: flex;
    background-color: white;
    padding: 8px 16px;
    gap: 8px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #f5f5f5;
    color: #666;
    text-align: center;
}

.tab-btn.active {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.quick-nav {
    display: flex;
    background-color: white;
    padding: 16px;
    margin-bottom: 8px;
}

.quick-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.quick-nav-icon-wrap {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-nav-icon-wrap img{
    width: 100%;
}


.quick-nav-text {
    font-size: 12px;
    color: #666;
}

.flash-sale-section {
    background-color: white;
    padding: 16px;
    margin-bottom: 8px;
}

.flash-sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.flash-sale-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.flash-sale-more {
    font-size: 13px;
    color: #999;
    text-decoration: none;
}

.flash-sale-scroll {
    overflow-x: auto;
    padding-bottom: 8px;
}

.flash-sale-scroll::-webkit-scrollbar {
    display: none;
}

.flash-sale-list {
    display: flex;
    gap: 16px;
}

.flash-sale-item {
    flex-shrink: 0;
    width: 140px;
    display: flex;
    flex-direction: column;
}

.flash-sale-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.flash-sale-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flash-sale-tags {
    display: flex;
    align-items: center;
    gap: 6px;
}

.flash-sale-tag {
    background-color: #ff4757;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.flash-sale-countdown {
    background-color: #333;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.main-content {
    flex: 1;
    padding: 16px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

.category-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.category-filter::-webkit-scrollbar {
    display: none;
}

.category-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: white;
    color: #666;
    white-space: nowrap;
}

.category-btn.active {
    border-color: #ee5a24;
    background-color: #fff5f0;
    color: #ee5a24;
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    padding: 16px;
}

.product-card:active {
    transform: scale(0.99);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.product-image {
    object-fit: cover;
    background-color: #f8f8f8;
    border-radius: 12px;
    flex-shrink: 0;
}

.product-info {
    flex: 1;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    display: none;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-points {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 18px;
    font-weight: 700;
    color: #ee5a24;
}

.product-original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.product-stock {
    font-size: 12px;
    color: #999;
}

.product-exchange-btn {
    background-color: #ff9500;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

.product-price-area {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-action-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.earn-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.earn-card {
    background-color: white;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
}

.earn-card:active {
    transform: scale(0.98);
}

.earn-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.earn-content {
    flex: 1;
}

.earn-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.earn-content p {
    font-size: 12px;
    color: #999;
}

.earn-points {
    font-size: 16px;
    font-weight: 700;
    color: #ee5a24;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #1e40af 100%);
    display: flex;
    padding: 12px 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(30, 64, 175, 0.3);
}

.nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}


.nav-btn a{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nav-icon {
    width: 24px;
    height: 24px;
}
.nav-btn.active .nav-icon {
    transform: translateY(-6px);
}
.nav-btn span{
    color: #fff;
    margin-top: 6px;
}

.nav-btn span:last-child {
    font-size: 11px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: flex-end;
    z-index: 100;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    width: 100%;
    background-color: white;
    border-radius: 20px 20px 0 0;
    padding: 24px 16px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.modal-product-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.modal-product-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.modal-product-points {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 24px;
    font-weight: 700;
    color: #ee5a24;
}

.modal-product-stock {
    font-size: 13px;
    color: #999;
}

.modal-action {
    display: flex;
    gap: 12px;
}

.modal-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.modal-btn:active {
    opacity: 0.8;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.modal-btn.secondary {
    background-color: #f5f5f5;
    color: #666;
}

.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 200;
}

.toast.show {
    opacity: 1;
    visibility: visible;
}

.profile-header {
    position: relative;
    padding: 40px 16px 24px;
    padding-top: calc(40px + env(safe-area-inset-top));
}

.profile-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
}

.profile-info {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #2c5282;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-detail {
    position: relative;
    flex: 1;
}

.profile-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-left: auto;
}

.profile-edit-btn:active {
    background-color: rgba(255, 255, 255, 0.3);
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gender-icon {
    display: inline-block;
}

.gender-icon-male,
.gender-icon-female {
    width: 16px;
    height: 16px;
}

.gender-icon-male {
    color: #3498db;
}

.gender-icon-female {
    color: #e74c3c;
}

.profile-phone {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.profile-points-card {
    position: relative;
    background-color: white;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
}

.points-info {
    display: flex;
    flex-direction: column;
}

.points-info .points-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}

.points-value {
    font-size: 32px;
    font-weight: 700;
    color: #ee5a24;
}

.points-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s;
}

.points-btn:hover {
    transform: scale(1.05);
}

.profile-content {
    padding: 16px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

.order-section {
    background-color: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.order-tabs {
    display: flex;
    justify-content: space-around;
}

.order-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    cursor: pointer;
}

.order-icon {
    width: 28px;
    height: 28px;
    color: #666;
}

.order-tab span:not(.order-badge) {
    font-size: 12px;
    color: #666;
}

.order-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background-color: #ff4757;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
}

.menu-section {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.menu-item:hover {
    background-color: #fafafa;
}

.menu-icon {
    width: 22px;
    height: 22px;
    color: #666;
    margin-right: 12px;
}

.menu-item span:first-of-type {
    flex: 1;
    font-size: 15px;
    color: #333;
}

.menu-item .arrow {
    color: #ccc;
    font-size: 20px;
}

.page-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    padding: 16px;
    padding-top: calc(16px + env(safe-area-inset-top));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.header-action {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 12px;
}

.back-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.edit-form {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
}

.avatar-upload {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-preview {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e0e0e0;
}

.headpic-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
}

.required {
    color: #ff4757;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.form-actions .submit-btn {
    flex: 1;
    height: 48px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.form-actions .cancel-btn {
    flex: 1;
    height: 48px;
    line-height: 48px;
    text-align: center;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 24px;
    font-size: 16px;
    text-decoration: none;
}

.form-input-readonly {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.form-hint {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
    margin-left: 4px;
}

.message-content {
    padding: 16px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

.message-list {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
}

.message-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.message-item:hover {
    background-color: #fafafa;
}

.message-item.unread {
    background-color: #fff9f0;
}

.message-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.message-avatar .material-icons {
    color: white;
    font-size: 22px;
}

.message-info {
    flex: 1;
    overflow: hidden;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.message-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.message-time {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
    margin-left: 8px;
}

.message-content-text {
    font-size: 14px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}

.message-badge {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ff4757;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
}

.cart-content {
    padding: 16px;
    padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

.cart-list {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
}

.cart-item {
    display: flex;
    padding: 12px;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
}

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

.cart-checkbox {
    margin-right: 12px;
    cursor: pointer;
}

.cart-checkbox input {
    display: none;
}

.checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
}

.cart-checkbox input:checked + .checkmark {
    background-color: #ee5a24;
    border-color: #ee5a24;
}

.cart-checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cart-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
}

.cart-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-spec {
    font-size: 12px;
    color: #999;
    margin: 0 0 8px 0;
}

.cart-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-price {
    font-size: 16px;
    font-weight: 600;
    color: #ee5a24;
}

.cart-quantity {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 2px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background-color: transparent;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-value {
    min-width: 32px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.empty-svg {
    width: 48px;
    height: 48px;
    color: #ccc;
}

.cart-empty p {
    font-size: 14px;
    color: #999;
    margin: 0 0 16px 0;
}

.empty-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 32px;
    font-size: 14px;
    cursor: pointer;
}

.cart-footer {
    position: fixed;
    bottom: 10%;
    left: 0;
    right: 0;
    background-color: white;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
}

.select-text {
    font-size: 14px;
    color: #333;
    margin-left: 4px;
}

.cart-total {
    flex: 1;
    text-align: right;
    margin-right: 12px;
}

.total-label {
    font-size: 14px;
    color: #666;
}

.total-price {
    font-size: 18px;
    font-weight: 700;
    color: #ee5a24;
}

.cart-checkout {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-right: 8px;
}

.delete-all-btn {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 14px;
    cursor: pointer;
}

.delete-item-btn {
    position: absolute;
    right: 12px;
    top: 25%;
    transform: translateY(-50%);
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
}

.cart-item {
    position: relative;
}

.booking-content {
    padding: 16px;
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
}

.booking-form {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.form-item {
    margin-bottom: 20px;
}

.form-item:last-child {
    margin-bottom: 0;
}

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

.label-icon {
    display: inline-flex;
    align-items: center;
}

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #ee5a24;
}

.form-textarea {
    width: 100%;
    height: 100px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    resize: none;
    transition: border-color 0.3s;
}

.form-textarea:focus {
    outline: none;
    border-color: #ee5a24;
}

.submit-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
}

.submit-btn:active {
    transform: scale(0.98);
}

.booking-info {
    background-color: white;
    border-radius: 12px;
    padding: 16px;
}

.info-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.info-list {
    margin: 0;
    padding-left: 20px;
}

.info-list li {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 8px;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.record-content {
    padding: 16px;
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
}

.record-tabs {
    display: flex;
    background-color: white;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 16px;
}

.record-tab {
    flex: 1;
    height: 40px;
    border: none;
    background-color: transparent;
    font-size: 14px;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.record-tab.active {
    background-color: #ee5a24;
    color: white;
}

.record-list {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
}

.record-item {
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

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

.record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.record-id {
    font-size: 13px;
    color: #999;
}

.record-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

.record-status.completed {
    background-color: #d4edda;
    color: #155724;
}

.record-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.record-status.cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.record-product {
    display: flex;
    margin-bottom: 12px;
}

.record-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
}

.record-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.record-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.record-spec {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.record-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.record-price {
    font-size: 15px;
    font-weight: 600;
    color: #ee5a24;
}

.record-time {
    font-size: 12px;
    color: #999;
}

.points-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

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

.points-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-right: 12px;
}

.points-icon.plus {
    background-color: #d4edda;
    color: #155724;
}

.points-icon.minus {
    background-color: #f8d7da;
    color: #721c24;
}

.points-info {
    flex: 1;
}

.points-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px 0;
}

.points-desc {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.points-value {
    font-size: 16px;
    font-weight: 600;
    margin-right: 12px;
}

.points-value.plus {
    color: #155724;
}

.points-value.minus {
    color: #721c24;
}

.points-time {
    font-size: 12px;
    color: #999;
}

.booking-item {
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

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

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.booking-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

.booking-status.confirmed {
    background-color: #d1ecf1;
    color: #0c5460;
}

.booking-status.completed {
    background-color: #d4edda;
    color: #155724;
}

.booking-time {
    font-size: 12px;
    color: #999;
}

.booking-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px 0;
}

.booking-address {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.booking-contact {
    font-size: 12px;
    color: #999;
}

.product-content {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
}

.product-images {
    background-color: #f8f8f8;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    background-color: white;
    padding: 16px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-spec {
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
}

.product-price-area {
    display: flex;
    align-items: baseline;
    margin-bottom: 12px;
}

.product-points-label {
    font-size: 14px;
    color: #ee5a24;
    margin-right: 4px;
}

.product-points-value {
    font-size: 28px;
    font-weight: 700;
    color: #ee5a24;
    margin-right: 12px;
}

.product-original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-stock {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.flash-countdown-area {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.countdown-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-right: 12px;
}

.countdown-box {
    display: flex;
    align-items: center;
}

.countdown-num {
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    min-width: 36px;
    text-align: center;
}

.countdown-sep {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin: 0 4px;
}

.product-divider {
    height: 10px;
    background-color: #f5f5f5;
    margin: 16px -16px;
}

.product-detail {
    padding: 0;
}

.detail-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

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

.detail-content p {
    margin: 8px 0;
}

.detail-content ul {
    margin: 0;
    padding-left: 20px;
}

.detail-content li {
    margin-bottom: 4px;
}

.product-service {
    display: flex;
    justify-content: space-around;
    padding: 16px 0;
}

.service-item {
    text-align: center;
}

.service-icon {
    font-size: 12px;
    color: #666;
}

.product-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
}

.footer-btn {
    flex: 1;
    height: 48px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-btn.cart {
    background-color: #f5f5f5;
    color: #333;
    margin-right: 12px;
}

.footer-btn.exchange {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.footer-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
}

.back-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.back-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.header-placeholder {
    width: 24px;
}

.message-detail-content {
    padding: 16px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

.detail-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: white;
    border-radius: 12px;
    margin-bottom: 16px;
}

.detail-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.detail-avatar .material-icons {
    color: white;
    font-size: 24px;
}

.detail-info {
    flex: 1;
}

.detail-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.detail-time {
    font-size: 13px;
    color: #999;
}

.detail-body {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
}

.detail-content {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

.detail-content p {
    margin: 8px 0;
}

.detail-content ul {
    margin: 8px 0;
    padding-left: 20px;
}

.detail-content li {
    margin-bottom: 4px;
}

.detail-divider {
    height: 10px;
    background-color: #f5f5f5;
}

.detail-product {
    padding: 16px;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.product-item {
    display: flex;
    align-items: center;
}

.product-image {
    width: 40%;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px 0;
}

.product-spec {
    font-size: 12px;
    color: #999;
    margin: 0 0 4px 0;
}

.product-price {
    font-size: 15px;
    font-weight: 600;
    color: #ee5a24;
    margin: 0;
}

.product-qty {
    font-size: 14px;
    color: #999;
}

.detail-actions {
    display: flex;
    padding: 16px;
}

.action-btn {
    flex: 1;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 22px;
    font-size: 14px;
    color: #666;
    background-color: white;
    cursor: pointer;
    margin-right: 12px;
}

.action-btn.primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    margin-right: 0;
}

.login-body {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 50%, #1e3a5f 100%);
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding-top: 40px;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.logo-svg {
    width: 40px;
    height: 40px;
    color: white;
}

.logo-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
}

.logo-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.login-tabs {
    display: flex;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
}

.login-tab {
    flex: 1;
    height: 44px;
    border: none;
    background-color: transparent;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.login-tab.active {
    background-color: white;
    color: #1e3a5f;
    font-weight: 600;
}

.login-form {
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 20px;
}

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

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 0 40px;
    padding-right: 100px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #ee5a24;
}

.input-icon {
    position: absolute;
    left: 10px;
    top: 54%;
    transform: translateY(-50%);
    color: #999;
}

.yzm {
    position: relative;
}
.yzm img{
    position: absolute;
    right: 0;
    bottom: 0;
    height: 48px;
}
.icon-svg {
    width: 18px;
    height: 18px;
}

.code-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    height: 40px;
    width: 88px;
    background-color: #ee5a24;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

.checkbox-label input {
    display: none;
}

.checkbox-label .checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 6px;
    position: relative;
}

.checkbox-label input:checked + .checkmark {
    background-color: #ee5a24;
    border-color: #ee5a24;
}

.checkbox-label input:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: #ee5a24;
    text-decoration: none;
}

.forgot-password {
    font-size: 13px;
    color: #ee5a24;
    text-decoration: none;
}

.submit-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
}

.other-login {
    text-align: center;
}

.divider {
    display: inline-block;
    font-size: 12px;
    color: #999;
    margin-bottom: 16px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn.wechat {
    background-color: #07c160;
}

.social-btn.weibo {
    background-color: #e6162d;
}

.social-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.login-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.login-footer a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    width: 100%;
    max-width: 360px;
    overflow: hidden;
}

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

.modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.close-icon {
    width: 20px;
    height: 20px;
    color: #999;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    padding: 16px 20px;
    border-top: 1px solid #f5f5f5;
    gap: 12px;
}

.modal-btn {
    flex: 1;
    height: 40px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    border: none;
}

.modal-btn.cancel {
    background-color: #f5f5f5;
    color: #666;
}

.modal-btn.confirm {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

@media screen and (min-width: 768px) {
    .main-content {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .header-content {
        max-width: 600px;
        margin: 0 auto;
    }
}