* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    min-width: 400px;
    max-width: 600px;
    width: 90%;
}

.title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 300;
}

.search-section {
    text-align: center;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #ff6b35;
}

.search-button {
    padding: 15px 30px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    min-width: 80px;
}

.search-button:hover {
    background: #e55a2b;
}

.routes-section {
    text-align: left;
}

.search-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #666;
}

.routes-list {
    margin-bottom: 30px;
}

.route-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 15px;
}

.route-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.signal-bars {
    display: flex;
    gap: 2px;
    align-items: flex-end;
}

.bar {
    width: 4px;
    background: #28a745;
    border-radius: 2px;
}

.bar:nth-child(1) { height: 8px; }
.bar:nth-child(2) { height: 12px; }
.bar:nth-child(3) { height: 16px; }
.bar:nth-child(4) { height: 20px; }

.route-name {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.ping-time {
    color: #666;
    font-size: 14px;
}

.back-button {
    width: 100%;
    padding: 15px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.back-button:hover {
    background: #5a6268;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
        margin: 20px;
    }
    
    .title {
        font-size: 2em;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-button {
        border-radius: 10px;
    }
}