/*
Bedrijven Listing Plugin Frontend Styles
- Rewritten for better specificity and modern styling -
*/

/* Main container */
.blp-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Wrapper for the list and filters */
.blp-list-wrapper {
    flex: 1;
    min-width: 300px;
}

/* Filters section */
.blp-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.blp-filters input[type="text"],
.blp-filters select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}
.blp-filters input#blp-address-input:focus {
    outline: none;
    border-color: #F76B15;
    box-shadow: 0 0 0 2px rgba(247, 107, 21, 0.2);
}
.blp-filters button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    background-color: #eee;
    transition: background-color 0.3s ease;
}
.blp-filters button:hover {
    background-color: #ddd;
}
.blp-filters #blp-geolocate {
    font-size: 1.2em;
    padding: 8px 12px;
}

/* List of companies */
#blp-bedrijven-lijst {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

/* Individual company item */
.blp-bedrijf-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}
.blp-bedrijf-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blp-item-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.blp-item-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blp-title {
    margin: 0 0 10px 0;
    font-size: 22px !important;
}
.blp-title a {
    text-decoration: none;
    color: #000000 !important;
}
.blp-title a:hover {
    color: #F76B15;
}

.blp-adres {
    margin: 0 0 5px 0;
    font-size: 1em;
    color: #555;
    flex-grow: 1;
}

.blp-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #F76B15;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}
.blp-button:hover {
    background-color: #e05a0d;
    color: #ffffff !important;
}

/* Map wrapper */
.blp-map-wrapper {
    min-width: 300px;
    display: none; /* Initially hidden */
}

.blp-container.map-is-visible .blp-map-wrapper {
    display: block;
}
#blp-map {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* Load more button */
#blp-load-more {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #FF8C00;
    color: white;
    border: none;
    border-radius: 4px;
}
#blp-load-more:hover {
    background-color: #E67E00;
}

/* Make search bar wider */
.blp-filters input#blp-address-input {
    flex-grow: 1;
    min-width: 200px;
}

/* Styling for distance info */
.blp-distance-info {
    font-size: 0.9em;
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}
.blp-distance-info p {
    margin: 0 0 5px 0;
    color: #333;
}
.blp-distance-info p strong {
    color: #000;
}
.blp-distance-info p span {
    color: #777;
}

/* Mobile layout adjustments */
@media (max-width: 1023px) {
    .blp-container {
        flex-direction: column;
    }
    .blp-map-wrapper {
        order: 1; /* Show map before the list */
        height: 400px; /* Give it a fixed height on mobile */
    }
    .blp-list-wrapper {
        order: 2; /* Show list after the map */
    }
    #blp-toggle-map {
        width: 100%;
        background-color: #F76B15;
        color: #ffffff;
        padding: 12px;
        font-size: 1.1em;
        margin-top: 10px; /* Add some space above it */
    }
}

/* Desktop layout */
@media (min-width: 1024px) {
    .blp-list-wrapper {
        flex: 1;
    }
    .blp-map-wrapper {
        display: block;
        flex: 1;
        height: 600px; /* Give the map a fixed height for better appearance */
    }
    #blp-toggle-map {
        display: none; /* Hide the toggle button on desktop */
    }
}

