/**
 * 用户端首页样式优化 - Minimalist Modern
 * 覆盖和优化现有样式
 */

:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --gradient-start: #3b82f6;
    --gradient-end: #8b5cf6;
    --bg-base: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
}

/* 优化背景渐变 */
body {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 优化头部 */
.header {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.location-info h1 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.location-info .address {
    font-size: 13px;
    opacity: 0.8;
    font-weight: 500;
}

.location-info .address .distance {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-weight: 600;
}

/* 优化快捷操作按钮 */
.quick-action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 优化特性标签 */
.feature-tag {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* 优化房间卡片 */
.room-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.room-image {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

.room-name-overlay {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    letter-spacing: -0.02em;
}

.room-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.room-type {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    font-weight: 600;
    border-radius: 12px;
}

/* 优化价格显示 */
.price-item {
    background: var(--bg-base);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid var(--border-subtle);
}

.price-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Space Grotesk', monospace;
}

/* 优化弹窗样式 */
.modal-overlay {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    max-height: 85vh;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-base);
    font-size: 20px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--border-subtle);
    transform: rotate(90deg);
}

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

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    background: white;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* 优化按钮 */
.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    border: none;
}

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

.btn-secondary {
    background: var(--bg-base);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: #f1f5f9;
    color: var(--text-primary);
}

/* 优化时间显示 */
.time-display {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.time-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.time-row span:first-child {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.time-row span:last-child {
    color: white;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Space Grotesk', monospace;
}

.price-highlight {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Space Grotesk', monospace;
}

/* 优化周末横幅 */
.weekend-banner {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 16px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(245, 87, 108, 0.3);
}

/* 优化导航选项 */
.nav-option {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

.nav-option:hover {
    background: var(--bg-base);
}

.nav-option:last-child {
    border-bottom: none;
}

.nav-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nav-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-desc {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-arrow {
    color: var(--text-tertiary);
}

/* 优化相片册 */
.photo-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
}

.photo-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.photo-item img {
    height: 160px;
}

.photo-caption {
    padding: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-base);
}

/* 优化到店指引 */
.guide-item {
    background: var(--bg-base);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--border-subtle);
}

.guide-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.guide-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.guide-text p {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 优化底部导航 */
.bottom-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.nav-item {
    color: var(--text-tertiary);
    font-weight: 600;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.nav-item.active {
    color: var(--primary);
}

.nav-icon {
    font-size: 24px;
}

.nav-text {
    font-size: 11px;
}

/* 响应式优化 */
@media (max-width: 480px) {
    .room-card {
        border-radius: 16px;
    }

    .room-image {
        height: 180px;
    }

    .room-name-overlay {
        font-size: 22px;
    }

    .room-name {
        font-size: 16px;
    }

    .modal-content {
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
    }
}
