/* 搜索页面样式 */
.search-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 搜索区域 */
.search-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.search-section h1 {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 300;
}

.search-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    padding-right: 3rem;
}

.search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.search-button {
    position: absolute;
    right: 0.5rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 2.7rem;
    height: 2.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background: #0056b3;
}

/* 高级搜索选项样式 */
.advanced-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-group label {
    font-weight: 500;
    color: #fff;
    font-size: 0.9rem;
}

.option-group select,
.option-group input[type="text"] {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.option-group select:focus,
.option-group input[type="text"]:focus {
    outline: none;
    border-color: #007bff;
}

.station-input {
    width: 100%;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
    font-size: 0.9rem;
    color: #fff;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
}

.search-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.btn-search,
.btn-reset {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-search {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.btn-search:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}

.btn-reset {
    background: #6c757d;
    color: white;
}

.btn-reset:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108,117,125,0.3);
}

/* 搜索结果区域 */
.search-results {
    margin-bottom: 40px;
}

.results-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
}

.results-header h2 {
    color: #fff;
    font-size: 2em;
    margin-bottom: 10px;
}

.results-count {
    color: #aaa;
    font-size: 1.1em;
    margin: 0;
}

/* 店铺卡片网格 */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.shop-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.2);
    border-color: #007bff;
}

.shop-link {
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-template-rows: auto 1fr;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    padding: 20px;
}

.shop-image {
    width: 96px;
    height: 96px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 0;
    grid-column: 1/2;
    grid-row: 1/3;
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.shop-card:hover .shop-image img {
    transform: scale(1.05);
}

.shop-content {
    grid-column: 2/3;
    grid-row: 1/3;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.shop-name {
    color: #fff;
    font-size: 1.3em;
    margin: 0;
    font-weight: 600;
}

.shop-rank {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #333;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: bold;
}

/* 星级评分样式 */
.shop-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .star {
    color: #444;
    font-size: 1em;
    transition: color 0.2s ease;
}

.rating-stars .star.filled {
    color: #ffd700;
}

.rating-score {
    color: #fff;
    font-weight: 500;
    font-size: 0.9em;
}

.shop-info {
    margin-bottom: 15px;
}

.shop-info p {
    color: #ccc;
    margin: 8px 0;
    display: flex;
    align-items: center;
    font-size: 0.95em;
}

.shop-info i {
    margin-right: 8px;
    width: 16px;
    color: #007bff;
}

.shop-location {
    color: #fff;
    font-weight: 500;
}

.shop-description {
    color: #bbb;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-link,
.pagination-current {
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-link {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pagination-link:hover {
    background: #007bff;
    border-color: #007bff;
    transform: translateY(-2px);
}

.pagination-current {
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
}

/* 无结果状态 */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.no-results i {
    color: #666;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.no-results p {
    color: #aaa;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.search-tips {
    list-style: none;
    padding: 0;
    color: #ccc;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.search-tips li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.search-tips li::before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

/* 空搜索状态 */
.search-empty {
    margin-top: 40px;
}

.search-tips-box {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.search-tips-box h2 {
    color: #fff;
    font-size: 2em;
    margin-bottom: 15px;
}

.search-tips-box p {
    color: #aaa;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.search-examples h3 {
    color: #fff;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.example-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.example-tag {
    padding: 8px 16px;
    background: rgba(0, 123, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid rgba(0, 123, 255, 0.4);
    transition: all 0.3s ease;
}

.example-tag:hover {
    background: #007bff;
    border-color: #007bff;
    transform: translateY(-2px);
}

/* 链接样式 - 让用户知道可以点击 */
.shop-info a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.shop-info a:hover {
  text-decoration: underline;
  color: #0056b3;
}

.shop-info a:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* 新增图标颜色设置 - 与area.css保持一致 */
.page-search .area-list .card .info i.fa-link,
.area-list .card .info i.fa-link {
  color: #28a745; /* 绿色 - 链接图标 */
}

.page-search .area-list .card .info i.fa-yen-sign,
.area-list .card .info i.fa-yen-sign {
  color: #28a745; /* 绿色 - 价格图标 */
}

.page-search .area-list .card .info i.fa-user,
.area-list .card .info i.fa-user {
  color: #6f42c1; /* 紫色 - 用户图标 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-page {
        padding: 15px;
    }
    
    .search-section {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .search-section h1 {
        font-size: 2em;
    }
    
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .shop-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .shop-name {
        font-size: 1.2em;
    }
    
    .example-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .search-input-wrapper {
        border-radius: 25px;
    }
    
    .search-input,
    .search-button {
        padding: 15px 20px;
    }
    
    .search-input {
        font-size: 1em;
    }
    
    .shop-link {
        padding: 15px;
        grid-template-columns: 80px 1fr;
        gap: 10px;
    }
    
    .shop-image {
        width: 80px;
        height: 80px;
    }
    
    .search-tips-box {
        padding: 30px 15px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .pagination-link,
    .pagination-current {
        padding: 8px 12px;
        font-size: 0.9em;
    }
}

/* 日本人店铺卡片样式 - 整体设计 */
.area-list .card.japan-shop {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.03) 0%, rgba(74, 144, 226, 0.02) 100%);
    border: 2px solid #6f42c1;
    box-shadow: 0 2px 8px rgba(111, 66, 193, 0.15), inset 0 1px 0 rgba(111, 66, 193, 0.1);
    position: relative;
}

.area-list .card.japan-shop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #6f42c1 0%, #4a90e2 100%);
    border-radius: 8px 0 0 8px;
}

/* 亚洲店铺卡片样式 - 整体设计 */
.area-list .card.asia-shop {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.03) 0%, rgba(255, 107, 0, 0.02) 100%);
    border: 2px solid #f39c12;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.15), inset 0 1px 0 rgba(243, 156, 18, 0.1);
    position: relative;
}

.area-list .card.asia-shop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f39c12 0%, #ff6b00 100%);
    border-radius: 8px 0 0 8px;
}