/* Radius Search Plugin - Clean Professional Styles */
.rsp-radius-search {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.5;
}

/* Search Form */
.rsp-search-form {
    /* background-color: #fff; */
    background-color: #f3faf8;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e8e8e8;
}

.rsp-search-form h3 {
    color: #222;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
}

.rsp-form-group {
    margin-bottom: 20px;
}

.rsp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
    font-size: 15px;
}

.rsp-form-group input,
.rsp-distance-select {
    width: 100%;
    max-width: 300px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
}

.rsp-distance-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

.rsp-form-group input:focus,
.rsp-distance-select:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

/* Button */
.rsp-search-btn {
    background-color: #4285f4;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.rsp-search-btn:hover {
    background-color: #3367d6;
}

.rsp-search-btn:disabled {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

/* Map */
.rsp-map {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
    background: #f9f9f9;
}

/* Loading State */
.rsp-loading {
    text-align: center;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rsp-spinner {
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: #4285f4;
    width: 30px;
    height: 30px;
    animation: rsp-spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes rsp-spin {
    to { transform: rotate(360deg); }
}

.rsp-loading p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

/* Results */
.rsp-results h3 {
    color: #222;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.rsp-results p {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
}

/* Practitioner Cards */
.rsp-practitioner-card {
    background-color: #f3faf8;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.rsp-practitioner-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.rsp-business-name {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.rsp-contact-name {
    font-size: 15px;
    font-weight: 500;
    color: #555;
    margin-bottom: 12px;
}

.rsp-practitioner-info {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 14px;
}

.rsp-website-link {
    color: #4285f4;
    text-decoration: none;
    transition: color 0.2s;
}

.rsp-website-link:hover {
    color: #3367d6;
    text-decoration: underline;
}

.rsp-distance {
    color: #4CAF50; /* Green color */
    font-weight: 500;
    font-size: 15px;
    margin-top: 10px;
}

/* Empty States */
.rsp-no-results {
    text-align: center;
    color: #666;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-size: 15px;
}

.rsp-error {
    background-color: #fce8e6;
    color: #d32f2f;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    margin-bottom: 20px;
    font-size: 15px;
}

/* Map Popup */
.rsp-map-popup {
    font-size: 14px;
    line-height: 1.5;
    min-width: 250px;
}

.rsp-map-popup strong {
    color: #222;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.rsp-map-popup a {
    color: #4285f4;
    text-decoration: none;
}

.rsp-map-popup a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rsp-radius-search {
        padding: 0 15px;
    }
    
    .rsp-search-form {
        padding: 25px 20px;
    }
    
    .rsp-form-group input,
    .rsp-distance-select {
        max-width: 100%;
    }
    
    .rsp-practitioner-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .rsp-search-form {
        padding: 20px 15px;
    }
    
    .rsp-search-form h3 {
        font-size: 20px;
    }
    
    .rsp-results h3 {
        font-size: 18px;
    }
    
    .rsp-business-name {
        font-size: 16px;
    }
    
    .rsp-search-btn {
        width: 100%;
    }
}
/* Update the form layout */
.rsp-search-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.rsp-form-group {
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

/* Make button align properly */
.rsp-search-btn {
    margin-top: 0;
    height: 47px; /* Match input height */
}