/* AdeptWiz WP Maps - Frontend Styles */

.adeptwiz-map-outer-wrapper {
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 20px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

/* GDPR Overlay Banner */
.adeptwiz-gdpr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #ffffff;
    text-align: center;
}

.adeptwiz-gdpr-content {
    max-width: 500px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.adeptwiz-gdpr-content .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #a5b4fc;
    margin-bottom: 12px;
}

.adeptwiz-gdpr-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #e2e8f0;
}

/* Store Locator Bar */
.adeptwiz-store-locator-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 20px 24px;
    color: #ffffff;
}

.adeptwiz-store-locator-bar h4 {
    margin: 0 0 14px 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.adeptwiz-locator-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.adeptwiz-locator-address {
    flex: 1;
    min-width: 220px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #475569;
    background: #1e293b;
    color: #ffffff;
    font-size: 14px;
}

.adeptwiz-locator-radius {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #475569;
    background: #1e293b;
    color: #ffffff;
    font-size: 14px;
}

/* Category Filter Bar */
.adeptwiz-category-filter-bar {
    padding: 14px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.adeptwiz-filter-label {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 4px;
}

.adeptwiz-category-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.adeptwiz-pill-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.adeptwiz-pill-btn.active, .adeptwiz-pill-btn:hover {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

/* Map Canvas */
.adeptwiz-map-canvas {
    width: 100%;
    min-height: 350px;
    z-index: 1;
}

/* Glassmorphic Info Windows */
.adeptwiz-infowindow-card {
    padding: 14px;
    max-width: 280px;
    font-family: inherit;
}

.adeptwiz-infowindow-card h4 {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.adeptwiz-infowindow-card p {
    margin: 4px 0;
    font-size: 13px;
    color: #475569;
}

.adeptwiz-infowindow-directions {
    display: inline-block;
    margin-top: 8px;
    color: #4f46e5;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
}

.adeptwiz-infowindow-directions:hover {
    text-decoration: underline;
}

/* Marker Listing Components */
.adeptwiz-marker-listing-wrapper {
    padding: 20px 24px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.adeptwiz-listing-search {
    margin-bottom: 15px;
}

.adeptwiz-marker-search-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
}

.adeptwiz-frontend-table {
    width: 100%;
    border-collapse: collapse;
}

.adeptwiz-frontend-table th {
    background: #f8fafc;
    padding: 10px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
}

.adeptwiz-frontend-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}

.adeptwiz-marker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.adeptwiz-marker-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
}

.adeptwiz-marker-card:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.adeptwiz-marker-card h4 {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: #0f172a;
}

.adeptwiz-card-address {
    font-size: 12px;
    color: #64748b;
    margin: 4px 0;
}
