/* ===== PHOTO PREVIEW ===== */

.photo-upload-group {
    display: grid;
    gap: 10px;
}

.photo-upload-label {
    display: block;
    padding: 14px 16px;
    border: 1px dashed var(--line, rgba(198, 154, 74, 0.26));
    border-radius: var(--radius-md, 20px);
    background: var(--card-soft, rgba(255, 255, 255, 0.035));
    color: var(--text-soft, #C9BDA8);
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-upload-label:hover {
    border-color: var(--gold, #C69A4A);
    color: var(--gold-light, #E0B96A);
    background: rgba(198, 154, 74, 0.05);
}

.photo-upload-label input[type="file"] {
    display: none;
}

.photo-upload-hint {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-muted, #8F846F);
    letter-spacing: 0.05em;
}

.photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.preview-item {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line, rgba(198, 154, 74, 0.26));
    background: var(--card-soft, rgba(255, 255, 255, 0.035));
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.preview-item:hover {
    transform: scale(1.05);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.preview-remove:hover {
    background: rgba(200, 50, 50, 0.9);
    transform: scale(1.1);
}

@media (max-width: 520px) {
    .preview-item {
        width: 80px;
        height: 80px;
    }
}