/* Business Finder Plugin Styles - Clean Green Theme - FULL SCREEN */
#business-finder-app {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f8fdf8;
    box-sizing: border-box;
}

.business-finder {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 25px;
    background: #f8fdf8;
    border: 1px solid #e1f5e1;
    box-sizing: border-box;
}

.business-finder label {
    display: block;
    font-weight: 600;
    color: #388e3c;
    margin: 20px 0 8px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.business-finder select {
    width: 100%;
    max-width: 300px;
    padding: 12px 15px;
    border: 2px solid #c8e6c9;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 15px;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23388e3c'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.business-finder select:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.business-finder select:hover {
    border-color: #81c784;
}

/* Results Styles */
#business-results {
    margin-top: 25px;
    width: 100%;
}

.business-results-header {
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 15px;
    padding: 10px;
    background: #e8f5e9;
    border-radius: 6px;
    text-align: center;
}

.business-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    width: 100%;
}

.business-item {
    background: white;
    border: 1px solid #e8f5e9;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(46, 125, 50, 0.1);
}

.business-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.business-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}

.business-number {
    background: #4caf50;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.business-name {
    color: #2e7d32;
    font-size: 18px;
    margin: 0;
    flex: 1;
}

.business-type {
    background: #e8f5e9;
    color: #388e3c;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: capitalize;
}

.business-details {
    margin-left: 42px;
}

.business-distance {
    color: #666;
    font-weight: 600;
    margin-bottom: 8px;
}

.business-address {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.4;
}

.business-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover {
    background: #388e3c;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

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

.action-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
}

/* Location Status Styles */
.location-status {
    margin-bottom: 20px;
}

.location-loading {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    color: #1565c0;
    padding: 15px;
    border-radius: 6px;
    margin: 10px 0;
}

.location-error {
    background: #ffebee;
    border-left: 4px solid #f44336;
    color: #c62828;
    padding: 15px;
    border-radius: 6px;
    margin: 10px 0;
}

.location-success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    color: #2e7d32;
    padding: 15px;
    border-radius: 6px;
    margin: 10px 0;
}

.retry-btn {
    background: #f44336;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.retry-btn:hover {
    background: #d32f2f;
    transform: translateY(-1px);
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.business-finder-loading {
    animation: pulse 1.5s ease-in-out infinite;
    text-align: center;
    color: #4caf50;
    font-style: italic;
    padding: 20px;
    background: #f1f8e9;
    border-radius: 8px;
}

.business-finder-error {
    background: #ffebee;
    border-left: 4px solid #f44336;
    color: #c62828;
    padding: 15px;
    border-radius: 6px;
    margin: 10px 0;
}

.business-finder-message {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    color: #1565c0;
    padding: 15px;
    border-radius: 6px;
    margin: 10px 0;
}

/* Responsive design */
@media (max-width: 1200px) {
    .business-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .business-finder {
        padding: 20px;
    }
    
    .business-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .business-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .business-details {
        margin-left: 0;
    }
    
    .business-actions {
        flex-direction: column;
    }
    
    .action-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .business-finder {
        padding: 15px;
    }
    
    .business-finder select {
        padding: 10px 12px;
        font-size: 14px;
        max-width: 100%;
    }
    
    .business-item {
        padding: 15px;
    }
    
    .business-name {
        font-size: 16px;
    }
    
    .business-list {
        grid-template-columns: 1fr;
    }
}