/* Locations Plugin - Public Styles */

.lp-locations-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Map */
.lp-map {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #e9ecef;
}

/* Search Bar */
.lp-search-bar {
    margin-bottom: 24px;
}

.lp-search-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.lp-search-input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.lp-search-input::placeholder {
    color: #999;
}

/* Cards Grid */
.lp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Card */
.lp-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 16px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.lp-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Card Logo */
.lp-card-logo {
    flex-shrink: 0;
    width: 80px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.lp-card-logo img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 4px;
}

/* Card Info */
.lp-card-info {
    flex: 1;
    min-width: 0;
}

.lp-card-name {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.lp-card-info p {
    margin: 0 0 4px;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.lp-card-info a {
    color: #0073aa;
    text-decoration: none;
}

.lp-card-info a:hover {
    text-decoration: underline;
}

.lp-card-address {
    color: #666 !important;
}

/* Show on Map button */
.lp-show-on-map {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #0073aa;
    background: transparent;
    border: 1px solid #0073aa;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.lp-show-on-map:hover {
    background: #0073aa;
    color: #fff;
}

/* No results */
.lp-no-results {
    text-align: center;
    color: #666;
    font-size: 16px;
    padding: 40px 20px;
}

/* Info Window */
.lp-info-window {
    font-size: 13px;
    line-height: 1.5;
    max-width: 250px;
}

.lp-info-window strong {
    font-size: 14px;
}

.lp-info-window a {
    color: #0073aa;
}

/* Responsive */
@media (max-width: 768px) {
    .lp-cards-grid {
        grid-template-columns: 1fr;
    }

    .lp-map {
        height: 350px;
    }

    .lp-card {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .lp-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .lp-card-logo {
        width: 100px;
    }

    .lp-map {
        height: 280px;
        border-radius: 4px;
    }

    .lp-search-input {
        font-size: 14px;
        padding: 10px 12px;
    }
}
