body{
    margin:0;
    font-family:'Poppins',sans-serif;
    background:#ffffff;
    text-align:center;
    padding: 32px 20px 28px;
    border-bottom: 1px solid #f1f5f9;
}

.header{
    background:#ffffff;
    color: #1f2937;;
    text-align:center;
    padding:25px 20px;
}

.header h1{
    margin:6px 0 0;
    font-size:36px;
    color:#2563eb;
}

.header p{
    margin-top:6px 0 0;
    font-style:italic;
    opacity:0.9;
    color:#6b748b;
    font-size: 14px;
}

#map{
    height:600px;
    width:calc(100%-40px);
    max-width: 1200px;
    margin: 0 auto 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow:hidden;
}

.search-container{
    display:flex;
    justify-content:center;
    margin:22px auto 0;
    gap:10px;
    flex-wrap:wrap;
    max-width:650px;
}

#searchBox{
    padding:14px 16px;
    width:320px;
    border:1px solid #e2e8f0;
    border-radius:12px;
    font-size:14px;
    outline:none;
    background:#f8fafc;
    flex:1;
    font-family: 'Poppins',sans-serif;
}

#searchBox:focus{
    border-color: #2563eb;
    background: white;
    box-shadow: 0 o o 3px rgba(37,99,235,0.1);
}

#locationBtn{
    padding:14px 18px;
    background:#2563eb;
    color:white;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:0.2s;
    font-family:'Poppins',sans-serif;
}

#locationBtn:hover{
    transform:translateY(-1px);
    background:#1d4ed8;
}

.stats{
    display:grid;
    padding:24px 20px;
    gap:16px;
    grid-template-columns:repeat(4,1fr);
    max-width:1100px;
    margin:0 auto;
}

.card{
    background:white;
    padding:20px;
    border-radius:18px;
    box-shadow:0 4px 14px rgba(0,0,0,0.05);
    text-align:center;
    transition: transform 0.2s ease
    box-shadow 0.2s ease;
}
.card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.card h2{
    margin:0 0 8px;
    font-size:17px;
    font-weight: 500;
    color: #64748b
}

.card span{
    font-size:30px;
    color:#2563eb;
    font-weight: 700;
}
.filters{
    display:flex;
    align-items:center;
    justify-content: center;
    gap:20px;
    margin-bottom:0 20px 20px;
    background: white;
    padding: 16px 20px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    flex-wrap: wrap;
}
.filter-title{
    font-weight: 600;
    color: #1f2937;
}
.filter-option{
    cursor: pointer;
    font-size: 14px;
    color: #4b5563;
}
.filter-option input{
    margin-right: 5px;
    cursor: pointer;
}

.restroom-popup{
    font-family:'Poppins',sans-serif;
    min-width: 210px;
    color: #1f2937;
}
.restroom-popup h3{
    margin: 0 0 8px;
    font-size: 16px;
    color: #2563EB;
}

.popup-rating{
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.restroom.popup hr{
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 10px 0;
}

.restroom-popup p{
    margin: 10px 0;
    font-size: 13px;
    line-height: 1.5;
}

.restroom-popup strong{
    color: #374151;
    font-weight: 600;
}
.add-restroom-section{
    text-align: center;
    margin: 0 20px 20px;
}
#showFormBtn,
#addRestroomBtn{
    background: #2563eb;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
}

.restroom-form{
    display: none;
    max-width: 500px;
    margin: 20px auto;
    padding: 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: left;
}

restroom-form h2{
    margin-top: 0;
    color: #1f2937;
}

.restroom-form input[type="text"],
.restroom-form input[type="number"]{
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
}

.restroom-form label{
    display: block;
    margin: 12px 0;
    font-weight: 600;
    color: #4b5563;
}

#addRestroomBtn{
    width: 100%;
    margin-top: 12px;
}

@media (max-width:768px){
    .header{
        padding:24px 16px
    }
    .header h1{
        font-size:30px;
    }
    .search-container{
        flex-direction:column;
    }
    #searchBox{
        width:100%;
        box-sizing:border-box;
    }
    #locationBtn{
        width:100%;
    }
    .stats{
        grid-template-columns: repeat(2,1fr);
        padding: 16px;
        gap:12px;
    }
    .card{
        font-size:25px;
    }
    .filter-title{
        width:100%;
    }
    #map{
        width:calc(100%-32px);
        height:500px;
        border-radius:16px;
    }
    .add-restroom-section{
        margin:0 16px 16px;
    }
}