/* Beankick Store Locator Frontend Styles matching exact screenshot UI */

.bk-store-locator-container {
    max-width: 440px;
    margin: 0 auto;
    background: #f0f2f5;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a202c;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    box-sizing: border-box;
}

.bk-store-locator-container * {
    box-sizing: border-box;
}

/* Search Bar */
.bk-sl-search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 8px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.bk-sl-search-icon {
    display: flex;
    align-items: center;
    color: #1a1a1a;
    margin-right: 10px;
}

.bk-sl-search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.bk-sl-search-box input::placeholder {
    font-weight: 400;
    color: #a0aec0;
}

#bk-sl-locate-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #2d3748;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.2s ease, color 0.2s ease;
}

#bk-sl-locate-btn:hover {
    color: #000000;
    transform: rotate(45deg);
}

/* Tab Switcher */
.bk-sl-tabs {
    display: flex;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.bk-sl-tab {
    flex: 1;
    padding: 14px 10px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #1a1a1a;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.bk-sl-tab.active {
    background: #ffffff;
    color: #000000;
    border-right: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    border-bottom: 3px solid #1a1a1a;
}

.bk-sl-tab:first-child.active {
    border-left: none;
}

.bk-sl-tab:last-child.active {
    border-right: none;
}

/* Map Wrapper */
.bk-sl-map-wrapper {
    width: 100%;
    height: 220px;
    background: #e9ebd9;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    position: relative;
}

#bk-sl-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Custom Marker Pins */
.bk-custom-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 42px;
    position: relative;
}

.bk-pin-body {
    width: 30px;
    height: 38px;
    background: #111111;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border: 2px solid #ffffff;
}

.bk-pin-body.gold {
    background: #c5a363;
}

.bk-pin-number {
    transform: rotate(45deg);
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
}

/* Store Cards List */
.bk-sl-stores-list {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 16px 16px;
    max-height: 420px;
    overflow-y: auto;
    padding: 0 16px;
}

.bk-sl-store-card {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #edf2f7;
    transition: background 0.2s ease;
}

.bk-sl-store-card:last-child {
    border-bottom: none;
}

.bk-sl-store-card.selected {
    background: #f7fafc;
}

.bk-sl-store-icon {
    width: 44px;
    height: 44px;
    margin-right: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1.5px solid #1a1a1a;
    border-radius: 8px;
    padding: 6px;
}

.bk-sl-store-info {
    flex: 1;
}

.bk-sl-distance {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 4px;
    font-weight: 500;
}

.bk-sl-title {
    font-size: 15px;
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
    margin: 0 0 4px 0;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.bk-sl-address-line {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.3;
}

.bk-sl-phone {
    font-size: 14px;
    color: #1a202c;
    text-decoration: underline;
    display: inline-block;
    margin-top: 2px;
    font-weight: 500;
}

.bk-sl-phone:hover {
    color: #000000;
}

.bk-sl-directions-btn {
    background: #111111;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 30px;
    display: inline-block;
    align-self: center;
    margin-left: 10px;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.bk-sl-directions-btn:hover {
    background: #333333;
    color: #ffffff;
    transform: translateY(-1px);
}

.bk-sl-loading, .bk-sl-no-results {
    padding: 30px;
    text-align: center;
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}
