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

body {
    font-family: 'Arial', sans-serif;
    background: #f5f5f5;
}

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

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

#map {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#results {
    margin-top: 20px;
}

.search-btn {
    display: block;
    margin: 0 auto 20px auto;
    padding: 12px 24px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.search-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

#results h2 {
    color: #333;
    margin-bottom: 15px;
}

.place-card {
    background: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.place-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(5px);
}

.place-card h3 {
    margin: 0 0 5px 0;
    color: #ff6b6b;
}

.place-card p {
    margin: 5px 0;
    color: #666;
}

/* ========== HEADER IMPROVEMENTS ========== */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.header h1 {
    margin: 0 0 10px 0;
    font-size: 36px;
    color: #333;
    font-weight: 700;
}

.tagline {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* ========== IMPROVED MAP STYLING ========== */
#map {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

/* ========== BETTER BUTTON STYLING ========== */
.search-btn {
    display: block;
    margin: 0 auto 30px auto;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

.search-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========== RESULTS SECTION IMPROVEMENTS ========== */
#results {
    margin-top: 30px;
}

#results h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

/* ========== GRID LAYOUT FOR CAFE CARDS ========== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* ========== IMPROVED CAFE CARDS ========== */
.place-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid #ff6b6b;
}

.place-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    border-left-color: #ff5252;
}

.place-card h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.place-number {
    background: #ff6b6b;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.place-card p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
    text-align: left;
}

.place-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    color: #ff6b6b;
}

.place-address {
    font-size: 13px;
    color: #888;
    line-height: 1.4;
}

/* ========== LOADING & EMPTY STATES ========== */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state h3 {
    color: #666;
    margin-bottom: 10px;
    font-size: 20px;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
    }

    #results h2 {
        font-size: 20px;
    }

    .header h1 {
        font-size: 28px;
    }

    #map {
        height: 400px;
    }
}