.pz-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    color: #1c1917;
    line-height: 1.5;
}

.pz-search-wrapper {
    margin-bottom: 24px;
}

.pz-search-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.pz-input-wrapper {
    position: relative;
    flex: 1;
}

.pz-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #78716c;
    pointer-events: none;
    opacity: 0.7;
}

.pz-search-bar input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 44px;
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    font-size: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    background: #fff;
    color: #1c1917;
    box-sizing: border-box;
}

.pz-search-bar input:focus {
    border-color: var(--pz-primary-color, #67764F);
    box-shadow: 0 0 0 4px rgba(103, 118, 79, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pz-search-bar button {
    padding: 0 16px;
    background-color: var(--pz-primary-color, #67764F);
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    box-sizing: border-box;
    flex-shrink: 0;
}

.pz-search-bar button:hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#pz-map {
    height: 500px;
    width: 100%;
    border-radius: 20px;
    z-index: 1;
    border: 1px solid #e7e5e4;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

/* Custom Leaflet Zoom Controls */
.leaflet-bar {
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    margin-left: 15px !important;
    margin-top: 15px !important;
}

.leaflet-bar a {
    background-color: #fff !important;
    color: #444 !important;
    border-bottom: 1px solid #f5f5f4 !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 18px !important;
    transition: all 0.2s ease;
}

.leaflet-bar a:first-child {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

.leaflet-bar a:last-child {
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    border-bottom: none !important;
}

.leaflet-bar a:hover {
    background-color: #f5f5f4 !important;
    color: #000 !important;
}

/* Custom Popup Styling */
.leaflet-popup-content-wrapper {
    border-radius: 16px !important;
    padding: 8px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: 240px !important;
}

.pz-popup-content {
    padding: 12px;
    font-family: 'Inter', sans-serif;
}

.pz-popup-name {
    font-weight: 700;
    font-size: 16px;
    color: #1c1917;
    margin-bottom: 4px;
}

.pz-popup-address {
    font-size: 13px;
    color: #57534e;
    line-height: 1.4;
    margin-bottom: 12px;
}

.pz-popup-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.pz-popup-contact a {
    font-size: 12px;
    color: var(--pz-primary-color, #67764F);
    text-decoration: none;
    font-weight: 500;
}

.pz-popup-contact a:hover {
    text-decoration: underline;
}

.pz-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--pz-primary-color, #67764F);
    color: #fff !important;
    text-decoration: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
}

.pz-popup-btn:hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    #pz-map {
        height: 350px;
    }
    .pz-search-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .pz-input-wrapper {
        width: 100%;
    }
    #pz-search-btn {
        width: 100%;
    }
}

#pz-results-list {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 16px;
    max-height: 350px;
    overflow-y: auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pz-result-item {
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f4;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pz-result-item:hover {
    background: #fafaf9;
}

.pz-result-item:last-child {
    border-bottom: none;
}

.pz-result-name {
    font-weight: 600;
    font-size: 15px;
    color: #1c1917;
    margin-bottom: 2px;
}

.pz-result-address {
    font-size: 13px;
    color: #78716c;
}

.pz-result-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.pz-contact-item {
    font-size: 11px;
    color: #78716c;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pz-result-item {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}

.pz-result-item:last-child {
    border-bottom: none;
}

.pz-result-item:hover {
    background-color: #f9f9f9;
}

#pz-no-results {
    margin-top: 12px;
    padding: 16px;
    background: #fff3cd;
    color: #856404;
    border-radius: 12px;
    border: 1px solid #ffeeba;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pz-dir-link {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}

.pz-dir-link:hover {
    background: #e0e0e0;
}
