/**
 * Bebauungsplan-Suche - Styles
 */

/* ============================================
   PANEL CONTAINER
   ============================================ */
#bplan-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ============================================
   SUCHFORMULAR
   ============================================ */
.bplan-search-form {
    padding: 12px;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    background: var(--bg-light, #f8f9fa);
    flex-shrink: 0;
}

.bplan-search-form.compact {
    padding: 10px;
}

/* Zeilen-Layout für kompakte Ansicht */
.bplan-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.bplan-row .bplan-form-group {
    flex: 1;
    margin-bottom: 0;
}

.bplan-row .bplan-form-group.flex-2 {
    flex: 2;
}

.bplan-row .bplan-form-group.flex-1 {
    flex: 1;
}

.bplan-form-group {
    margin-bottom: 10px;
}

.bplan-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary, #555);
    margin-bottom: 4px;
}

.bplan-form-group input,
.bplan-form-group select {
    width: 100%;
    padding: 6px 8px;
    font-size: 12px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.bplan-form-group input:focus,
.bplan-form-group select:focus {
    outline: none;
    border-color: var(--primary-color, #8B0000);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

/* Read-only-Anzeige der einzigen Planart (statt Auswahl-Dropdown) */
.bplan-planart-single {
    width: 100%;
    padding: 6px 8px;
    font-size: 12px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 4px;
    background: #f4f4f4;
    color: #333;
    font-weight: 600;
    box-sizing: border-box;
}

.bplan-form-group input[type="date"] {
    cursor: pointer;
}

/* Autocomplete Wrapper */
.bplan-autocomplete-wrapper {
    position: relative;
}

/* ============================================
   AUTOCOMPLETE DROPDOWN
   ============================================ */
.bplan-autocomplete-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--border-color, #ddd);
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bplan-autocomplete-results.visible {
    display: block;
}

.bplan-autocomplete-results li {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color, #eee);
    transition: background-color 0.15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bplan-autocomplete-results li:last-child {
    border-bottom: none;
}

.bplan-autocomplete-results li:hover,
.bplan-autocomplete-results li.selected {
    background-color: var(--bg-hover, #f0f0f0);
}

.bplan-autocomplete-results .result-name {
    font-weight: 500;
    font-size: 13px;
    color: var(--text-primary, #333);
    flex: 1;
}

.bplan-autocomplete-results .result-info {
    font-size: 11px;
    color: var(--text-muted, #888);
    margin-left: 8px;
}

/* "Alle Treffer laden": bleibt beim Scrollen sichtbar und sitzt immer unten,
   damit der verdeckte Suchen-Knopf eine erreichbare Entsprechung hat. */
.bplan-autocomplete-results .bplan-autocomplete-all {
    position: sticky;
    bottom: 0;
    background: var(--bg-light, #fafafa);
    border-top: 1px solid var(--border-color, #ddd);
    border-bottom: none;
}

.bplan-autocomplete-results .bplan-autocomplete-all .result-name {
    font-weight: 400;
    color: var(--text-muted, #666);
}

.bplan-autocomplete-results .bplan-autocomplete-all i {
    margin-right: 6px;
}

.bplan-autocomplete-results mark {
    background-color: rgba(255, 215, 0, 0.4);
    padding: 0 2px;
    border-radius: 2px;
}

/* ============================================
   BUTTONS
   ============================================ */
.bplan-button-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.bplan-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bplan-btn:active {
    transform: scale(0.98);
}

.bplan-btn-primary {
    flex: 1;
    background: var(--primary-color, #8B0000);
    color: #fff;
}

.bplan-btn-primary:hover {
    background: var(--primary-color-dark, #700000);
}

.bplan-btn-secondary {
    background: var(--bg-light, #e9ecef);
    color: var(--text-primary, #333);
    padding: 8px 12px;
}

.bplan-btn-secondary:hover {
    background: var(--border-color, #ddd);
}

/* ============================================
   ÜBERSICHTSEBENE CHECKBOX
   ============================================ */
.bplan-outline-toggle {
    margin-top: 12px;
    padding: 12px;
    border-top: 1px solid var(--border-color, #e0e0e0);
}

.bplan-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-primary, #333);
    user-select: none;
}

.bplan-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary-color, #8B0000);
}

.bplan-checkbox-label span {
    flex: 1;
}

.bplan-outline-icon {
    width: 30px;
    height: 15px;
    object-fit: contain;
    flex-shrink: 0;
}

.bplan-loaded-count {
    display: none;
    font-size: 11px;
    color: var(--text-muted, #888);
    margin-top: 4px;
}

.bplan-loaded-count.visible {
    display: block;
}

.bplan-loaded-count .count-number {
    font-weight: 600;
    color: var(--primary-color, #8B0000);
}

/* ============================================
   LOADING ANZEIGE
   ============================================ */
#bplan-loading {
    display: none;
    padding: 20px;
    text-align: center;
    color: var(--text-secondary, #666);
    font-size: 13px;
}

#bplan-loading.visible {
    display: block;
}

#bplan-loading .spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-color, #e0e0e0);
    border-top-color: var(--primary-color, #8B0000);
    border-radius: 50%;
    animation: bplan-spin 0.8s linear infinite;
    margin: 0 auto 10px;
}

@keyframes bplan-spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   MELDUNGEN
   ============================================ */
.bplan-message {
    display: none;
    padding: 10px 12px;
    margin: 8px 12px;
    font-size: 12px;
    border-radius: 4px;
    text-align: center;
}

.bplan-message.visible {
    display: block;
}

.bplan-message.info {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

.bplan-message.warning {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
}

.bplan-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.bplan-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* ============================================
   ERGEBNISSE
   ============================================ */
#bplan-results {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

#bplan-results.visible {
    display: flex;
}

.bplan-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: var(--bg-light, #f8f9fa);
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    flex-shrink: 0;
}

.bplan-results-header h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #333);
}

#bplan-results-count {
    font-size: 12px;
    color: var(--text-secondary, #666);
}

/* ============================================
   TRANSPARENZ-SCHIEBEREGLER
   ============================================ */
.bplan-opacity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--bg-lighter, #fff);
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    flex-shrink: 0;
}

.bplan-opacity-control label {
    font-size: 11px;
    color: var(--text-secondary, #666);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bplan-opacity-control label i {
    font-size: 12px;
    color: var(--text-muted, #888);
}

#bplan-opacity-slider {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border-color, #ddd);
    border-radius: 2px;
    cursor: pointer;
}

#bplan-opacity-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color, #8B0000);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

#bplan-opacity-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color, #8B0000);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

#bplan-opacity-value {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary, #333);
    min-width: 35px;
    text-align: right;
}

#bplan-results-list {
    list-style: none;
    margin: 0;
    padding: 5px 0 40px 0;
    flex: 1;
    overflow-y: auto;
}

.bplan-result-item {
    display: flex;
    align-items: flex-start;
    padding: 6px 10px;
    border-bottom: 1px solid var(--border-color, #eee);
    cursor: pointer;
    transition: background-color 0.15s;
}

.bplan-drag-handle {
    color: #ccc;
    padding: 2px 8px 2px 0;
    cursor: grab;
    font-size: 12px;
    flex-shrink: 0;
}

.bplan-drag-handle:hover {
    color: #888;
}

.bplan-result-item.dragging .bplan-drag-handle {
    cursor: grabbing;
}

.bplan-result-content {
    flex: 1;
    min-width: 0;
}

.bplan-result-item:hover {
    background-color: var(--bg-hover, #f5f5f5);
}

.bplan-result-item.active {
    background-color: rgba(var(--primary-color-rgb), 0.08);
    border-left: 3px solid var(--primary-color, #8B0000);
}

.bplan-result-item.no-results {
    color: var(--text-muted, #888);
    text-align: center;
    font-style: italic;
    cursor: default;
}

.bplan-result-item.no-results:hover {
    background-color: transparent;
}

.bplan-result-main {
    display: flex;
    flex-direction: column;
    margin-bottom: 4px;
}

.bplan-name {
    font-weight: 500;
    font-size: 12px;
    color: var(--text-primary, #333);
    word-break: break-word;
    line-height: 1.3;
    margin-bottom: 2px;
}

.bplan-gemeinde {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

/* Container für Meta-Infos und Actions in einer Zeile */
.bplan-result-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.bplan-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 10px;
    flex: 1;
}

.bplan-result-meta span {
    padding: 2px 6px;
    background: var(--bg-light, #f0f0f0);
    border-radius: 3px;
    color: var(--text-secondary, #666);
    white-space: nowrap;
}

.bplan-planart {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bplan-rechtsstand {
    background: #e3f2fd !important;
    color: #1565c0 !important;
}

.bplan-datum {
    background: #fff3e0 !important;
    color: #e65100 !important;
}

/* ============================================
   ERGEBNIS-AKTIONEN
   ============================================ */
.bplan-result-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.bplan-btn-toggle,
.bplan-btn-zoom,
.bplan-btn-remove {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-muted, #888);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
    font-size: 14px;
}

.bplan-btn-toggle:hover,
.bplan-btn-zoom:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary, #333);
}

.bplan-btn-remove:hover {
    background: #ffebee;
    color: #c62828;
}

.bplan-result-item.visibility-off {
    opacity: 0.5;
}

.bplan-result-item.visibility-off .bplan-name {
    text-decoration: line-through;
}

/* Drag & Drop Styles */
.bplan-result-item.dragging {
    opacity: 0.4;
}

.bplan-result-item.dragging .bplan-drag-handle {
    cursor: grabbing;
}

.bplan-result-item.drag-over-top {
    border-top: 2px solid var(--primary-color, #8B0000);
    margin-top: -2px;
}

.bplan-result-item.drag-over-bottom {
    border-bottom: 2px solid var(--primary-color, #8B0000);
    margin-bottom: -2px;
}

.bplan-list-empty {
    padding: 20px;
    text-align: center;
    color: var(--text-muted, #888);
    font-size: 12px;
}

.bplan-list-empty i {
    margin-right: 6px;
    opacity: 0.5;
}

.bplan-results-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Raster-Opacity-Slider */
.bplan-opacity-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-light, #f8f9fa);
    border-bottom: 1px solid var(--border-color, #e0e0e0);
}

.bplan-opacity-row label {
    font-size: 13px;
    color: var(--text-secondary, #666);
    flex-shrink: 0;
    margin: 0;
}

.bplan-opacity-slider {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border-color, #ccc);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.bplan-opacity-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color, #8B0000);
    cursor: pointer;
}

.bplan-opacity-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color, #8B0000);
    cursor: pointer;
    border: none;
}

#bplan-opacity-value {
    font-size: 11px;
    color: var(--text-secondary, #666);
    min-width: 32px;
    text-align: right;
}

/* ============================================
   WARENKORB
   ============================================ */
.bplan-cart {
    border-top: 2px solid var(--primary-color, #8B0000);
    background: #fff;
    margin-top: 8px;
}

.bplan-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: var(--bg-light, #f8f9fa);
    border-bottom: 1px solid var(--border-color, #e0e0e0);
}

.bplan-cart-header h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #333);
    display: flex;
    align-items: center;
    gap: 6px;
}

.bplan-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 600;
    background: var(--primary-color, #8B0000);
    color: #fff;
    border-radius: 9px;
}

.bplan-btn-icon {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-muted, #888);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
}

.bplan-btn-icon:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary, #333);
}

#bplan-cart-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 250px;
    overflow-y: auto;
}

.bplan-cart-empty {
    padding: 20px;
    text-align: center;
    color: var(--text-muted, #888);
    font-size: 12px;
}

.bplan-cart-empty i {
    margin-right: 6px;
    opacity: 0.5;
}

.bplan-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color, #eee);
    transition: background-color 0.15s;
}

.bplan-cart-item:hover {
    background-color: var(--bg-hover, #f5f5f5);
}

.bplan-cart-item.visibility-off {
    opacity: 0.5;
}

.bplan-cart-item.visibility-off .bplan-cart-item-name {
    text-decoration: line-through;
}

.bplan-cart-item-info {
    flex: 1;
    min-width: 0;
    padding-right: 8px;
}

.bplan-cart-item-name {
    font-weight: 500;
    font-size: 12px;
    color: var(--text-primary, #333);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bplan-cart-item-gemeinde {
    font-size: 10px;
    color: var(--text-muted, #888);
}

.bplan-cart-item-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.bplan-cart-toggle,
.bplan-cart-zoom,
.bplan-cart-remove {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-muted, #888);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
}

.bplan-cart-toggle:hover,
.bplan-cart-zoom:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary, #333);
}

.bplan-cart-remove:hover {
    background: #ffebee;
    color: #c62828;
}

/* ============================================
   DOKUMENTE-BUTTON
   ============================================ */
.bplan-btn-docs {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--primary-color, #8B0000);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
    font-size: 14px;
}

.bplan-btn-docs:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color-dark, #700000);
}

/* Deaktivierter Dokumente-Button (keine Dokumente verfügbar) */
.bplan-btn-docs.bplan-btn-disabled,
.bplan-btn-docs:disabled {
    color: #aaa;
    cursor: not-allowed;
    opacity: 0.6;
}

.bplan-btn-docs.bplan-btn-disabled:hover,
.bplan-btn-docs:disabled:hover {
    background: transparent;
    color: #aaa;
}

/* ============================================
   DOKUMENTE-MODAL
   ============================================ */
.bplan-docs-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.bplan-docs-modal.visible {
    display: flex;
}

.bplan-docs-modal-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: bplan-modal-appear 0.2s ease-out;
}

@keyframes bplan-modal-appear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.bplan-docs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    background: var(--bg-light, #f8f9fa);
    border-radius: 8px 8px 0 0;
}

.bplan-docs-header-text {
    flex: 1;
    min-width: 0;
}

.bplan-docs-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #333);
    word-break: break-word;
}

.bplan-docs-subtitle {
    font-size: 12px;
    color: var(--text-muted, #888);
    margin-top: 2px;
    display: block;
}

.bplan-docs-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-muted, #888);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-left: 12px;
    flex-shrink: 0;
    transition: background-color 0.2s, color 0.2s;
}

.bplan-docs-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary, #333);
}

.bplan-docs-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.bplan-docs-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bplan-docs-item {
    border-bottom: 1px solid var(--border-color, #eee);
}

.bplan-docs-item:last-child {
    border-bottom: none;
}

.bplan-docs-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-primary, #333);
    transition: background-color 0.15s;
}

.bplan-docs-link:hover {
    background-color: var(--bg-hover, #f5f5f5);
}

.bplan-docs-icon {
    font-size: 24px;
    color: var(--primary-color, #8B0000);
    margin-right: 14px;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.bplan-docs-icon.fa-file-pdf {
    color: #dc3545;
}

.bplan-docs-icon.fa-file-word {
    color: #2b579a;
}

.bplan-docs-icon.fa-file-excel {
    color: #217346;
}

.bplan-docs-icon.fa-file-image {
    color: #6f42c1;
}

.bplan-docs-icon.fa-drafting-compass {
    color: #fd7e14;
}

.bplan-docs-info {
    flex: 1;
    min-width: 0;
}

.bplan-docs-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary, #333);
    word-break: break-word;
    line-height: 1.3;
}

.bplan-docs-meta {
    display: block;
    font-size: 11px;
    color: var(--text-muted, #888);
    margin-top: 2px;
}

.bplan-docs-external {
    font-size: 12px;
    color: var(--text-muted, #aaa);
    margin-left: 12px;
    flex-shrink: 0;
}

.bplan-docs-link:hover .bplan-docs-external {
    color: var(--primary-color, #8B0000);
}

/* Dokumente Loading/Error/Empty States */
.bplan-docs-loading,
.bplan-docs-error,
.bplan-docs-empty {
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted, #888);
    font-size: 13px;
}

.bplan-docs-loading i,
.bplan-docs-error i,
.bplan-docs-empty i {
    margin-right: 8px;
}

.bplan-docs-error {
    color: #c62828;
}

.bplan-docs-error i {
    color: #ef5350;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
    .bplan-row {
        flex-direction: column;
    }

    .bplan-result-main {
        flex-direction: column;
    }

    .bplan-gemeinde {
        margin-left: 0;
        margin-top: 2px;
    }

    .bplan-docs-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .bplan-docs-link {
        padding: 10px 15px;
    }
}
