.streetview-thumb {
    max-width: 140px;
    height: auto;
}

.project-address-thumbnail {
    width: 180px;
    max-width: 100%;
    height: auto;
}

.building-sketch-thumbnail {
    display: block;
    height: 180px;
    object-fit: contain;
    padding: 0.5rem;
    background: #f8f9fa;
}

.building-sketch-thumbnail svg {
    display: block;
    width: 100%;
    height: 100%;
}

.image-preview-dialog {
    border: 0;
    border-radius: 0.5rem;
    padding: 1rem;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
}

.image-preview-dialog::backdrop {
    background: rgba(0, 0, 0, 0.7);
}

.image-preview-image {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    margin: auto;
}

.developer-attachment-preview {
    width: 240px;
    max-width: 100%;
}

.developer-attachment-thumbnail {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #f8f9fa;
}

.developer-attachment-video {
    width: 360px;
    max-width: 100%;
}

.developer-attachment-player {
    display: block;
    width: 100%;
    max-height: 270px;
    background: #000;
}

.building-sketch-dialog {
    width: 760px;
}

.building-sketch-dialog [data-building-sketch-main] {
    max-height: 60vh;
}

.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.energy-label-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    padding: 0.25rem 0.5rem;
    border: 2px solid #fff;
    border-radius: 0.35rem;
    background: var(--energy-label-color, #6c757d);
    color: #111;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    box-shadow: 0 1px 5px rgb(0 0 0 / 25%);
}

.energy-label-badge--a { --energy-label-color: #009640; color: #fff; }
.energy-label-badge--b { --energy-label-color: #52ae32; }
.energy-label-badge--c { --energy-label-color: #c8d300; }
.energy-label-badge--d { --energy-label-color: #ffed00; }
.energy-label-badge--e { --energy-label-color: #fbb900; }
.energy-label-badge--f { --energy-label-color: #ec6608; }
.energy-label-badge--g { --energy-label-color: #e30613; color: #fff; }

.ratio > .project-energy-label-overlay {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
}

.project-file-thumbnail-link {
    display: inline-flex;
    width: 64px;
    height: 48px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #f8f9fa;
}

.project-file-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:root {
    --fc-event-bg-color: #198754;
    --fc-event-border-color: #146c43;
    --fc-event-text-color: #ffffff;
}

.pagination-success.active > .page-link {
    background-color: #198754;
    border-color: #198754;
    color: #fff;
}

.pagination-success.active > .page-link:focus,
.pagination-success.active > .page-link:hover {
    background-color: #157347;
    border-color: #146c43;
    color: #fff;
}

.pagination .page-link {
    color: #212529;
}

.pagination .page-link:hover,
.pagination .page-link:focus {
    color: #212529;
}

.form-control::placeholder,
.form-control::-webkit-input-placeholder {
    color: #9aa0a6;
    opacity: 1;
}
