/* (20261115_1655_우측사이드바_준비된사진목록_검증완료) */
/* ========================================================
   📸 [우측 사이드바] 사진 보관함 & 드롭존 (스크린샷 일치)
   ======================================================== */
.pb-sidebar-action-bar {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
}

.pb-btn-sidebar-green {
    flex: 1;
    padding: 7px 4px;
    font-size: 11.5px;
    font-weight: 800;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.pb-btn-sidebar-dark {
    flex: 1;
    padding: 7px 4px;
    font-size: 11.5px;
    font-weight: 800;
    background: rgba(30, 41, 59, 0.85);
    color: #6EE7B7;
    border: 1.5px solid rgba(16, 185, 129, 0.4);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.pb-sidebar-guide-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(30, 41, 59, 0.5) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    padding: 10px 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.pb-guide-title {
    font-size: 13.5px;
    font-weight: 900;
    color: #6EE7B7;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}

.pb-guide-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pb-guide-steps li {
    font-size: 12px;
    color: #E2E8F0;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.pb-guide-steps li .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10B981;
    color: #064E3B;
    font-weight: 900;
    font-size: 10.5px;
    flex-shrink: 0;
    margin-top: 1px;
}

.pb-active-photos-card {
    background: #111420;
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    padding: 10px 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.pb-active-photos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pb-active-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    min-height: 0;
    align-content: start;
    padding: 4px 0;
}

/* 준비된 사진 개별 카드 & 삭제 버튼 & 인덱스 뱃지 */
.pb-pending-photo-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    border: 1.5px solid #10B981;
    cursor: pointer;
    background: #000;
    transition: transform 0.15s ease, border-color 0.15s ease;
    box-sizing: border-box;
}

.pb-pending-photo-card:hover {
    transform: scale(1.03);
    border-color: #34D399;
}

.pb-pending-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: block;
}

.pb-pending-photo-badge {
    position: absolute;
    bottom: 2px;
    left: 2px;
    background: rgba(0, 0, 0, 0.85);
    color: #6EE7B7;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 3px;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    z-index: 2;
    border: 1px solid rgba(16, 185, 129, 0.45);
    pointer-events: none;
}

.pb-pending-delete-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.85);
    color: #FFF;
    border: none;
    font-size: 10px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    padding: 0;
    transition: background 0.15s, transform 0.15s;
}

.pb-pending-delete-btn:hover {
    background: #EF4444;
    transform: scale(1.1);
}

.pb-sidebar-dropzone {
    cursor: pointer;
    margin-top: 6px;
    padding: 14px 6px;
    border: 2px dashed #10B981;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.05);
    text-align: center;
    transition: all 0.25s ease;
}

.pb-sidebar-dropzone:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: #34D399;
}