/* Austrong Store Locator Frontend Styling */
:root {
    --austrong-primary: #e65100;
    --austrong-primary-hover: #c74400;
    --austrong-accent: #ff9800;
    --austrong-bg: #f8f9fa;
    --austrong-card-bg: #ffffff;
    --austrong-text-dark: #2c3e50;
    --austrong-text-muted: #6c757d;
    --austrong-border: #e2e8f0;
    --austrong-radius: 12px;
    --austrong-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --austrong-active-shadow: 0 8px 25px rgba(230, 81, 0, 0.15);
}

.austrong-sl-container {
    width: 100%;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--austrong-text-dark);
}

/* Filter Bar */
.austrong-sl-filter-bar {
    background: #ffffff;
    padding: 20px;
    border-radius: var(--austrong-radius);
    box-shadow: var(--austrong-shadow);
    border: 1px solid var(--austrong-border);
    margin-bottom: 25px;
}

.austrong-sl-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: stretch;
}

.austrong-sl-field-wrap {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
}

.austrong-sl-search-wrap {
    flex: 2 1 300px;
    display: flex;
    align-items: stretch;
    position: relative;
}

.austrong-sl-select,
.austrong-sl-input {
    width: 100%;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 46px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    border: 1px solid var(--austrong-border) !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    color: var(--austrong-text-dark) !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.austrong-sl-select:focus,
.austrong-sl-input:focus {
    outline: none !important;
    border-color: var(--austrong-primary) !important;
    box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.12) !important;
}

.austrong-sl-search-wrap .austrong-sl-input {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: none !important;
}

.austrong-sl-btn-search {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 46px !important;
    padding: 0 24px !important;
    background: var(--austrong-primary) !important;
    color: #ffffff !important;
    border: 1px solid var(--austrong-primary) !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    cursor: pointer;
    font-size: 16px !important;
    transition: background 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.austrong-sl-btn-search:hover {
    background: var(--austrong-primary-hover) !important;
    border-color: var(--austrong-primary-hover) !important;
}

/* Main Layout */
.austrong-sl-main-layout {
    display: flex;
    gap: 25px;
    min-height: 520px;
}

.austrong-sl-map-col {
    flex: 1 1 55%;
    position: relative;
    border-radius: var(--austrong-radius);
    overflow: hidden;
    box-shadow: var(--austrong-shadow);
    border: 1px solid var(--austrong-border);
    background: #e9ecef;
}

.austrong-sl-map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 520px;
    position: relative;
}

.austrong-sl-map-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 520px;
    border: none !important;
}

.austrong-sl-map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
    text-align: center;
    color: var(--austrong-text-muted);
}

.austrong-sl-map-placeholder i {
    font-size: 50px;
    color: var(--austrong-primary);
    margin-bottom: 15px;
}

/* List Column */
.austrong-sl-list-col {
    flex: 1 1 45%;
    max-height: 580px;
    overflow-y: auto;
    padding-right: 5px;
}

.austrong-sl-list-col::-webkit-scrollbar {
    width: 6px;
}
.austrong-sl-list-col::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.austrong-sl-list-col::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.austrong-sl-list-col::-webkit-scrollbar-thumb:hover {
    background: var(--austrong-primary);
}

.austrong-sl-store-item {
    background: var(--austrong-card-bg);
    padding: 20px;
    border-radius: var(--austrong-radius);
    margin-bottom: 15px;
    border: 2px solid transparent;
    box-shadow: var(--austrong-shadow);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.austrong-sl-store-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--austrong-active-shadow);
    border-color: rgba(230, 81, 0, 0.3);
}

.austrong-sl-store-item.active {
    border-color: var(--austrong-primary);
    box-shadow: var(--austrong-active-shadow);
    background: #fffcf9;
}

.austrong-sl-title {
    margin: 0 0 12px 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--austrong-primary);
    line-height: 1.4;
}

.austrong-sl-info {
    margin: 6px 0;
    font-size: 14px;
    color: var(--austrong-text-dark);
    line-height: 1.5;
}

.austrong-sl-info i {
    width: 18px;
    color: var(--austrong-primary);
    margin-right: 6px;
}

.austrong-sl-info a {
    color: var(--austrong-primary);
    text-decoration: none;
    font-weight: 600;
}

.austrong-sl-info a:hover {
    text-decoration: underline;
}

.austrong-sl-no-results {
    padding: 40px;
    text-align: center;
    background: #fff;
    border-radius: var(--austrong-radius);
    color: var(--austrong-text-muted);
}

.austrong-sl-no-results i {
    font-size: 40px;
    color: var(--austrong-accent);
    margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 991px) {
    .austrong-sl-main-layout {
        flex-direction: column-reverse;
    }
    .austrong-sl-map-col,
    .austrong-sl-list-col {
        flex: 1 1 100%;
        width: 100%;
    }
    .austrong-sl-map-wrapper,
    .austrong-sl-map-wrapper iframe {
        min-height: 380px;
    }
}
