/* /Layout/FeaturedLeaseposts.razor.rz.scp.css */
.slim-lease-card-watermark[b-zkoy166v1m] {
    background-color: #FAF5E4;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    position: relative;
}

.slim-lease-card-watermark:hover[b-zkoy166v1m] {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lease-title[b-zkoy166v1m] {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 6px;
}

/* /Layout/ImageUpload.razor.rz.scp.css */
/*.image-upload-dropzone {
    border: 2px dashed #1976d2;
   border-radius: 10px;
    padding: 2rem;
    text-align: center;
    background: #f8f8fa;
    margin-bottom: 1rem;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}

    .image-upload-dropzone:hover, .image-upload-dropzone.drag-active {
        background: #e3f2fd;
        border-color: #1565c0;
    }

.image-upload-dropzone-content {
    color: #1976d2;
    font-size: 1.1rem;
    font-weight: 500;
    pointer-events: none;
}
*/
/* /Layout/RequestPublishDialog.razor.rz.scp.css */
.checkbox-scale[b-pfdh7s0sa7] {
    transform: scale(1.5);
    transform-origin: top left;
    cursor: pointer;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.request-dialog-paper[b-pfdh7s0sa7] {
    max-width: 400px;
    margin: 0 auto;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Increase max-width for desktop to accommodate side-by-side buttons */
@media (min-width: 768px) {
    .request-dialog-paper[b-pfdh7s0sa7] {
        max-width: 500px;
    }
}

.request-dialog-label[b-pfdh7s0sa7],
.mud-typography[typography='subtitle1'][b-pfdh7s0sa7] {
    font-size: 1rem !important;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.request-dialog-input[b-pfdh7s0sa7],
.request-dialog-select .mud-input-root[b-pfdh7s0sa7] {
    min-width: 0;
    max-width: 220px;
    width: 100%;
    font-size: 0.95rem;
    height: 36px;
}

.request-dialog-select .mud-popover[b-pfdh7s0sa7] {
    font-size: 0.95rem;
}
/* /Pages/About.razor.rz.scp.css */
@media (pointer: coarse) and (hover: none) and (min-height: 1000px) and (orientation: portrait) {
    .moose-image-fix[b-gd88j2gpcc] {
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
}
/* /Pages/AddLeasePost.razor.rz.scp.css */
/* Info alert box at the top */
.info-alert[b-7nftzy57rw] {
    background-color: #F8F4E6; /* Matches site background */
    color: #4A4A4A; /* Primary text color */
    border-left: 5px solid #A6937C; /* Secondary accent color */
    padding: 1rem;
    margin-bottom: 1.5rem;
}

/* Section heading styles (e.g. "Hur beräknas priset?") */
.form-section-header[b-7nftzy57rw] {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    color: #4A4A4A;
    background-color: #fefce8;
    border-left: 5px solid #facc15;
}

/* Grid layout adjustments */
.form-grid .mud-item[b-7nftzy57rw] {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Estimated price text styling */
.estimated-price[b-7nftzy57rw] {
    font-weight: 500;
    font-size: 1rem;
    color: #4A4A4A;
    margin-top: 1rem;
}

/* Buttons: subtle margin and layout adjustment */
.form-buttons[b-7nftzy57rw] {
    margin-top: 2rem;
}

.price-info-section[b-7nftzy57rw] {
    background-color: #f8f4e6; /* Subtle, warm background - matches site */
    border-left: 5px solid #a6937c; /* Secondary accent color */
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.no-bullets[b-7nftzy57rw] {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.no-left-margin[b-7nftzy57rw] {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
/* /Pages/LeasePostDetails.razor.rz.scp.css */
/* --- Gallery Thumbnails --- */
.image-viewer-row[b-8ygsp56ub5] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 8px;
    margin-bottom: 4px;
    margin-top: 8px;
    justify-content: center;
    align-items: center;
}

.image-viewer-centered[b-8ygsp56ub5] {
    justify-content: center;
}

.image-viewer-thumb[b-8ygsp56ub5] {
    width: 192px;
    height: 108px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fafafa;
    margin: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

    .image-viewer-thumb:hover[b-8ygsp56ub5] {
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border-color: #1976d2;
    }

/* --- Modal wrapper --- */
.image-viewer-modal[b-8ygsp56ub5] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

/* --- Modal Content --- */
.image-viewer-modal-content.fullscreen[b-8ygsp56ub5] {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    box-sizing: border-box;
    background: transparent;
    padding: 0;
    margin: 0;
}

/* --- Toolbar at top of modal --- */
.image-viewer-toolbar[b-8ygsp56ub5] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* --- Image Counter in Toolbar --- */
.image-viewer-counter[b-8ygsp56ub5] {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: rgba(0,0,0,0.18);
    border-radius: 6px;
    padding: 2px 10px;
    min-width: 44px;
    text-align: center;
    user-select: none;
    pointer-events: none;
    line-height: 1.7;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* --- Modal Close Button --- */
.image-viewer-close[b-8ygsp56ub5] {
    background: transparent;
    color: #fff;
    font-size: 2.2rem;
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.92;
    transition: background 0.2s, opacity 0.2s;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 8px;
    top: 0;
}

    .image-viewer-close:hover[b-8ygsp56ub5] {
        background: rgba(255,255,255,0.08);
        opacity: 1;
    }

/* --- Modal Image --- */
.image-viewer-image-container[b-8ygsp56ub5] {
    width: 100vw;
    height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    position: relative;
    margin-top: 40px;
    padding: 0;
}

.image-viewer-large.fullscreen[b-8ygsp56ub5] {
    max-width: 85vw;
    max-height: calc(100vh - 65px);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    display: block;
    margin: 0 auto;
    background: #111;
}

/* --- Modal Navigation Buttons --- */
.image-viewer-nav[b-8ygsp56ub5] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(0,0,0,0.7);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: background 0.2s, opacity 0.2s;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

    .image-viewer-nav.left[b-8ygsp56ub5] {
        left: 16px;
    }

    .image-viewer-nav.right[b-8ygsp56ub5] {
        right: 16px;
    }

    .image-viewer-nav:hover[b-8ygsp56ub5] {
        background: rgba(0,0,0,0.9);
        opacity: 1;
    }

    .image-viewer-nav .mud-icon-root[b-8ygsp56ub5] {
        font-size: 1.5rem;
        color: #fff;
    }

/* --- Modal Spinner --- */
.image-viewer-modal-content .mud-progress-circular[b-8ygsp56ub5] {
    position: fixed;
    left: 50vw;
    top: 50vh;
    transform: translate(-50%, -50%);
    z-index: 20;
    background: transparent;
    box-shadow: none;
    width: 60px;
    height: 60px;
    color: #fff !important;
    --mud-palette-primary: #fff !important;
    --mud-palette-surface: transparent !important;
}

@media (max-width: 900px) {
    .image-viewer-toolbar[b-8ygsp56ub5] {
        height: 32px;
        min-height: 32px;
        max-height: 32px;
    }

    .image-viewer-image-container[b-8ygsp56ub5] {
        height: calc(100vh - 32px);
        margin-top: 32px;
    }

    .image-viewer-large.fullscreen[b-8ygsp56ub5] {
        max-width: 90vw;
        max-height: calc(100vh - 55px);
    }

    .image-viewer-nav[b-8ygsp56ub5] {
        width: 44px;
        height: 44px;
    }

        .image-viewer-nav.left[b-8ygsp56ub5] {
            left: 4px;
        }

        .image-viewer-nav.right[b-8ygsp56ub5] {
            right: 4px;
        }

        .image-viewer-nav .mud-icon-root[b-8ygsp56ub5] {
            font-size: 1.4rem;
        }

    .image-viewer-close[b-8ygsp56ub5] {
        width: 36px;
        height: 32px;
        font-size: 2rem;
        right: 4px;
    }

    .image-viewer-counter[b-8ygsp56ub5] {
        font-size: 1rem;
        min-width: 36px;
        padding: 1px 7px;
    }
}

@media (max-width: 600px) {
    .image-viewer-toolbar[b-8ygsp56ub5] {
        height: 26px;
        min-height: 26px;
        max-height: 26px;
    }

    .image-viewer-image-container[b-8ygsp56ub5] {
        height: calc(100vh - 26px);
        margin-top: 26px;
    }

    .image-viewer-large.fullscreen[b-8ygsp56ub5] {
        max-width: 95vw;
        max-height: calc(100vh - 45px);
    }

    .image-viewer-nav[b-8ygsp56ub5] {
        width: 40px;
        height: 40px;
    }

        .image-viewer-nav.left[b-8ygsp56ub5] {
            left: 2px;
        }

        .image-viewer-nav.right[b-8ygsp56ub5] {
            right: 2px;
        }

        .image-viewer-nav .mud-icon-root[b-8ygsp56ub5] {
            font-size: 1.3rem;
        }

    .image-viewer-close[b-8ygsp56ub5] {
        width: 28px;
        height: 26px;
        font-size: 1.5rem;
        right: 2px;
        background: transparent !important;
        color: #ffffff !important;
    }

        .image-viewer-close:hover[b-8ygsp56ub5] {
            background: transparent !important;
            color: #ffffff !important;
            opacity: 0.8;
        }

    .image-viewer-counter[b-8ygsp56ub5] {
        font-size: 0.95rem;
        min-width: 28px;
        padding: 0 5px;
    }
}

/* --- Mobile Portrait specific styles --- */
@media (max-width: 600px) and (orientation: portrait) {
    .image-viewer-close[b-8ygsp56ub5] {
        background: transparent !important;
        color: #ffffff !important;
    }

        .image-viewer-close:hover[b-8ygsp56ub5] {
            background: transparent !important;
            color: #ffffff !important;
            opacity: 0.8;
        }
}
/* /Pages/LeasePostEdit.razor.rz.scp.css */
.price-info-section[b-ctvz067lzt] {
    border-left: 6px solid var(--mud-palette-primary, #1976d2);
    background: var(--mud-palette-background, #f6f5f3);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    box-shadow: var(--mud-elevation-1, 0 1px 3px rgba(0,0,0,0.12));
}

.no-bullets[b-ctvz067lzt] {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}
