/* Project thumbnail management for QNA staff, with vendor-only image display. */
.vendor-project-photo.has-photo{background:#dce9f1}
.vendor-project-photo .vendor-project-photo-image{
 position:absolute;inset:0;width:100%;height:100%;
 display:block;object-fit:cover;border-radius:inherit;z-index:0;
}
.vendor-project-photo.has-photo:before,
.vendor-project-photo.has-photo:after{display:none!important}
.vendor-project-photo.has-photo>span{z-index:2}
.bb-vendor-photo-modal{
 width:min(620px,95vw);max-width:95vw;max-height:90dvh;
 padding:0;border:1px solid #cadde6;border-radius:15px;
 box-shadow:0 26px 85px #0b284b68;
 color:#1a3b52;background:white;overflow:auto;
}
.bb-vendor-photo-modal::backdrop{background:#091f38a1;backdrop-filter:blur(2px)}
.bb-vendor-photo-modal *{box-sizing:border-box}
.bb-vendor-photo-heading{
 display:flex;align-items:flex-start;justify-content:space-between;
 padding:18px 22px;border-bottom:1px solid #dbe7ee;
 background:linear-gradient(120deg,#f2f8fc,#fff);gap:16px
}
.bb-vendor-photo-heading span{font-size:10px;letter-spacing:1.2px;font-weight:820;color:#217783}
.bb-vendor-photo-heading h2{margin:4px 0;color:#15344e;font-size:22px;letter-spacing:-.4px}
.bb-vendor-photo-heading p{margin:4px 0 0;color:#648197;font-size:12px}
.bb-vendor-photo-close{border:1px solid #d5e2ea;background:#fff;border-radius:8px;color:#526d84;width:32px;height:32px;font-size:22px;cursor:pointer;flex:none}
.bb-vendor-photo-body{padding:19px 22px}
.bb-vendor-photo-preview{
 display:flex;align-items:center;justify-content:center;
 width:100%;height:205px;max-height:30dvh;
 border-radius:11px;overflow:hidden;
 background:linear-gradient(160deg,#d9e9f3,#f1f7fb);border:1px solid #bfd5e2
}
.bb-vendor-photo-preview>img{height:100%;width:100%;object-fit:contain}
.bb-vendor-photo-placeholder{text-align:center;color:#688aa1}
.bb-vendor-photo-placeholder>span{display:block;font-size:42px;color:#6d9bbb}
.bb-vendor-photo-placeholder strong{display:block;font-size:14px;color:#315b78;margin:5px 0}
.bb-vendor-photo-placeholder small{font-size:11px}
.bb-vendor-photo-instructions{font-size:12px;color:#647f91;line-height:1.55;margin:14px 0}
.bb-vendor-photo-drop{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 border:2px dashed #96bdcf;background:#f6fafc;border-radius:11px;
 padding:18px;min-height:118px;text-align:center;cursor:pointer;gap:4px;
 transition:background .14s,border-color .14s
}
.bb-vendor-photo-drop.dragging,.bb-vendor-photo-drop:hover{background:#e7f5f7;border-color:#168f91}
.bb-vendor-photo-drop.is-disabled{opacity:.55;pointer-events:none}
.bb-vendor-photo-drop:focus-visible{outline:3px solid #0f8e8b;outline-offset:2px}
.bb-vendor-photo-drop-icon{font-size:26px;color:#21818a;line-height:1}
.bb-vendor-photo-drop strong{font-size:12px;color:#1c526c}
.bb-vendor-photo-drop small{font-size:11px;color:#668295}
.bb-vendor-photo-selected{font-size:11px;color:#28596c;margin:9px 0}
.bb-vendor-photo-status{font-size:12px;color:#297b83;line-height:1.5;min-height:17px}
.bb-vendor-photo-status.is-error{color:#a74738}
.bb-vendor-photo-footer{
 display:flex;justify-content:space-between;align-items:center;gap:12px;
 padding:14px 22px;background:#f7fafc;border-top:1px solid #e0e9ef;
}
.bb-vendor-photo-footer>div{display:flex;gap:9px}
.bb-vendor-photo-footer .btn{min-height:36px;font-size:12px}
.bb-vendor-photo-footer .bb-vendor-photo-remove{color:#ab463b;border-color:#e7ccc7}
.bb-vendor-photo-footer .btn:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:550px){
 .bb-vendor-photo-heading,.bb-vendor-photo-body,.bb-vendor-photo-footer{padding:14px}
 .bb-vendor-photo-preview{height:155px}
 .bb-vendor-photo-footer{flex-direction:column;align-items:stretch}
 .bb-vendor-photo-footer>div{justify-content:space-between}
 .bb-vendor-photo-footer .btn{flex:1}
}

.bb-card-photo-shortcut{
 display:flex;justify-content:space-between;align-items:center;gap:14px;
 border:1px solid #d4e6ed;border-radius:10px;
 background:#f3f8fb;padding:11px 13px;margin-top:12px;
}
.bb-card-photo-shortcut>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.bb-card-photo-shortcut strong{font-size:12px;color:#1b4960}
.bb-card-photo-shortcut small{font-size:11px;line-height:1.4;color:#607f92}
.bb-card-photo-shortcut .btn{white-space:nowrap}
@media(max-width:620px){.bb-card-photo-shortcut{flex-wrap:wrap}.bb-card-photo-shortcut .btn{width:100%}}

/* Click-to-expand photograph preview on invited vendor project cards. */
.vendor-project-photo.can-expand{
 cursor:zoom-in;
 transition:box-shadow .16s ease,transform .16s ease;
}
.vendor-project-photo.can-expand:hover{
 box-shadow:0 5px 17px #113b5e42;
 transform:translateY(-1px);
}
.vendor-project-photo.can-expand:focus-visible{
 outline:3px solid #168b9a;
 outline-offset:3px;
}
.vendor-project-photo .vendor-photo-zoom-badge{
 position:absolute;
 right:6px;bottom:6px;
 width:23px;height:23px;
 border-radius:6px;
 display:grid;place-items:center;
 color:white;background:#0c3049bd;
 border:1px solid #d5eaf582;
 font-size:16px;line-height:1;
 box-shadow:0 2px 6px #0a263648;
 pointer-events:none;z-index:3;
}
.bb-vendor-photo-lightbox{
 padding:0;
 border:1px solid #8299aa;
 border-radius:15px;
 background:#11293e;
 color:#f4f9fd;
 width:min(1080px,94vw);
 max-width:94vw;
 max-height:92dvh;
 overflow:hidden;
 box-shadow:0 24px 90px #031322b8;
}
.bb-vendor-photo-lightbox::backdrop{
 background:#03101dd1;
 backdrop-filter:blur(4px);
}
.bb-photo-lightbox-header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:15px;
 padding:13px 17px;
 background:linear-gradient(115deg,#183b56,#10273c);
 border-bottom:1px solid #527289;
}
.bb-photo-lightbox-header>div{
 min-width:0;
 display:flex;
 flex-direction:column;
 gap:2px;
}
.bb-photo-lightbox-header small{
 color:#a9cad9;
 font-size:9px;
 font-weight:800;
 letter-spacing:1.1px;
}
.bb-photo-lightbox-header strong{
 color:#fff;
 font-size:16px;
 line-height:1.25;
 overflow-wrap:anywhere;
}
.bb-photo-lightbox-header span{
 font-size:11px;
 color:#b3d1df;
}
.bb-photo-lightbox-close{
 display:grid;place-items:center;
 flex:none;
 width:34px;height:34px;
 padding:0;
 border-radius:8px;
 border:1px solid #7895aa;
 background:#284a62;
 color:#fff;
 font-size:25px;
 cursor:pointer;
}
.bb-photo-lightbox-close:hover{background:#396781}
.bb-photo-lightbox-close:focus-visible{outline:3px solid #49bfc8;outline-offset:2px}
.bb-photo-lightbox-image{
 display:flex;
 align-items:center;
 justify-content:center;
 min-height:180px;
 background:#091a28;
 padding:13px;
}
.bb-photo-lightbox-image img{
 display:block;
 width:auto;
 height:auto;
 max-width:100%;
 max-height:calc(92dvh - 112px);
 object-fit:contain;
 border-radius:5px;
}
@media(max-width:620px){
 .bb-vendor-photo-lightbox{width:96vw;max-width:96vw;max-height:94dvh}
 .bb-photo-lightbox-header{padding:10px 12px}
 .bb-photo-lightbox-header strong{font-size:13px}
 .bb-photo-lightbox-image{padding:7px;min-height:120px}
 .bb-photo-lightbox-image img{max-height:calc(94dvh - 96px)}
}
@media(prefers-reduced-motion:reduce){
 .vendor-project-photo.can-expand{transition:none}
 .vendor-project-photo.can-expand:hover{transform:none}
}