/* Single bedrijf styling */
.blp-single-bedrijf {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

.blp-single-content {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.blp-single-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.blp-single-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.blp-single-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.blp-single-info {
    flex: 1;
    min-width: 300px;
    padding: 30px;
}

.blp-single-title {
    font-size: 2.5em !important;
    margin: 0 0 25px 0 !important;
    color: #000 !important;
    line-height: 1.2;
}

.blp-single-field {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.blp-field-icon {
    font-size: 1.5em;
    margin-top: 2px;
    flex-shrink: 0;
}

.blp-field-content {
    flex: 1;
}

.blp-field-content strong {
    display: block;
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #000;
}

.blp-field-content p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.blp-field-content a {
    color: #F76B15;
    text-decoration: none;
}

.blp-field-content a:hover {
    text-decoration: underline;
}

.blp-single-description {
    padding: 30px;
    border-top: 1px solid #eee;
}

.blp-single-description h2 {
    font-size: 1.8em !important;
    margin: 0 0 20px 0 !important;
    color: #000 !important;
}

.blp-description-content {
    color: #555;
    line-height: 1.8;
    font-size: 1.1em;
}

.blp-single-map-section {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blp-single-map-section h2 {
    font-size: 1.8em !important;
    margin: 0 0 20px 0 !important;
    color: #000 !important;
}

.blp-single-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* Mobile adjustments for single bedrijf */
@media (max-width: 768px) {
    .blp-single-header {
        flex-direction: column;
    }
    
    .blp-single-image {
        max-width: none;
    }
    
    .blp-single-info {
        padding: 20px;
    }
    
    .blp-single-title {
        font-size: 2em !important;
    }
    
    .blp-single-description {
        padding: 20px;
    }
    
    .blp-single-map-section {
        padding: 20px;
    }
    
    .blp-single-map {
        height: 300px;
    }
    
    .blp-field-icon {
        font-size: 1.3em;
    }
}

/* Claim section styling */
.blp-claim-section {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #F76B15;
}

.blp-claim-section h2 {
    font-size: 1.8em !important;
    margin: 0 0 15px 0 !important;
    color: #000 !important;
}

.blp-claim-section p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.blp-claim-btn, .blp-manage-btn {
    display: inline-block;
    background: #F76B15;
    color: #fff !important;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    text-decoration: none;
    transition: background 0.3s ease;
}

.blp-claim-btn:hover, .blp-manage-btn:hover {
    background: #e05a0d;
    color: #fff !important;
}

.blp-claim-form {
    margin-top: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.blp-claim-form h3 {
    font-size: 1.4em !important;
    margin: 0 0 20px 0 !important;
    color: #000 !important;
}

.blp-claim-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #000;
}

.blp-claim-form input, .blp-claim-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
}

.blp-claim-form input:focus, .blp-claim-form textarea:focus {
    outline: none;
    border-color: #F76B15;
    box-shadow: 0 0 0 2px rgba(247, 107, 21, 0.2);
}

.blp-claim-form textarea {
    resize: vertical;
    min-height: 100px;
}

.blp-submit-claim {
    background: #F76B15;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    margin-right: 10px;
    transition: background 0.3s ease;
}

.blp-submit-claim:hover {
    background: #e05a0d;
}

.blp-cancel-claim {
    background: #6c757d;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
}

.blp-cancel-claim:hover {
    background: #5a6268;
}

.blp-claim-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.blp-claim-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.blp-claim-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Mobile adjustments for claim section */
@media (max-width: 768px) {
    .blp-claim-section {
        padding: 20px;
    }
    
    .blp-claim-form {
        padding: 20px;
    }
    
    .blp-submit-claim, .blp-cancel-claim {
        width: 100%;
        margin: 5px 0;
    }
}

/* Authentication forms styling */
.blp-auth-container {
    max-width: 450px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.blp-auth-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.blp-auth-tab {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.blp-auth-tab:hover {
    color: #F76B15;
    background: rgba(247, 107, 21, 0.05);
}

.blp-auth-tab.active {
    color: #F76B15;
    background: #fff;
    border-bottom-color: #F76B15;
}

.blp-auth-messages {
    padding: 0 30px;
}

.blp-auth-message {
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-weight: 500;
}

.blp-auth-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.blp-auth-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.blp-auth-form {
    padding: 30px;
}

.blp-auth-form h2 {
    font-size: 1.8em !important;
    margin: 0 0 10px 0 !important;
    color: #000 !important;
    text-align: center;
}

.blp-auth-form > p {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95em;
}

.blp-form-group {
    margin-bottom: 20px;
}

.blp-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.blp-form-group input[type="text"],
.blp-form-group input[type="email"],
.blp-form-group input[type="password"],
.blp-form-group input[type="tel"],
.blp-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.blp-form-group input:focus,
.blp-form-group textarea:focus {
    outline: none;
    border-color: #F76B15;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(247, 107, 21, 0.1);
}

.blp-form-group small {
    display: block;
    color: #666;
    font-size: 0.85em;
    margin-top: 4px;
}

.blp-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal !important;
}

.blp-checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
    transform: scale(1.2);
}

.blp-checkbox-label span {
    flex: 1;
}

.blp-checkbox-label a {
    color: #F76B15;
    text-decoration: none;
}

.blp-checkbox-label a:hover {
    text-decoration: underline;
}

.blp-auth-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #F76B15, #e05a0d);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blp-auth-submit:hover {
    background: linear-gradient(45deg, #e05a0d, #c44a0a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(247, 107, 21, 0.3);
}

.blp-auth-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.blp-auth-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.blp-auth-links a {
    color: #F76B15;
    text-decoration: none;
    font-size: 0.9em;
}

.blp-auth-links a:hover {
    text-decoration: underline;
}

.blp-auth-already-logged {
    max-width: 450px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    text-align: center;
}

.blp-auth-already-logged h2 {
    color: #28a745 !important;
    margin-bottom: 15px !important;
}

.blp-auth-already-logged a {
    color: #F76B15;
    text-decoration: none;
    font-weight: 600;
}

.blp-auth-already-logged a:hover {
    text-decoration: underline;
}

.blp-dashboard-login {
    max-width: 450px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    text-align: center;
}

.blp-dashboard-login h2 {
    color: #dc3545 !important;
    margin-bottom: 15px !important;
}

.blp-login-link {
    display: inline-block;
    padding: 12px 24px;
    background: #F76B15;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.blp-login-link:hover {
    background: #e05a0d;
    color: #fff !important;
}

/* Dashboard styling improvements */
.blp-dashboard {
    max-width: 1200px;
    margin: 0 auto;
}

.blp-dashboard-header {
    background: linear-gradient(135deg, #F76B15, #e05a0d);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 0;
    text-align: center;
    color: white;
}

.blp-dashboard-header h1 {
    color: #fff !important;
    margin-bottom: 10px !important;
    font-size: 2.5em !important;
}

.blp-dashboard-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1em;
    margin: 0;
}

/* Dashboard Tabs */
.blp-dashboard-tabs {
    display: flex;
    background: #fff;
    margin-top: -1px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.blp-dashboard-tab {
    flex: 1;
    padding: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.blp-dashboard-tab:hover {
    color: #F76B15;
    background: rgba(247, 107, 21, 0.05);
}

.blp-dashboard-tab.active {
    color: #F76B15;
    background: rgba(247, 107, 21, 0.1);
    border-bottom-color: #F76B15;
}

.blp-dashboard-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.blp-dashboard-bedrijven {
    display: grid;
    gap: 25px;
}

.blp-dashboard-bedrijf {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blp-dashboard-bedrijf:hover {
    transform: translateY(-2px);
}

.blp-dashboard-bedrijf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(45deg, #F76B15, #e05a0d);
    color: white;
}

.blp-dashboard-bedrijf-header h2 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 1.4em !important;
}

.blp-dashboard-actions {
    display: flex;
    gap: 10px;
}

.blp-dashboard-actions button,
.blp-dashboard-actions a {
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    color: white !important;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background 0.3s ease;
}

.blp-dashboard-actions button:hover,
.blp-dashboard-actions a:hover {
    background: rgba(255,255,255,0.3);
}

.blp-dashboard-bedrijf-info {
    padding: 25px 30px;
}

.blp-edit-form {
    padding: 25px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.blp-edit-form h3 {
    color: #000 !important;
    margin-bottom: 20px !important;
}

/* Mobile adjustments for auth forms */
@media (max-width: 768px) {
    .blp-auth-container,
    .blp-auth-already-logged,
    .blp-dashboard-login {
        margin: 20px;
        border-radius: 8px;
    }
    
    .blp-auth-form {
        padding: 20px;
    }
    
    .blp-auth-tab {
        padding: 12px 15px;
        font-size: 1em;
    }
    
    .blp-dashboard-bedrijf-header {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .blp-dashboard-actions {
        width: 100%;
        justify-content: center;
    }
    
    .blp-dashboard-bedrijf-info,
    .blp-edit-form {
        padding: 20px;
    }
    
    .blp-dashboard-tabs {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .blp-dashboard-tab {
        border-bottom: 1px solid #e0e0e0;
    }
    
    /* Mobile fixes for categories and locations sections */
    .blp-categories-section,
    .blp-locations-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .blp-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        text-align: left;
    }
    
    .blp-section-header h3 {
        font-size: 1.2em !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .blp-section-icon {
        font-size: 1.5em;
        width: 35px;
        height: 35px;
    }
    
    .blp-category-item {
        padding: 12px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .blp-category-label {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
    
    .blp-category-name {
        font-size: 1em;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }
    
    .blp-location-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .blp-location-input {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.9em;
    }
    
    .blp-remove-location {
        align-self: flex-start;
        padding: 6px 10px;
        font-size: 0.8em;
    }
    
    .blp-add-location {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    
    /* Fix for text overflow and narrow sections */
    .blp-categories-section *,
    .blp-locations-section * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .blp-pricing-info {
        padding: 12px 15px;
        font-size: 0.9em;
        line-height: 1.4;
    }
    
    .blp-category-summary,
    .blp-locations-summary {
        padding: 15px;
        font-size: 0.9em;
    }
    
    .blp-summary-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        font-size: 0.95em;
    }
    
    .blp-total-pricing {
        padding: 20px 15px;
        margin-top: 20px;
    }
    
    .blp-total-pricing h4 {
        font-size: 1.1em !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .blp-price-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 10px 0;
        font-size: 0.95em;
    }
    
    .blp-total-line {
        margin: 10px -10px -10px;
        padding: 15px 10px;
        font-size: 1.1em !important;
    }
}

/* Dashboard Tab Content Management */
.blp-dashboard-content {
    display: none;
}

.blp-dashboard-content:first-of-type,
.blp-dashboard-content.active {
    display: block;
}

/* Categories and Locations Styling */
.blp-categories-section,
.blp-locations-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e5e5e5;
}

.blp-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.blp-section-header h3 {
    margin: 0 !important;
    font-size: 1.4em !important;
    color: #333 !important;
    font-weight: 700;
}

.blp-section-icon {
    font-size: 1.8em;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(45deg, #F76B15, #e05a0d);
    color: white;
    box-shadow: 0 4px 12px rgba(247, 107, 21, 0.3);
}

.blp-pricing-info {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #F76B15;
}

.blp-pricing-info p {
    margin: 0 !important;
    color: #666 !important;
    font-size: 0.95em;
}

.blp-pricing-info strong {
    color: #333;
}

.blp-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #fafafa;
    border-radius: 8px;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
}

.blp-category-item:hover {
    background: #f0f8ff;
    border-color: #F76B15;
}

.blp-category-item.selected {
    background: #e8f5e8;
    border-color: #28a745;
}

.blp-category-label {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    cursor: pointer;
}

.blp-category-checkbox {
    transform: scale(1.3);
    margin: 0 !important;
}

.blp-category-name {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

.blp-category-count {
    color: #666;
    font-size: 0.9em;
    margin-left: 5px;
}

.blp-category-summary {
    background: #fff3e0;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #ffcc80;
}

.blp-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 1.05em;
}

.blp-summary-line:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #333;
    border-top: 1px solid #ffcc80;
    padding-top: 15px;
    margin-top: 15px;
}

.blp-location-main {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #bbdefb;
}

.blp-location-main-label {
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 8px;
    font-size: 1.05em;
}

.blp-location-main-address {
    color: #333;
    font-size: 1.1em;
}

.blp-locations-list {
    space-y: 15px;
}

.blp-location-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
    border: 2px solid #e5e5e5;
    margin-bottom: 15px;
}

.blp-location-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.blp-location-input:focus {
    outline: none;
    border-color: #F76B15;
    box-shadow: 0 0 0 3px rgba(247, 107, 21, 0.1);
}

.blp-add-location {
    background: linear-gradient(45deg, #28a745, #20a038);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blp-add-location:hover {
    background: linear-gradient(45deg, #218838, #1e7e34);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.blp-remove-location {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.3s ease;
}

.blp-remove-location:hover {
    background: #c82333;
}

.blp-locations-summary {
    background: #fff3e0;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #ffcc80;
}

.blp-total-pricing {
    background: #f8f9fa;
    border: 2px solid #F76B15;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
}

.blp-total-pricing h4 {
    margin: 0 0 20px 0 !important;
    color: #333 !important;
    font-size: 1.3em !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blp-pricing-breakdown {
    space-y: 12px;
}

.blp-price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 1.05em;
}

.blp-price-line:last-child {
    border-bottom: none;
}

.blp-total-line {
    background: #fff;
    margin: 15px -15px -15px;
    padding: 20px 15px;
    border-radius: 8px;
    border: 2px solid #F76B15;
    font-size: 1.2em !important;
}

.blp-total-line strong {
    color: #F76B15;
}

/* Subscription & Pricing Cards */
.blp-subscription-info {
    max-width: 100%;
}

.blp-pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.blp-pricing-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.blp-pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blp-pricing-card.current {
    border-color: #F76B15;
    transform: scale(1.02);
}

.blp-pricing-card.current::before {
    content: "Aanbevolen";
    position: absolute;
    top: 15px;
    right: 15px;
    background: #F76B15;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 2;
}

.blp-pricing-header {
    background: linear-gradient(135deg, #F76B15, #e05a0d);
    color: white;
    padding: 25px;
    text-align: center;
}

.blp-pricing-header h3 {
    margin: 0 0 15px 0 !important;
    color: #fff !important;
    font-size: 1.3em !important;
}

.blp-price {
    margin-bottom: 10px;
}

.blp-price-amount {
    font-size: 2.5em;
    font-weight: 700;
    display: block;
}

.blp-price-period {
    font-size: 0.9em;
    opacity: 0.9;
}

.blp-pricing-breakdown {
    padding: 20px 25px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.blp-pricing-breakdown p {
    margin: 5px 0;
    color: #666;
    font-size: 0.95em;
}

.blp-pricing-features {
    padding: 20px 25px;
}

.blp-pricing-features p {
    margin: 8px 0;
    color: #555;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blp-pricing-features p::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    font-size: 1.1em;
}

/* Subscription Status & Management */
.blp-subscription-status {
    margin-top: 40px;
}

.blp-subscription-status h3 {
    color: #000 !important;
    margin-bottom: 20px !important;
    font-size: 1.5em !important;
}

.blp-subscription-list {
    display: grid;
    gap: 20px;
}

.blp-subscription-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: box-shadow 0.3s ease;
}

.blp-subscription-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blp-subscription-item h4 {
    margin: 0 0 15px 0 !important;
    color: #000 !important;
    font-size: 1.2em !important;
}

.blp-subscription-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.blp-status, .blp-payment-status {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blp-status.active {
    background: #d4edda;
    color: #155724;
}

.blp-status.inactive, .blp-status.expired {
    background: #f8d7da;
    color: #721c24;
}

.blp-payment-status.paid {
    background: #d4edda;
    color: #155724;
}

.blp-payment-status.unpaid, .blp-payment-status.pending {
    background: #fff3cd;
    color: #856404;
}

.blp-end-date {
    color: #666;
    font-size: 0.9em;
    display: flex;
    align-items: center;
}

.blp-payment-btn {
    background: linear-gradient(45deg, #F76B15, #e05a0d);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
}

.blp-payment-btn:hover {
    background: linear-gradient(45deg, #e05a0d, #c44a0a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(247, 107, 21, 0.3);
}

.blp-no-subscriptions {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

.blp-no-subscriptions h3 {
    color: #333 !important;
    margin-bottom: 10px !important;
}

/* Account Information Styling */
.blp-account-info {
    max-width: 600px;
}

.blp-account-info h2 {
    color: #000 !important;
    margin-bottom: 25px !important;
    font-size: 1.8em !important;
}

.blp-account-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.blp-account-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.blp-account-field:last-child {
    border-bottom: none;
}

.blp-account-field label {
    font-weight: 600;
    color: #333;
    flex: 0 0 120px;
}

.blp-account-field span {
    color: #555;
    flex: 1;
    text-align: right;
}

.blp-account-actions {
    text-align: center;
}

.blp-logout-btn {
    display: inline-block;
    background: #dc3545;
    color: #fff !important;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.blp-logout-btn:hover {
    background: #c82333;
    color: #fff !important;
}

/* Dashboard Empty State */
.blp-dashboard-empty {
    text-align: center;
    padding: 60px 40px;
    background: #f8f9fa;
    border-radius: 12px;
    color: #666;
}

.blp-dashboard-empty h2 {
    color: #333 !important;
    margin-bottom: 15px !important;
    font-size: 1.5em !important;
}

/* Form Styling in Dashboard */
.blp-edit-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.blp-edit-form input, 
.blp-edit-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    margin-bottom: 15px;
    position: relative;
}

.blp-edit-form input:focus, 
.blp-edit-form textarea:focus {
    outline: none;
    border-color: #F76B15;
    box-shadow: 0 0 0 2px rgba(247, 107, 21, 0.2);
}

/* Google Maps Autocomplete styling */
.blp-edit-form input[name="adres"] {
    position: relative;
}

.blp-edit-form input[name="adres"]::placeholder {
    color: #999;
}

/* Style the Google autocomplete dropdown */
.pac-container {
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 1px solid #e0e0e0;
    margin-top: 2px;
}

.pac-item {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

.pac-item:last-child {
    border-bottom: none;
}

.pac-item-selected,
.pac-item:hover {
    background-color: rgba(247, 107, 21, 0.1);
}

.pac-matched {
    font-weight: 600;
    color: #F76B15;
}

/* Address field indicator */
.blp-edit-form input[name="adres"]:focus + .blp-address-hint,
.blp-edit-form input[name="adres"] + .blp-address-hint {
    display: block;
}

.blp-address-hint {
    font-size: 0.85em;
    color: #666;
    margin-top: -10px;
    margin-bottom: 15px;
    display: none;
}

.blp-address-autocomplete-active {
    border-color: #F76B15 !important;
    box-shadow: 0 0 0 2px rgba(247, 107, 21, 0.2) !important;
}

.blp-edit-form textarea {
    resize: vertical;
    min-height: 80px;
}

.blp-save-bedrijf, .blp-cancel-edit {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.blp-save-bedrijf {
    background: #28a745;
    color: white;
}

.blp-save-bedrijf:hover {
    background: #218838;
}

.blp-cancel-edit {
    background: #6c757d;
    color: white;
}

.blp-cancel-edit:hover {
    background: #5a6268;
}

/* Responsive adjustments for pricing cards */
@media (max-width: 768px) {
    .blp-pricing-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
    }
    
    .blp-pricing-card.current {
        transform: none;
    }
    
    .blp-pricing-header {
        padding: 20px;
    }
    
    .blp-price-amount {
        font-size: 2.2em;
    }
    
    .blp-subscription-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .blp-account-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .blp-account-field span {
        text-align: left;
    }
    
    .blp-save-bedrijf, .blp-cancel-edit {
        width: 100%;
        margin: 5px 0;
    }
}

/* Opening Hours Styles */
.blp-opening-hours-section {
    margin: 20px 0;
}

.blp-opening-hours-grid {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.blp-opening-hours-day {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
}

.blp-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.blp-day-header label {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.blp-closed-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal !important;
    color: #666 !important;
    cursor: pointer;
}

.blp-closed-toggle input[type="checkbox"] {
    margin: 0;
}

.blp-time-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.blp-time-inputs input[type="time"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 120px;
}

.blp-time-inputs span {
    color: #666;
    font-weight: 500;
}

/* Live status styles */
.blp-live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.blp-status-open {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.blp-status-closed {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.blp-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.blp-status-open .blp-status-indicator {
    background: #28a745;
}

.blp-status-closed .blp-status-indicator {
    background: #dc3545;
}

/* Business listing status */
.blp-business-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

.blp-business-status.open {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.blp-business-status.closed {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.blp-business-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.blp-business-status.open .blp-business-status-dot {
    background: #28a745;
}

.blp-business-status.closed .blp-business-status-dot {
    background: #dc3545;
}

/* Opening Hours Table */
.blp-opening-hours-table {
    margin: 20px 0;
}

.blp-opening-hours-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blp-opening-hours-table th {
    background: #f8f9fa;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e9ecef;
}

.blp-opening-hours-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.blp-opening-hours-table tr:last-child td {
    border-bottom: none;
}

.blp-day-row {
    transition: all 0.3s ease;
}

.blp-day-row:hover {
    background: #f8f9fa;
}

.blp-day-row.blp-current-day {
    background: rgba(247, 107, 21, 0.05);
    border-left: 4px solid #F76B15;
}

.blp-day-row.blp-open-now {
    background: rgba(40, 167, 69, 0.05);
    border-left: 4px solid #28a745;
}

.blp-day-name {
    font-weight: 600;
    color: #333;
}

.blp-time-range {
    color: #666;
    font-family: 'Courier New', monospace;
}

.blp-closed-text {
    color: #dc3545;
    font-style: italic;
}

/* Verified badge styles */
.blp-verified-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    cursor: help;
    position: relative;
    vertical-align: middle;
}

.blp-verified-checkmark {
    background: #FF6B35;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
    transition: all 0.2s ease;
    line-height: 1;
}

.blp-verified-badge:hover .blp-verified-checkmark {
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(255, 107, 53, 0.4);
}

/* Custom tooltip for verified badge */
.blp-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 280px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

.blp-tooltip.show {
    opacity: 1;
    visibility: visible;
}

.blp-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

/* Ensure the title itself has proper alignment */
.blp-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Single Bedrijf Page Styling - 2 Column Grid Layout */
.blp-single-bedrijf {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.blp-single-page-header {
    width: 100%;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.blp-single-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.blp-single-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.blp-single-left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blp-single-right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blp-single-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blp-single-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blp-single-contact-info {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.blp-single-contact-info h2 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
}

.blp-single-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.blp-single-field:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.blp-field-icon {
    font-size: 1.2rem;
    margin-top: 2px;
    min-width: 24px;
}

.blp-field-content {
    flex: 1;
}

.blp-field-content strong {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
}

.blp-field-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.blp-field-content a {
    color: #F76B15;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blp-field-content a:hover {
    color: #e55a0d;
    text-decoration: underline;
}

.blp-single-opening-hours {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blp-single-opening-hours h2 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
}

.blp-single-description {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blp-single-description h2 {
    margin: 0 0 16px 0;
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
}

.blp-description-content {
    color: #555;
    line-height: 1.6;
}

.blp-description-content p {
    margin-bottom: 16px;
}

.blp-description-content p:last-child {
    margin-bottom: 0;
}

/* Live status styling for single page */
.blp-live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin: 10px 0;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.blp-status-open {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.blp-status-closed {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.blp-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.blp-close-time, .blp-open-time {
    color: #6c757d;
    font-weight: normal;
}

/* Full width sections below grid */
.blp-claim-section,
.blp-single-map-section {
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.blp-claim-section h2,
.blp-single-map-section h2 {
    margin: 0 0 20px 0;
    font-size: 1.75rem;
    color: #333;
    font-weight: 600;
}

.blp-single-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blp-single-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blp-single-title {
        font-size: 1.75rem;
    }
    
    .blp-single-contact-info,
    .blp-single-opening-hours,
    .blp-single-description,
    .blp-claim-section,
    .blp-single-map-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .blp-single-title {
        font-size: 1.5rem;
    }
    
    .blp-single-contact-info,
    .blp-single-opening-hours,
    .blp-single-description,
    .blp-claim-section,
    .blp-single-map-section {
        padding: 16px;
    }
}

/* Welcome menu shortcode styling */
.blp-welcome-menu {
    font-size: 0.75rem;
    color: #999;
    font-weight: 300;
    white-space: nowrap;
    opacity: 0.8;
    letter-spacing: 0.02em;
}

/* Review System Styling */
.blp-reviews-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.blp-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.blp-reviews-header h2 {
    margin: 0;
    font-size: 1.75rem;
    color: #333;
    font-weight: 600;
}

.blp-review-summary {
    flex: 1;
    margin: 10px 0;
}

.blp-rating-display {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blp-average-rating {
    font-size: 2em;
    font-weight: bold;
    color: #F76B15;
}

.blp-stars, .blp-review-stars {
    display: flex;
    gap: 2px;
}

.blp-star {
    font-size: 1.5em;
    color: #ddd;
    transition: color 0.2s ease;
}

.blp-star.filled {
    color: #F76B15;
}

.blp-total-reviews {
    color: #666;
    font-size: 0.9em;
}

.blp-add-review-btn {
    background: linear-gradient(45deg, #F76B15, #e05a0d);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.blp-add-review-btn:hover {
    background: linear-gradient(45deg, #e05a0d, #c44a0a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(247, 107, 21, 0.3);
}

.blp-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blp-review-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.3s ease;
}

.blp-review-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blp-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.blp-review-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.blp-review-author strong {
    color: #333;
    font-size: 1.1em;
}

.blp-review-stars .blp-star {
    font-size: 1.2em;
}

.blp-review-date {
    color: #666;
    font-size: 0.9em;
    font-weight: normal;
}

.blp-review-text {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.blp-no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Modal Styling */
.blp-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.blp-modal-content {
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.blp-modal-header {
    background: linear-gradient(135deg, #F76B15, #e05a0d);
    color: white;
    padding: 25px 30px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blp-modal-header h3 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
    color: white;
}

.blp-modal-close {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.blp-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.blp-modal-step {
    padding: 30px;
}

.blp-form-group {
    margin-bottom: 20px;
}

.blp-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.blp-form-group input,
.blp-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.blp-form-group input:focus,
.blp-form-group textarea:focus {
    outline: none;
    border-color: #F76B15;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(247, 107, 21, 0.1);
}

.blp-form-group small {
    display: block;
    color: #666;
    font-size: 0.85em;
    margin-top: 4px;
}

.blp-star-rating {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.blp-star-btn {
    font-size: 2em;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.blp-star-btn:hover,
.blp-star-btn.active {
    color: #F76B15;
    transform: scale(1.1);
}

.blp-modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: flex-end;
}

.blp-cancel-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
}

.blp-cancel-btn:hover {
    background: #5a6268;
}

.blp-submit-btn {
    background: linear-gradient(45deg, #F76B15, #e05a0d);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blp-submit-btn:hover {
    background: linear-gradient(45deg, #e05a0d, #c44a0a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(247, 107, 21, 0.3);
}

.blp-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.blp-verification-content {
    text-align: center;
}

.blp-verification-content h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.blp-verification-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

#blp-verification-code {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 0.3em;
    font-family: monospace;
}

.blp-modal-messages {
    padding: 0 30px 30px;
}

.blp-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 500;
}

.blp-message-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.blp-message-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Mobile First - Clean and Simple */
@media (max-width: 768px) {
    .blp-reviews-section {
        background: white;
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .blp-reviews-header {
        display: block;
        margin-bottom: 20px;
    }
    
    .blp-reviews-header h2 {
        font-size: 1.8rem;
        color: #333;
        margin-bottom: 15px;
        font-weight: 700;
    }
    
    .blp-review-summary {
        margin-bottom: 20px;
    }
    
    .blp-rating-display {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .blp-average-rating {
        font-size: 2.5em;
        color: #F76B15;
        font-weight: bold;
        line-height: 1;
    }
    
    .blp-stars {
        display: flex;
        gap: 2px;
    }
    
    .blp-star.filled {
        color: #F76B15;
        font-size: 1.8em;
    }
    
    .blp-star {
        font-size: 1.8em;
        color: #ddd;
    }
    
    .blp-total-reviews {
        color: #666;
        font-size: 1em;
        margin-left: 10px;
    }
    
    .blp-add-review-btn {
        width: 100%;
        background: linear-gradient(135deg, #F76B15, #e05a0d);
        color: white;
        border: none;
        padding: 16px 20px;
        font-size: 1.1em;
        font-weight: 600;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .blp-add-review-btn:hover,
    .blp-add-review-btn:active {
        background: linear-gradient(135deg, #e05a0d, #c44a0a);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(247, 107, 21, 0.3);
    }
    
    .blp-reviews-list {
        margin-top: 25px;
    }
    
    .blp-review-item {
        background: #f8f9fa;
        padding: 18px;
        border-radius: 8px;
        margin-bottom: 15px;
        border: 1px solid #e9ecef;
    }
    
    .blp-review-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 12px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .blp-review-author strong {
        color: #333;
        font-size: 1.1em;
        display: block;
        margin-bottom: 6px;
    }
    
    .blp-review-stars {
        display: flex;
        gap: 1px;
    }
    
    .blp-review-stars .blp-star {
        font-size: 1.2em;
    }
    
    .blp-review-date {
        color: #666;
        font-size: 0.9em;
        white-space: nowrap;
    }
    
    .blp-review-text {
        color: #555;
        font-size: 1em;
        line-height: 1.6;
        margin: 0;
    }
    
    .blp-no-reviews {
        text-align: center;
        padding: 40px 20px;
        color: #666;
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px solid #e9ecef;
    }
    
    /* Modal voor mobile - Eenvoudig en werkend */
    .blp-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 20px 10px;
        z-index: 999999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .blp-modal-content {
        background: white;
        border-radius: 12px;
        width: 100%;
        max-width: 450px;
        max-height: 90vh;
        overflow-y: auto;
        margin-top: 40px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }
    
    .blp-modal-header {
        background: linear-gradient(135deg, #F76B15, #e05a0d);
        padding: 20px;
        border-radius: 12px 12px 0 0;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        position: sticky;
        top: 0;
    }
    
    .blp-modal-header h3 {
        color: white;
        margin: 0;
        font-size: 1.3em;
        line-height: 1.3;
        padding-right: 15px;
    }
    
    .blp-modal-close {
        background: rgba(255,255,255,0.2);
        color: white;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .blp-modal-close:active {
        background: rgba(255,255,255,0.3);
    }
    
    .blp-modal-step {
        padding: 25px 20px;
    }
    
    .blp-form-group {
        margin-bottom: 25px;
    }
    
    .blp-form-group label {
        display: block;
        font-weight: 600;
        margin-bottom: 8px;
        color: #333;
        font-size: 1em;
    }
    
    .blp-form-group input,
    .blp-form-group textarea {
        width: 100%;
        padding: 15px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 16px;
        background: #fafafa;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }
    
    .blp-form-group input:focus,
    .blp-form-group textarea:focus {
        outline: none;
        border-color: #F76B15;
        background: white;
        box-shadow: 0 0 0 3px rgba(247, 107, 21, 0.1);
    }
    
    .blp-form-group textarea {
        min-height: 120px;
        resize: vertical;
        font-family: inherit;
    }
    
    .blp-form-group small {
        display: block;
        color: #666;
        font-size: 0.9em;
        margin-top: 6px;
    }
    
    .blp-star-rating {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin: 20px 0;
        padding: 15px 0;
    }
    
    .blp-star-btn {
        font-size: 3em;
        color: #ddd;
        cursor: pointer;
        transition: all 0.2s ease;
        user-select: none;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }
    
    .blp-star-btn:active {
        background: rgba(247, 107, 21, 0.1);
    }
    
    .blp-star-btn.active,
    .blp-star-btn:hover {
        color: #F76B15;
        transform: scale(1.1);
    }
    
    .blp-modal-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
    }
    
    .blp-cancel-btn,
    .blp-submit-btn {
        width: 100%;
        padding: 16px 20px;
        border-radius: 8px;
        font-size: 1.1em;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .blp-cancel-btn {
        background: #6c757d;
        color: white;
    }
    
    .blp-cancel-btn:active {
        background: #5a6268;
    }
    
    .blp-submit-btn {
        background: linear-gradient(135deg, #F76B15, #e05a0d);
        color: white;
    }
    
    .blp-submit-btn:active {
        background: linear-gradient(135deg, #e05a0d, #c44a0a);
    }
    
    .blp-submit-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
    }
    
    /* Verificatie stap */
    .blp-verification-content {
        text-align: center;
    }
    
    .blp-verification-content h4 {
        color: #333;
        margin-bottom: 20px;
        font-size: 1.4em;
    }
    
    .blp-verification-content p {
        color: #666;
        margin-bottom: 30px;
        line-height: 1.6;
        font-size: 1em;
    }
    
    #blp-verification-code {
        width: 200px;
        margin: 0 auto;
        text-align: center;
        font-size: 2em;
        font-weight: bold;
        letter-spacing: 0.3em;
        font-family: monospace;
        padding: 18px;
    }
    
    .blp-modal-messages {
        padding: 0 20px 20px;
    }
    
    .blp-message {
        padding: 15px 18px;
        border-radius: 8px;
        margin-bottom: 15px;
        font-weight: 500;
        line-height: 1.4;
    }
    
    .blp-message-success {
        background: #d4edda;
        border: 1px solid #c3e6cb;
        color: #155724;
    }
    
    .blp-message-error {
        background: #f8d7da;
        border: 1px solid #f5c6cb;
        color: #721c24;
    }
}

@media (max-width: 480px) {
    .blp-reviews-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .blp-reviews-header h2 {
        font-size: 1.5rem;
    }
    
    .blp-average-rating {
        font-size: 2em;
    }
    
    .blp-star {
        font-size: 1.5em;
    }
    
    .blp-add-review-btn {
        padding: 14px 16px;
        font-size: 1em;
        border-radius: 8px;
    }
    
    .blp-review-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .blp-review-text {
        font-size: 0.95em;
    }
    
    /* Zorg dat modal zichtbaar en bruikbaar is op kleine schermen */
    .blp-modal-content {
        margin-top: 20px;
        max-width: 95vw;
    }
    
    .blp-modal-header {
        padding: 18px;
    }
    
    .blp-modal-header h3 {
        font-size: 1.2em;
    }
    
    .blp-modal-step {
        padding: 20px;
    }
    
    .blp-star-rating {
        gap: 8px;
    }
    
    .blp-star-btn {
        width: 55px;
        height: 55px;
        font-size: 2.8em;
    }
}

/* Ensure modal appears above everything */
.blp-modal {
    z-index: 999999;
}

/* Categories Grid Styling */
.blp-categories-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.blp-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 0;
}

.blp-category-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.blp-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #F76B15;
}

.blp-category-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.blp-category-link:hover {
    color: inherit;
    text-decoration: none;
}

/* Category Image Styling */
.blp-category-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.blp-category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blp-category-card:hover .blp-category-img {
    transform: scale(1.05);
}

.blp-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(247, 107, 21, 0.8), rgba(224, 90, 13, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blp-category-card:hover .blp-category-overlay {
    opacity: 1;
}

.blp-category-icon-overlay {
    font-size: 3em;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Fallback Icon Styling (when no image) */
.blp-category-icon {
    font-size: 3em;
    text-align: center;
    margin-bottom: 15px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(247, 107, 21, 0.1), rgba(224, 90, 13, 0.1));
    border-radius: 50%;
    width: 80px;
    margin: 20px auto;
    transition: all 0.3s ease;
}

.blp-category-card:hover .blp-category-icon {
    background: linear-gradient(135deg, rgba(247, 107, 21, 0.2), rgba(224, 90, 13, 0.2));
    transform: scale(1.1);
}

.blp-category-content {
    text-align: center;
    flex-grow: 1;
    padding: 20px;
}

.blp-category-title {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blp-category-card:hover .blp-category-title {
    color: #F76B15;
}

.blp-category-count {
    font-size: 0.9em;
    color: #666;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.blp-category-description {
    font-size: 0.85em;
    color: #777;
    margin: 0;
    line-height: 1.4;
}

.blp-category-arrow {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2em;
    color: #ccc;
    transition: all 0.3s ease;
    opacity: 0;
}

.blp-category-card:hover .blp-category-arrow {
    opacity: 1;
    color: #F76B15;
    transform: translateX(3px);
}

.blp-categories-grid-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
    font-size: 1.1em;
}

/* Responsive Design */

/* 3 columns on medium screens (tablets) */
@media (max-width: 1024px) {
    .blp-categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .blp-category-icon {
        font-size: 2.5em;
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .blp-category-link {
        padding: 20px 15px;
    }
    
    .blp-category-title {
        font-size: 1.2em;
    }
}

/* 2 columns on small tablets */
@media (max-width: 768px) {
    .blp-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .blp-categories-grid-container {
        padding: 20px 15px;
    }
    
    .blp-category-icon {
        font-size: 2.2em;
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .blp-category-link {
        padding: 18px 12px;
    }
    
    .blp-category-title {
        font-size: 1.1em;
        margin-bottom: 8px;
    }
    
    .blp-category-count {
        font-size: 0.85em;
        margin-bottom: 6px;
    }
    
    .blp-category-description {
        font-size: 0.8em;
        display: none; /* Hide description on mobile for cleaner look */
    }
}

/* 1 column on mobile phones */
@media (max-width: 480px) {
    .blp-categories-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .blp-categories-grid-container {
        padding: 15px 10px;
    }
    
    .blp-category-card {
        margin: 0 10px;
    }
    
    .blp-category-link {
        padding: 20px 15px;
        display: flex;
        align-items: center;
        text-align: left;
    }
    
    .blp-category-icon {
        font-size: 2em;
        width: 50px;
        height: 50px;
        margin: 0 15px 0 0;
        flex-shrink: 0;
    }
    
    .blp-category-content {
        text-align: left;
        flex-grow: 1;
    }
    
    .blp-category-title {
        font-size: 1.1em;
        margin-bottom: 4px;
    }
    
    .blp-category-count {
        font-size: 0.8em;
        margin-bottom: 0;
    }
    
    .blp-category-arrow {
        position: static;
        margin-left: 10px;
        opacity: 1;
        font-size: 1.5em;
    }
}

/* Extra large screens - 4+ columns */
@media (min-width: 1400px) {
    .blp-categories-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 30px;
    }
    
    .blp-categories-grid-container {
        max-width: 1400px;
        padding: 30px 0;
    }
}

/* Dark mode support (if theme supports it) */
@media (prefers-color-scheme: dark) {
    .blp-category-card {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    .blp-category-title {
        color: #e2e8f0;
    }
    
    .blp-category-card:hover .blp-category-title {
        color: #F76B15;
    }
    
    .blp-category-count {
        color: #a0aec0;
    }
    
    .blp-category-description {
        color: #9ca3af;
    }
}